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.jboss.ejb.plugins.AbstractInterceptor;import 
  org.jboss.invocation.Invocation;public 
  class MyInterceptor extends AbstractInterceptor {  
  public Object invoke(Invocation arg0) throws Exception {    
  Object lRet;    
  Codice da eseguire prima della chiamata al metodo    
  lRet=getNext().invoke(arg0);    
  Codice da eseguire dopo la chiamata al metodo    
  return lRet;  
  }}
  Aprire 
  conf/standarsjboss.xml e cercare la configurazione dell’EJB che si vuole 
  intercettare, ad esempio “Standard 
  Stateful SessionBean” oppure “Standard 
  Stateless SessionBean” e copiare la sezione “container-interceptor”.
  Editare 
  jboss.xml dell’applicazione ed aggiungere prima di “” 
  le linee:1 
  2    extends="Standard 
  Stateful SessionBean">3 MyConfig4      5    
  it.package.MyInterceptor6    Elenco 
  copiato al punto 27 8   9 Alla 
  riga 2 mettere il nome della configurazione che si vuole estendere ossia il 
  tipo di EJB a cui si vuole assegnare l’interceptor, alla riga 3 mettere il 
  nome della nuova configurazione, alla riga 5 mettere il proprio interceptor 
  (così facendo sarà il primo eseguito), alla riga 6 mettere l’elenco degli 
  interceptor standard presenti in conf/standardjboss.xml.
  Aggiungere 
  in jboss.xml, nella descrizione del bean relativo, la linea:MyConfigdove 
  MyConfig è il nome dato alla configurazione.
Con i passi 3 e 4 si 
riportano gli interceptor di default sul nuovo bean aggiungendo il nuovo 
interceptor.
> -Messaggio originale-> Da: 
[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED]]Per 
conto di Heinz-Dieter> Conradi> Inviato: venerdi 20 febbraio 2004 
14.34> A: [EMAIL PROTECTED]> Oggetto: Re: 
[JBoss-user] JBoss3.2.3 - AOP or javassist > 
> i would like to perform some general operations for most of the 
calls> > > coming to my facade session beans. instead of coding 
this for> > > every method> > > in every facade, i 
would like to use aop like techniques.> > >> > > as 
far as i know, one cannot use JBossAOP with JBoss-3.2.3 (i guess> > 
> because of Classloader problems). is this true?>> > 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...>> i guess you are right. do you have a 
simple example of how to create and> use such an 
interceptor?>> thanks, 
heinz-dieter 
---> SF.Net is 
sponsored by: Speed Start Your Linux Apps Now.> Build and deploy apps 
& Web services for Linux with> a free DVD software kit from IBM. 
Click Now!> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click> 
___> JBoss-user mailing 
list> [EMAIL PROTECTED]> https://lists.sourceforge.net/lists/listinfo/jboss-user 



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]
> [mailto:[EMAIL PROTECTED] conto di Heinz-Dieter
> Conradi
> Inviato: venerdi 20 febbraio 2004 13.59
> A: [EMAIL PROTECTED]
> Oggetto: [JBoss-user] JBoss3.2.3 - AOP or javassist
>
>
> i would like to perform some general operations for most of the calls
> coming to my facade session beans. instead of coding this for
> every method
> in every facade, i would like to use aop like techniques.
>
> as far as i know, one cannot use JBossAOP with JBoss-3.2.3 (i guess
> because of Classloader problems). is this true?
>
> And what about using javassist (or similar libraries as CGLib)? at least a
> simple approach cannot work, since the EJB container itself provides proxy
> classes for the classes i am interested in. are there ways around this?
>
> tia, heinz-dieter conradi
>
>
>
> ---
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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 starting place for learning about how to
> configure JBoss modules? As I understand it, I can strip out whatever

Here some point to start with JBoss:
http://www.madplanet.com/jboss-docu-wiki/Wiki.jsp?page=JBoss.Docu.Home
http://www.huihoo.org/jboss/jboss.html
http://www.madplanet.com/jboss.tea
http://webdev.apl.jhu.edu/~jcs/corej2ee.spring03/deploy/doc/book/public/02_J
2EE_Application_Components.pdf


> functionality I don't want within the JBoss server; for example,
> I may want
> JMS without a Servlet Container?

U can with hot deploy (and undeploy too) delete services or applications
from within the server\default\deploy; u must simply delete the .sar, .ear,
.war or .jar file or directory.

Gio



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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/~bscharla/teaching/mtp_software/jboss/jboss-net-EJ
B-example.shtml
http://www.nsdev.org/jboss/stories/jboss-net.html
http://www.tusc.com.au./tutorial/html/chap9.html

Gio

-Messaggio originale-
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] conto di Johannes Plachy
Inviato: mercoledi 11 febbraio 2004 11.37
A: [EMAIL PROTECTED]
Oggetto: [JBoss-user] Webservice deployment in ear



