[jboss-user] [JBoss Seam] - Re: Seam PDF iText generation ERROR

2007-01-31 Thread Giordacchio++
for your support. Giordacchio++ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4008867#4008867 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4008867 ___ jboss-user mailing list jboss

[jboss-user] [JBoss Seam] - Seam PDF iText generation ERROR

2007-01-30 Thread Giordacchio++
Hi! I'm trying to use iText PDF generation but when I access my simple pdf page (through a simple s:link): | p:document xmlns:ui=http://java.sun.com/jsf/facelets; | xmlns:s=http://jboss.com/products/seam/taglib; | xmlns:p=http://jboss.com/products/seam/pdf; |

[jboss-user] [JBoss Seam] - Problem with SelectItems !!

2007-01-12 Thread Giordacchio++
Hi, I'm having a problem implementig a multiple choice with a: selectManyListBox | h: selectManyListbox value=#{foo.selectedUsers} id=usersList | si electItems value=#{fooUsers} var=tt label=#{tt.username} | config=#{mySelectItemsConfig} / |

[jboss-user] [JBoss Seam] - Re: Problem with SelectItems !!

2007-01-12 Thread Giordacchio++
(sorry for my previous post) Hi, I'm having a problem implementing a multiple choice using a selectManyListbox: | h: selectManyListbox value=#{foo.selectedUsers} id=usersList | | si:selectItems value=#{fooUsers} var=tt label=#{tt.username} |

[jboss-user] [JBoss Seam] - Re: Problem with SelectItems !!

