Re: [JBoss-user] JBoss3.2.3 - AOP or javassist

2004-02-20 Thread Giovanni Formenti
I'm sorry... just an italian how-to... :( Maybe u can recognise the code part... :) I hope this can help u...   Gio   In JBoss 3.2.x si possono mettere degli interceptor che intercettano la chiamata ai metodi degli EJB. Per ottenere questo: Creare una classe di interceptor:import org.j

Re: [JBoss-user] JBoss3.2.3 - AOP or javassist

2004-02-20 Thread Giovanni Formenti
U can't use AOP with 3.2.3 but u can use Interceptors. With AOP u can perform a complite aspect oriented programmation, with Jboss3.2.3 Intercetor u can intercept calls only to ur ejbs' methods. I think this is enough for you... Gio > -Messaggio originale- > Da: [EMAIL PROTECTED] > [mailt

Re: [JBoss-user] customizing JBoss config. and footprint (newbie question)

2004-02-18 Thread Giovanni Formenti
> -Messaggio originale- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] conto di Nick Faiz > Inviato: mercoledì 18 febbraio 2004 3.11 > A: '[EMAIL PROTECTED]' > Oggetto: [JBoss-user] customizing JBoss config. and footprint (newbie > question) > > > Hi, > Can someone point me to a

Re: [JBoss-user] Webservice deployment in ear

2004-02-11 Thread Giovanni Formenti
Hi, i can give u some link to JBoss.Net resources, some of this to create web-service.xml via XDoclet (I found this great!): http://www.jboss.org/developers/guides/jboss.net/xdoclet http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-He lloWorld.shtml http://www.csd.abdn.ac.uk

Re: [JBoss-user] log4j DEBUG

2004-02-10 Thread Giovanni Formenti
Hi! To log only my classes activity on the console at DEBUG level I put in the conf/log4j.xml: and Finally in the classes that I need to log: final static Logger log = Logger.getLogger(myclass.class); So i can log "it.mycompany" package and its sub-p

Re: [JBoss-user] [JBoss.NET & SOAP] - JBossNET: method with argument

2004-02-06 Thread Giovanni Formenti
Yes... all the setup of WS is right... I deployed the EAR in a "default.net" server (a "default" server with the jboss-net.sar) because i don't want to load all the services of "all" server. Today I try the deploy in the "all" directory and it seems to work... maybe i need to put some JAR to the "d

[JBoss-user] Jboss.Net

2004-02-05 Thread Giovanni Formenti
Hallo! I write a session bean exposed as a web service with JBoss.NET and XDoclet... If i try to call a test() method (it return a String) all is right! But if I try to call a method with a String parameter like test2(String test) it doesn't work! :( The error is: java.lang.NoClassDefFoundError

[JBoss-user] Interceptor!

2004-01-16 Thread Giovanni Formenti
Hi, thanks to your help now I can work with EJB-Intercetors in JBoss 3.2.3... But I have one more question... it's possible to get the target object from within the interceptor like targetObject in JBoss4's AOP?! Just like this: public Object invoke(Invocation arg0) throws Exception { Obj

R: [JBoss-user] Tips for development environment with JBoss

2004-01-15 Thread Giovanni Formenti
We are using Lomboz (from Objectlearn), an Eclipse's plugin. It seems very good for deploy and env management... I'm also interested to some JBoss dev tips! Gio > -Messaggio originale- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] conto di Francisco > Figueiredo Jr. > Inviato: giove

R: [JBoss-user] Where to put an Interceptor class?

2004-01-09 Thread Giovanni Formenti
0.75 > > > > 100 > > > > and then just specify the container configuration name in your > jboss.xml file, and get rid of the inteceptor > definitions. ie: just have this line: > > Try > &g

Re: [JBoss-user] Where to put an Interceptor class?

2004-01-09 Thread Giovanni Formenti
I readed this doc but I can't understand clearly how to do! I made the following steps: 1) Write a class that extends AbstractInterceptor and implements the invoke method: public Object invoke(Invocation invocation) throws Exception { Object lRet; System.out.

R: [JBoss-user] Where to put an Interceptor class?

2004-01-07 Thread Giovanni Formenti
Sorry... but JBoss 3.2 can use interceptor? How?! I'm very interesting about this! Gio > -Messaggio originale- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] conto di Bill Burke > Inviato: mercoledi 7 gennaio 2004 17.28 > A: [EMAIL PROTECTED] > Oggetto: Re: [JBoss-user] Where to put a

R: [JBoss-user] Where to put an Interceptor class?

2004-01-07 Thread Giovanni Formenti
I send to u an old answer to this question: > 1) Put a foobar-aop.xml file within the /deploy directory. By "foobar", > I mean any filename > > 2) Modify conf/base-aop.xml and add stuff there > > 3) Or, create a foobar.aop archive. An AOP archive is a JAR, but in the > META-INF directory there s

[JBoss-user] Jboss3 and AOP