Hi,

I want to deploy a webservice under JBoss 3.2.2 based on a stateless session
bean.
This webservice should be packaged inside a wsr and packaged together with
the ejb.jar and a war as app.ear.

what do I need to package inside the wsr beside the client-side EJB jar and
the axis deploymentdescriptor ( web-service.xml)
what do I have to specify in the ear deployment descriptor ?

any help would be greatly appreciated
Johannes



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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-package...

I hope this can help you...

Gio

> -Messaggio originale-
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] conto di Scott M
> Stark
> Inviato: martedi 10 febbraio 2004 16.18
> A: [EMAIL PROTECTED]
> Oggetto: RE: [JBoss-user] log4j DEBUG
>
>
> That is the correct way to enable debug for a category. You have to
> remove any INFO threshold
> on the category in order for these messages to show up.
>
>
> 
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> 
>
>
>
> 
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Eric J
> Kaplan
> Sent: Tuesday, February 10, 2004 6:50 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] log4j DEBUG
>
>
>
> Any ideas? I've trolled the forums with no answers. I can turn on DEBUG
> for everything on the CONSOLE appender (and I see the debug messages for
> the bean below), but how do I do for a single class. We use the
> log4j.properties file for our client and it works like a charm. I
> figured the xml configuration would be similar, and I'm surprised what I
> have below doesn't work. It's hard for us to support our users without
> being able to individually turn on logging. I'm sure I'm doing something
> silly.
>
>
>



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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 "default.net/lib" directoy.
Any idea about the missing JARs?

Gio

> -Messaggio originale-
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] conto di Bruce
> Scharlau
> Inviato: venerdi 6 febbraio 2004 10.48
> A: [EMAIL PROTECTED]
> Oggetto: Re: [JBoss-user] [JBoss.NET & SOAP] - JBossNET: method with
> argument
>
>
> formenti wrote:
>
> > View the original post :
> http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820343#3820343
> >
> > Reply to the post :
> http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820343
> >
> > 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
> >



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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
at
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:326)
at
org.apache.axis.encoding.DeserializationContextImpl.startElement(Deserializa
tionContextImpl.java:963)
at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)
at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:
722)
at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:233)

Any idea?!

Gio



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 {
Object lRet;

//Here I want to manipulate the target object!!

lRet=getNext().invoke(arg0);
return lRet;
}

Any idea?!
Thanx

Gio



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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: giovedi 15 gennaio 2004 16.53
> A: [EMAIL PROTECTED]
> Oggetto: [JBoss-user] Tips for development environment with JBoss
>
>
>
>
> Hi all.
>
> I'd like to know some tips you have to development with JBOSS.
>
> Here at my job, we are using Eclipse as IDE and JBOSS IDE to help in
> debugging.
>
> I'd like to know what else I could use to help in the development with
> JBoss. I mean, we are having to do a full deploy of ear to update code
> as sometimes the hot code replace can't be done by jboss ide. We would
> like to have some configuratio tip or procedure which could allow us to
> be able to update the code without have to do a full deploy. Something
> like the Tomcat plugin which allows me to update the code and already
> handle the reload of classes.
>
> Could you share your experiences and development environment setups so I
> could get some ideas to use here at my job?
>
> We are using JBOSS 3.2.3 and Eclipse 2.1.2.
>
> Thanks in advance.
>
> Regards,
>
> Francisco Figueiredo Jr.
>
>
>
>
> ---
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-01-09 Thread Giovanni Formenti
Duplicating the whole  it works!! thanks!
But there isn't a way to simply adding an interceptor to the chain? This
because if there is some standardjboss.xml change it will be not reflected
for the session bean "intercepted"...