2007-01-12 Thread Giordacchio++
no details...only: validation error through a faces message. No errors found in log !! :-( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4000873#4000873 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4000873

[jboss-user] [JBoss Seam] - Re: Problem with SelectItems !!

2007-01-12 Thread Giordacchio++
(by the way we're using ICEFaces) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4000877#4000877 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4000877 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Problem with SelectItems !!

2007-01-12 Thread Giordacchio++
We have identified that the problem was caused by ICEfaces, without them all warks fine. Now we want to try to integrate again selectItems with ICEfaces using inside the view only tags like ice: insted of h:... as soon as we have some news we'll post it here. Bye ;-) View the

[jboss-user] [JBoss AOP] - Re: Hotswapping an interceptor to an EJB

2006-12-11 Thread Giordacchio++
Ok, I have compiled to source code obtaining the Aop jars but now my app. server doesn't intercept anymore.. When will be published a new version of AOP ? 1.5.3.GA ? or at least something compiled with all the jars versions (stand-alone and app. server integrated libraries) ?? Thank you

[jboss-user] [JBoss AOP] - Re: Hotswapping an interceptor to an EJB

2006-12-04 Thread Giordacchio++
Ok, I'm checking out this version from SVNI suppoose I'll have to compile it, isn't it ?? One question: after the compilation with ant I'll have to copy the jars into the jboss-aop-jdk50.deployer directory of my jboss AS ?? Thx :-) View the original post :

[jboss-user] [JBoss AOP] - Re: Hotswapping an interceptor to an EJB

2006-12-01 Thread Giordacchio++
Thx !! Where can I find the 1.5.x branches ? I tried on : http://anonsvn.jboss.org/repos/jbossas/projects but inside the directory branches I've found only version 2.0 alpha. I need intead a 1.5.x, possibly the 1.5.3. I've also tried with:

[jboss-user] [JBoss AOP] - Hotswapping an interceptor to an EJB

2006-11-30 Thread Giordacchio++
Hi ! I have a strange erroer when I try use hotswapping. I want to attach dinamically an interceptor to a method of an EJB. I have prepared the class that I want to intercept with this tag in my jboss-aop.xml: | prepare expr=all(it.webscience.atlasweb.controller.SessionManagerAction)/

[jboss-user] [JBoss AOP] - Re: Hotswapping an interceptor to an EJB

2006-11-30 Thread Giordacchio++
I forgot to post the code of my advice binding: | private AdviceBinding sessionbinding; | private String bindstring = | execution(*it.webscience.atlasweb.controller.SessionManagerAction-save(..)); | | sessionbinding = new AdviceBinding(bindstring, null); |

[jboss-user] [JBoss AOP] - Get bean context from an Aspect

2006-11-15 Thread Giordacchio++
Hi, I'm trying to get the context of a bean that I'm intercepting using an AOP aspect. I've tried to use InitialContext(); and lookup(..) but it doesn't work and it seems to be impossible to get the context of a bean inside the .jar archive from my aspect. The new InitialContext works

[jboss-user] [JNDI/Naming/Network] - Accessing Bean context

2006-11-15 Thread Giordacchio++
Hi, I'm trying to access the context of my beans that run inside Jboss from an AOP interceptor. AOP framework doesn't provide a method to access the context of the intercepted bean so I have to access the context using JNDI procedures. I've written the JNDI code to access a bean in my app

[jboss-user] [JBoss AOP] - How to access an EJB 3.0 from an Interceptor

2006-11-10 Thread Giordacchio++
Hi, I'm trying to access an EJB3 from an interceptor. My app is packaged and works correctly: the interceptor is called at the right time but if inside the interceptor I try to get, through injection, an EJB of my app I always get a null pointer instead the instance of my EJB. I use the @EJB

[jboss-user] [JBoss AOP] - Re: How to access an EJB 3.0 from an Interceptor

2006-11-10 Thread Giordacchio++
Hi, I'm now usign this code: | context = new InitialContext(); | System.out.println( my context name is + context.getNameInNamespace()); | login = (LoginAction) context.lookup(...my jndi string); | | ...but the name is empty !! and the lookup throws exception ! View the

[jboss-user] [JBoss AOP] - Re: .aop or .jar

2006-11-09 Thread Giordacchio++
Hi, Yesterday I've tried to insert my Aspect into the injaboss example and it workedbut now it doesn't work with the booking example. Any suggestion ? I have these errors: 09:42:15,650 ERROR [STDERR] [warn] Could not find class net.sf.cglib.asm.util.TraceClassVisitor that

[jboss-user] [JBoss AOP] - Re: .aop or .jar

2006-11-09 Thread Giordacchio++
SOLVED !! I've simply changed AS server from 4.0.4 to 4.0.5 !!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3984536#3984536 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3984536

[jboss-user] [JBoss AOP] - .aop or .jar

2006-11-08 Thread Giordacchio++
Just a question: It's mandatory to pack my aop files in an .aop file or I can put them into my Jar ?? Thx, Bye View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3984020#3984020 Reply to the post :

[jboss-user] [JBoss AOP] - Re: .aop or .jar

2006-11-08 Thread Giordacchio++
Ok thanks, I'm close to the solution. Now I'm sure that Jboss is trying to aspectize mi app, instead ignoring my aspects as before, indeed now I get the following error. Do you have hints ? 11:44:20,645 ERROR [STDERR] [error] ClassLoader has been garbage collected.. Do verbose mode if you

[jboss-user] [JBoss AOP] - Re: .aop or .jar

2006-11-08 Thread Giordacchio++
Done but I get again errors like the following: (thx you're so patient) | 12:17:29,370 ERROR [STDERR] [warn] Could not find class net.sf.cglib.asm.util.TraceClassVisitor that net.sf.cglib.core.DebuggingClassWriter$1 references. It may not be in your classpath and you may not be getting

[jboss-user] [JBoss AOP] - Re: .aop or .jar

2006-11-08 Thread Giordacchio++
No, the errors remain also following your correction about the Ignore attribute. Why I don't have any of these errors with injboss example that works fine? | 12:51:01,850 ERROR [STDERR] [warn] Could not find class net.sf.cglib.asm.util.TraceClassVisitor that

[jboss-user] [JBoss AOP] - Re: .aop or .jar

2006-11-08 Thread Giordacchio++
Also if I use the Ignore attribute I get these errors but the booking application works. So the main problem remains: my interceptor is totally ignored.. I don't know if it is a problem about my .ear package, or about something elseI have to do something in particular to intercept a

[jboss-user] [JBoss AOP] - Re: .aop or .jar

2006-11-08 Thread Giordacchio++
Yes I did ! application | display-nameSeam Booking/display-name | | module | javajboss-seam-booking.aop/java | /module | module | web | web-urijboss-seam-booking.war/web-uri |

[jboss-user] [JBoss AOP] - Re: I'm in trouble....help

2006-11-07 Thread Giordacchio++
Ok, modifying jboss-service.xml I got rid of many ERROR using this attribute: attribute name=Includeorg.jboss.test, org.jboss.injbossaop, org.jboss.seam.example.booking/attribute | attribute name=Excludeorg./attribute But again when I deploy the booking example I get a lot of error

[jboss-user] [JBoss AOP] - Re: I'm in trouble....help

2006-11-07 Thread Giordacchio++
Ehi thx for the help, checking my code following your hints I've corrected some things and I'm now able to deploy whitout any ERROR... Unfortunately the AOP doesn't work yet. Could be a problem of my ear structure ? the output is cleaner now and is the following (form the starting of the

[jboss-user] [JBoss AOP] - Re: I'm in trouble....help

2006-11-07 Thread Giordacchio++
I forgot.this is part of my jboss-service.xml: mbean code=org.jboss.aop.deployment.AspectManagerServiceJDK5 | name=jboss.aop:service=AspectManager | attribute name=EnableLoadtimeWeavingtrue/attribute | !-- only relevant when EnableLoadtimeWeaving is true. |

[jboss-user] [JBoss AOP] - Re: I'm in trouble....help

2006-11-07 Thread Giordacchio++
no wayit doesn't work modyfing application.xml The structure of my EAR: jboss-seam-booking.ear that contains 1-META-INF with application.xml, jboss-app-xml 2- jboss-seam-booking.jar that contains 2.1-META-INF with ejb-jar.xml, persistence.xml

[jboss-user] [JBoss AOP] - I'm in trouble....help

2006-11-06 Thread Giordacchio++
Hi, I'm trying to use Jboss AOP within Jboss AS. I've already tried to deploy the Booking example of Jboss seam (and it works) and the Inboss example of Jboss AOP (and it works too). Now I've written an annotation bound to intercept a login method inside the Booking app. the annotation

[jboss-user] [JBoss AOP] - JBoss AOP- Compile vs LoadTime vs Hotswap

2006-10-25 Thread Giordacchio++
Hi, I'm a newbie about Jboss AOP and I've read both the User Guide and the Reference Guide to JBoss AOP but there's something that I've not yet understood. It's not enough clear for me the pratical difference between: -Compile Time weaving -Load Time weaving -Hot Swapping When I should use