2003-12-23 Thread Giovanni Formenti
Hallo! It's possible to use AOP framework in JBoss 3.2.3? How?! Thanx for any answer! Gio --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials

R: [JBoss-user] Tell Jboss to create INNODB tables (was: Session/Entity Bean Transaction Rollback)

2003-12-23 Thread Giovanni Formenti
Hallo, u can put the line: default-table-type=innodb in the [mysqld] section of ur mysql configuration file. In this way every CREATE TABLE statement creates an InnoDB table by default. Gio > -Messaggio originale- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] conto di > [EMAIL PROTE

R: [JBoss-user] JBoss 3.2.2 SSL

2003-12-12 Thread Giovanni Formenti
ks once JBoss starts!! > > Please advise!? (;) > > > Kind Regards, > > Hugh O'Donnell > Director > www.blueTanso.com > tel: 01475 806827 > fax: 01475 807107 > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Beh

Re: [JBoss-user] JBoss 3.2.2 SSL

2003-12-12 Thread Giovanni Formenti
Hallo, I use JBoss4+JBossWeb (Tomcat) with: I hope it can help you... Gio > -Messaggio originale- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] conto di Hugh > O'Donnell > Inviato: venerdì 12 dicembre 2003 16.16 > A: [EMAIL PROTECTED] > Oggetto: [JBoss-user] JBoss 3.2.2 SSL >

R: [JBoss-user] Nukes forums are live on www.jboss.org

2003-12-11 Thread Giovanni Formenti
Hi, I have a problem with the function "search" of the forum... maybe a bug?! When I make a search and I want to see the "page 2" of the search results a "No topics or posts met your search criteria" page will appear... Gio > -Messaggio originale- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL

[JBoss-user] Redeploy a WAR

2003-12-05 Thread Giovanni Formenti
Hallo, I fix my web security but I have one more problem! :( With JBoss4DR2 i delpoy an EAR with JAR,WAR and WSR inside. When I redeploy it I receive a "addChild: Child name '/aaa' is not unique" message; it seems that JBoss can't stop the webapp context! If I restart Jboss, all are right! Any i

R: [JBoss-user] Web security & 403

2003-12-05 Thread Giovanni Formenti
Yes... the problem was this!!! :) Thanx a lot! Gio > -Messaggio originale- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] conto di Adrian Brock > Inviato: venerdì 5 dicembre 2003 12.49 > A: [EMAIL PROTECTED] > Oggetto: Re: [JBoss-user] Web security & 403 > > > It is impossible to te

[JBoss-user] Web security & 403

2003-12-04 Thread Giovanni Formenti
Hi! I'd like to create a war with some security constraints! I modify login-config.xml and I create the database's tables: java:/MySqlDS SELECT PASSWORD FROM PRINCIPALS WHERE PRINCIPAL_ID=? SELECT ROLE,ROLEGROUP FROM ROLES WHERE PRINCIPAL_ID=? I create jboss-web.xml: java:/jaas/dafne And

[JBoss-user] Taglib!

2003-11-27 Thread Giovanni Formenti
Hallo! I put a war that i used in tomcat under the deploy directory of tomcat and i get an error: "Exception initializing TldLocationsCache: Illegal class loader binding" And then: 12:01:20,484 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception javax.serv

[JBoss-user] AOP in JBoss4DR2

2003-11-20 Thread Giovanni Formenti
Hallo! I try an example for AOP in my JBoss4 env. (http://www.madplanet.com/jboss-docu-wiki/Wiki.jsp?page=40.AOP.Simple.Exampl e) It doesn't work! I create jboss-aop.xml in the META-INF dir, i create the interceptor and an EJB that call a POJO class. Nobody have any idea why it doesn't work?! I nee

[JBoss-user] WSR & delpoy

2003-11-04 Thread Giovanni Formenti
Hallo! I developed an EAR with a WSR. The web services are only interfaces to my session bean... all it work good! But when i modify and redeploy the ear JBoss says to me something like: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultStri

[JBoss-user] Application configuration

2003-11-04 Thread Giovanni Formenti
Hallo! I'm developing an application that have a Session Bean that execute some operations on a db. I'd like to write some configuration elements in a xml files and load them at startup (when JBoss is started) and put them in a storage class (simply a javabean). The Session EJB must access this cla

Re: [JBoss-user] Looking for article on JBoss/Web Services/Axis

2003-10-28 Thread Giovanni Formenti
Just some links: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-He lloWorld.shtml http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-EJ B-example.shtml http://www.nsdev.org/jboss/stories/jboss-net.html I'm searching too something about Web service

[JBoss-user] Define a new context

2003-10-20 Thread Giovanni Formenti
I use JBoss 4+Tomcat. How can i create a new context?! Like add "Context" in the tomcat-standalone's "server.xml" file! This because i want to add a webapp that is in "c:\mywebapp\". Can anyone help me? Thanx Gio --- This SF.net email sponsore