Gio

> -Messaggio originale-
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] conto di Jae Gangemi
> Inviato: venerdi 9 gennaio 2004 15.04
> A: [EMAIL PROTECTED]
> Oggetto: RE: [JBoss-user] Where to put an Interceptor class?
>
>
>
>   have you tried duplicating the entire Standard Stateful SessionBean
> configuration all over again
> in the standardjboss.xml file instead of extending it in your jboss.xml
> file, adding the interceptor to
> the stack and changing the configuration name? i have successfully
> created interceptors and had them invoked
> using this method.
>
>i'm pretty sure that you can't extend the interceptor stack like
> that, and you actually need to
> recreate all the entries.
>
>   try adding this to your standardjboss.xml file:
>
>   
>  Try
>  false
>
> stateful-rmi-invoker name>
>  
>
> org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor eptor>
>
> org.jboss.ejb.plugins.LogInterceptor
>
>   
>   com.xxx.TryInterceptor
>
> 
>  transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT tor>
>  metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor tor>
>  transaction="Container">org.jboss.ejb.plugins.StatefulSessionInstanceInt
> erceptor
> 
>  transaction="Bean">org.jboss.ejb.plugins.StatefulSessionInstanceIntercep
> tor
>  transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT
>  metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor tor>
>
> org.jboss.resource.connectionmanager.CachedConnectionInterc
> eptor
>
> org.jboss.ejb.plugins.SecurityInterceptor
>  
>
> org.jboss.ejb.plugins.StatefulSessionInstanceCache ance-cache>
>
> org.jboss.ejb.plugins.StatefulSessionFilePersistenc
> eManager
>  
>
> org.jboss.ejb.plugins.LRUStatefulContextCachePolicy -policy>
> 
>50
>100
>1800
>1800
>300
>600
>400
>60
>1
>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
>
>
>   i have a very simple working prototype of both a client and server
> side interceptor working w/ a stateless
> session bean (the idea is the same for a stateful) that i could send you
> if you're still unable to get things
> working.
>
> -jae
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Giovanni
> Formenti
> Sent: Friday, January 09, 2004 4:50 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Where to put an Interceptor class?
>
>
> 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.println("LOG!!");
>   lRet=getNext().invoke(invocation);
>   return lRet;
>   }
> 2) Modify jboss.xml with a configuration:
>
>   
>   Try
>   
>
> com.xxx.TryInterceptor
>   
>   
>
>
>   and a stateful session bean with that configuration:
>   
>  Application
>  ApplicationBean
>  ApplicationLocal
>  Try
>   
>
> It don't works! What i miss? I really appreciate any suggestion... Thanx
>
> > -Messaggio originale-
> > Da: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] conto di Sacha
> > Labourey
> > Inviato: mercoledi 7 gennaio 2004 17.39
> > A: [EMAIL PROTECTED]
> > Oggetto: RE: [JBoss-user] Where to put an Interceptor class?
> >
> >
> > > Sorry... but JBoss 3.2 can use interceptor? How?! I'm very
> > > interesting about this!
> >
> > It is possible since JBoss 2.0.
> &

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.println("LOG!!");
lRet=getNext().invoke(invocation);
return lRet;
  }
2) Modify jboss.xml with a configuration:
   

Try

com.xxx.TryInterceptor


   

  and a stateful session bean with that configuration:
  
 Application
 ApplicationBean
 ApplicationLocal
 Try
  

It don't works! What i miss? I really appreciate any suggestion...
Thanx

> -Messaggio originale-
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] conto di Sacha
> Labourey
> Inviato: mercoledi 7 gennaio 2004 17.39
> A: [EMAIL PROTECTED]
> Oggetto: RE: [JBoss-user] Where to put an Interceptor class?
>
>
> > Sorry... but JBoss 3.2 can use interceptor? How?! I'm very
> > interesting about
> > this!
>
> It is possible since JBoss 2.0.
>
> Take a look at conf/standardjboss.xml and the documentation, it
> shows how to
> write your own JBoss.xml file which includes such a stack definition.
>
> Cheers
>
>
> sacha
>
>
>
> ---
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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 an Interceptor class?
>
>
> JBoss 3.2 already retries ApplicationDeadlockExceptions.  I am currently
> expanding the transaction interceptor to except a list of exception
> handlers that can decide whether or not to retry a transaction.
>
> You can define your own container configurations within a jboss.xml so
> your EAR requirement will work.  Look in conf/standardjboss.xml for
> examples.
>
> Bill
>
> Jonathan.O'[EMAIL PROTECTED] wrote:
>
> > Hi,
> > We're just about to write our first interceptor (to retry deadlocked
> > methods), and we can't find the docs where to have the class loaded.
> > The best would be to have it in a jar in our EAR. Is that
> possible? Also,
> > can we keep delare our own interceptor stack for our beans in this EAR
> > too?
> > Thanks,
> > Jonathan O'Connor
> > XCOM Dublin
> >
> >
> > ---
> > This SF.net email is sponsored by: Perforce Software.
> > Perforce is the Fast Software Configuration Management System offering
> > advanced branching capabilities and atomic changes on 50+ platforms.
> > Free Eval! http://www.perforce.com/perforce/loadprog.html
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
> --
> 
> Bill Burke
> Chief Architect
> JBoss Group LLC.
> 
>
>
>
>
> ---
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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 should be a jboss-aop.xml file.
>
> http://www.jboss.org/index.html?module=html&op=userdisplay&id=deve
> lopers/projects/jboss/aop#packaging

I hope this help u!
Gio


> -Messaggio originale-
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] conto di
> Jonathan.O'[EMAIL PROTECTED]
> Inviato: mercoledi 7 gennaio 2004 17.18
> A: [EMAIL PROTECTED]
> Oggetto: [JBoss-user] Where to put an Interceptor class?
>
>
> Hi,
> We're just about to write our first interceptor (to retry deadlocked
> methods), and we can't find the docs where to have the class loaded.
> The best would be to have it in a jar in our EAR. Is that possible? Also,
> can we keep delare our own interceptor stack for our beans in this EAR
> too?
> Thanks,
> Jonathan O'Connor
> XCOM Dublin
>
>
> ---
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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 PROTECTED]
> Inviato: martedì 23 dicembre 2003 8.42
> A: [EMAIL PROTECTED]
> Oggetto: [JBoss-user] Tell Jboss to create INNODB tables (was:
> Session/Entity Bean Transaction Rollback)
>
>
> Adrian,
>
> thanks for the link, this was exactly what I needed.
> Sometimes you dont need many words to explain something :-)
>
> One more question: Where can I tell Jboss to
> create tables with TYPE=INNODB ?
>
> btw: I bought the JBoss dokumentation, but this
> mailing list is far more helpfull for Jboss users.
> Here comes a big "thank you" to all people here helping out
> others !
>
> Regards,
>
> Stefan
>
> >> http://www.mysql.com/doc/en/InnoDB.html
> >>
> >> Regards,
> >> Adrian
> >>
> >> On Mon, 2003-12-22 at 15:22, [EMAIL PROTECTED] wrote:
> >> > Hi,
> >> >
> >> > I forgot something,
> >> > I am not shure if this is important: Im am using mySQL
> >> > as RDBMS. The Datasource is configured as follows:
> >> >
> >> >
> >> > 
> >> >  
> >> > mySQL_partnerMgmt
> >> >
> jdbc:mysql://localhost/partnerMgmt
> >> > org.gjt.mm.mysql.Driver
> >> > root
> >> > 
> >> >   
> >> > 
> >> >
> >> >
> >> > > Hi,
> >> > >
> >> > > I have a sessionbean (stateless), that provides a
> >> > > method to create some entitys. If the creation of one
> >> > > Entity fails, I want do rollback all creations, there
> >> > > should be one or all entitys in the DB. I tried to
> >> > > set transaction type="required" on the method and I
> >> > > throw EJB Exceptions if something goes wrong, but after
> >> > > the method fails, there are still some entitys left.
> >> > >
> >> > > Is there a way to tell JBoss to delete all entitys
> >> > > created in the method if the creation of one fails ?
> >> > >
> >> > > The method looks like this (not actual code :-)
> >> > >
> >> > > createXXX(){
> >> > >  entityHome.create(1);
> >> > >  entityHome.create(2);
> >> > >  entityHome.create(3);
> >> > >  return;
> >> > > }
> >> > >
> >> > > If create(3) failes, I dont want to have 1 and 2 in my database.
> >> > >
> >> > > Thanks a lot in advance,
> >> > >
> >> > > Stefan
> >> > >
> >> > >
> >> > > ---
> >> > > 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.  Learn everything from the bash shell to sys
> >> admin.
> >> > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> >> > > ___
> >> > > JBoss-user mailing list
> >> > > [EMAIL PROTECTED]
> >> > > https://lists.sourceforge.net/lists/listinfo/jboss-user
> >> > >
> >> >
> >> >
> >> >
> >> > ---
> >> > 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.  Learn everything from the bash shell to sys
> >> admin.
> >> > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> >> > ___
> >> > JBoss-user mailing list
> >> > [EMAIL PROTECTED]
> >> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > --
> > 
> > Adrian Brock
> > Director of Support
> > Back Office
> > JBoss Group, LLC
> > 
> >
> >
> >
> > ---
> > 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.  Learn everything from the bash shell to
> sys admin.
> > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
>
>
> ---
> 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.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



---
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.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id

R: [JBoss-user] JBoss 3.2.2 SSL

2003-12-12 Thread Giovanni Formenti
Can help you this?
http://www.nsdev.org/jboss/stories/jboss-ssl.html

Gio

> -Messaggio originale-
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] conto di Hugh
> O'Donnell
> Inviato: venerdì 12 dicembre 2003 17.46
> A: [EMAIL PROTECTED]
> Oggetto: RE: [JBoss-user] JBoss 3.2.2 SSL
>
>
> Hi
>
> No.
>
> I have roughly the same config as you do.
>
> I note from a related posting to the jboss 'mail archive' that
> one user is told to ignore the exceptions.  Fine.  However,
> neither HTTPS or
> HTTP
> works 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] Behalf Of Giovanni
> Formenti
> Sent: 12 December 2003 15:18
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] JBoss 3.2.2 SSL
>
>
> Hallo,
> I use JBoss4+JBossWeb (Tomcat) with:
>
> port="8443" enableLookups="true"
>scheme="https" secure="true" debug="0"
>useURIValidationHack="false" disableUploadTimeout="true">
>   keystoreFile="c:\server.jks" keystorePass="changeit"
>clientAuth="false" protocol="TLS"/>
> 
>
> 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
> >
> >
> > Hi All,
> >
> > Trying to implement SSL in JBoss3.2.2 (Tomcat 41 on Win2K) with the
> > following exception being thrown
> > during startup:
> >
> > "Error loading SSL Implementation
> > org.apache.tomcat.util.net.puretls.PureTLSImplementation"
> >
> > My jboss-service.xml contains:
> >
> > Connector className = "org.apache.coyote.tomcat4.CoyoteConnector"
> >  address="${jboss.bind.address}" port = "8443" scheme =
> > "https" secure = "true">
> >   > "org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
> >
> > keystoreFile="${jboss.server.home.dir}/conf/blueDAIS.jks"
> >keystorePass="rmi+ssl"
> >clientAuth="false"
> >protocol = "TLS"/>
> >
> >
> > Help would be greatly appreciated!! (;)
> >
> >
> > Kind Regards,
> >
> > Hugh O'Donnell
> > Director
> > www.blueTanso.com
> > tel: 01475 806827
> > fax: 01475 807107
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.547 / Virus Database: 340 - Release Date: 02/12/2003
> >
> >
> >
> > ---
> > 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.  Learn everything from the bash shell to
> sys admin.
> > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
> ---
> 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.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.547 / Virus Database: 340 - Release Date: 02/12/2003
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.547 / Virus Database: 340 - Release Date: 02/12/2003
>
>
>
> ---
> 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.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



---
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.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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
>
>
> Hi All,
>
> Trying to implement SSL in JBoss3.2.2 (Tomcat 41 on Win2K) with the
> following exception being thrown
> during startup:
>
> "Error loading SSL Implementation
> org.apache.tomcat.util.net.puretls.PureTLSImplementation"
>
> My jboss-service.xml contains:
>
> Connector className = "org.apache.coyote.tomcat4.CoyoteConnector"
>  address="${jboss.bind.address}" port = "8443" scheme =
> "https" secure = "true">
>   "org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
>
> keystoreFile="${jboss.server.home.dir}/conf/blueDAIS.jks"
>keystorePass="rmi+ssl"
>  clientAuth="false"
>protocol = "TLS"/>
>
>
> Help would be greatly appreciated!! (;)
>
>
> Kind Regards,
>
> Hugh O'Donnell
> Director
> www.blueTanso.com
> tel: 01475 806827
> fax: 01475 807107
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.547 / Virus Database: 340 - Release Date: 02/12/2003
>
>
>
> ---
> 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.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



---
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.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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 PROTECTED] conto di Bill Burke
> Inviato: mercoledi 10 dicembre 2003 18.24
> A: JBoss 2; Jboss-Dev
> Oggetto: [JBoss-user] Nukes forums are live on www.jboss.org
>
>
> Can you all bang on it?  Julien did a bunch of testing before hand and
> it seems to be working pretty good so far.
>
> Kudos to Julien's hard work.  It looks pretty nice and is pretty fast.
>
> Bill
>
>
>
> ---
> 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.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



---
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.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 idea?!
Can you make a WAR redeploy while JBoss is running? How can I stop or remove
a context?

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.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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 tell without your data,
> which I doubt you want to post.
>
> Most likely, the value of ROLEGROUP in the db
> is not "Roles".
> If you are not interested in other types of roles,
> you can just write your query:
> SELECT ROLE, 'Roles' FROM ROLES WHERE PRINCIPAL_ID=?
>
> Regards,
> Adrian
>



---
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.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 finally I put the web constraints:


Protected
/index.jsp
POST
GET


admin


NONE



BASIC
default


admin


The authantication works good:
xxx.xxx.xxx.xxx - admin [04/Dec/2003:18:28:16 1000] "GET /aaa/index.jsp
HTTP/1.1" 403 839
but a 403 will appear:
Access to the specified resource (Access to the requested resource has been
denied) has been forbidden

Maybe JBoss can't bound username with role...
Why this don't work!? What I miss?!
Help me please!!!

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.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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.servlet.ServletException
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.jboss.web.catalina.security.JBossSecurityMgrRealm.invoke(JBossSecurityMg
rRealm.java:236)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.jboss.web.catalina.statistics.ContainerStatsValve.invoke(ContainerStatsV
alve.java:75)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:392)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619)
at java.lang.Thread.run(Thread.java:536)
12:01:20,484 ERROR [Engine] - Root Cause -
java.lang.OutOfMemoryError

I try also with the application-example of Apache JSTL but it happens the
same!!

How can I use taglibs under JBoss? Where I mistake?

Thanx for any help!
Giovanni



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 need some other configuration item?
Thanx for any answer!

Gio



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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:
faultString: Tried to invoke method public java.util.Map
[...].resolve(java.lang.String) with arguments java.lang.String. The
arguments do not match the signature.; nested exception is:
java.lang.IllegalArgumentException: object is not an instance of declaring
class
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: Tried to invoke method public java.util.Map
[...].resolve(java.lang.String) with arguments java.lang.String. The
arguments do not match the signature.; nested exception is:
java.lang.IllegalArgumentException: object is not an instance of declaring
class
faultActor:
faultNode:
faultDetail:

Maybe "object is not an instance of declaring class" i said... but i restart
jboss and all works great! :)
And this every redeploy...

Any idea?
Gio



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 class
and read the config infos.
Can someone give me some idea who to do this?!

Thanx
Gio



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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 & XDoclet in JBoss... if u
find something can u tell me? Thanx

Gio

- Original Message -
From: "Sasidharan, Manoj" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 27, 2003 10:32 PM
Subject: [JBoss-user] Looking for article on JBoss/Web Services/Axis


Hello All,

I am looking for some write-up on developing/using web services with JBoss
3.2.x or JBoss 4.x with Axis.

Thanks in advance.

rgds
MS


---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user