[JBoss-user] [Security & JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss

2004-11-04 Thread formenti
I'd like to write (maybe with someone with more knowledge) a "Custom Principal HOWTO"... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853899#3853899 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853899 ---

[JBoss-user] [Security & JAAS/JBoss] - Re: When flush JAAS cache

2004-11-04 Thread formenti
Many thanks for your quick reply... :) So, why it's flush needed? I read many posts about flush of JAAS cache... it it's not needed why so many threads about that?! Gio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853851#3853851 Reply to the post : http:

[JBoss-user] [Security & JAAS/JBoss] - When flush JAAS cache

2004-11-04 Thread formenti
(I use JBoss 3.2.3) I read the wiki about the flush of JAAS cache but i'm confused: when i must flush the cache? My application allows the administrator: 1) create a new user 2) delete a new user 3) change user details 4) change user password and allows the logget user: 5) change their password fr

[JBoss-user] [Security & JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss

2004-11-04 Thread formenti
I'm trying to create a custom Principal too. I must simply: 1) write my new principal that implements Principal and java.io.Serializable 2) override the AbstractServerLoginModule's commit() method in my new LoginModule with the lines specify in your post Right? Other steps needed? I must create a

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Update a deployed web app

2004-08-20 Thread formenti
try under "jboss4\default\tmp\deploy\\xxx.war\" where is your most recent ear directory... It works in JBoss 3.2.3, i don't know in JBoss4 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845750#3845750 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [HTTPD, Servlets & JSP] - Update a deployed web app

2004-07-23 Thread formenti
Hi! There is a way to "refresh" a web application inside an ear? I try to put the web app files in the right tmp/xxx.ear/yyy.war directory but only jsp are refreshed! There is a way to update servlet, class, properties files in a running web app (some kind of "reloadable=true")? Thanks for any h

[JBoss-user] [Security & JAAS/JBoss] - Re: Limit access by IP address

2004-06-23 Thread formenti
Just a little help, maybe a walkaround: when i worked with Tomcat i re-wrote the authenticator class (you can modify org.apache.catalina.authenticator.BasicAuthenticator). You can put in the password field (if you use DB based authentication) even the ip, like: "password:xxx.xxx.xxx.xxx" and the

[JBoss-user] [Beginners Corner] - Re: application.xml created with Ant?

2004-05-20 Thread formenti
if you want an automatic application.xml's creator you can use Lomboz, a plugin for Eclipse. If you define your modules (web, ejb, etc.), it create the application.xml for you! Gio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835635#3835635 Reply to the p

[JBoss-user] [Installation & Configuration] - Re: log4j and jboss

2004-05-13 Thread formenti
usually I configure log4j only via /conf/log4.xml... i put org.jboss category to INFO and, with the code that i posted, my classes to DEBUG level. I haven't idea how to do with separate log4j file, Im'm sorry. But if you find a solution, please post it to me that i'm interesting about log4j tunin

[JBoss-user] [Security & JAAS/JBoss] - Re: logout when having used j_security_check

2004-05-13 Thread formenti
I like to see this code too! :) Gio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834759#3834759 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834759 --- This SF.

[JBoss-user] [EJB/JBoss] - Re: Method call after package deployment

2004-05-13 Thread formenti
You can use a class Startup implements MBeanRegistration, StartupMBean (maybe you found something about this on the net) or call the method inside the init() of a web Filter. If I understand your question... :) Gio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopi

[JBoss-user] [Installation & Configuration] - Re: log4j and jboss

2004-05-13 Thread formenti
With this I can set DEBUG level on System.out only for my classes: | | | | | | | | and: | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=383

[JBoss-user] [Installation & Configuration] - Re: Making Apache work with JBoss

2004-05-13 Thread formenti
You can take a look at the Wiki section of this site... i think there hare many hint about that! Gio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834756#3834756 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834756

[JBoss-user] [Installation & Configuration] - Re: Hibernate mapping files not found

2004-05-12 Thread formenti
Try using SAR to deploy your configuration. Take a look at http://www.hibernate.org/66.html, if you follow this document all will work great and easy! Gio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834586#3834586 Reply to the post : http://www.jboss.org/

[JBoss-user] [JBoss Getting Started Documentation] - Re: Axis installation on JBOSS 3.2.3

2004-04-02 Thread formenti
JBoss 3.2.3 have an "integrated" Axis engine... the name is JBoss.NET, try to search some info about this JBoss's "feature"... Gio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828878#3828878 Reply to the post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Installation & Configuration] - Re: log4j config

2004-02-27 Thread formenti
I use additivity="false" in the category element. My log4.xml is: | | | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823306#3823306 Reply to the post : http://www.jboss

[JBoss-user] [Installation & Configuration] - Re: log4j config

2004-02-27 Thread formenti
I use additivity="false" in the category element. My log4.xml is: View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823304#3823304 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

[JBoss-user] [Installation & Configuration] - Re: log4j config

2004-02-27 Thread formenti
I use additivity="false" in the category element. My log4.xml is: View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823301#3823301 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

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

2004-02-27 Thread formenti
Thanks!! I solved :) Gio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823266#3823266 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823266 --- SF.Net is spons

[JBoss-user] [Security & JAAS/JBoss] - Re: specify truststore

2004-02-27 Thread formenti
Did you create a keystore?! Try with http://homepage.ntlworld.com/wayne_grant/keytool.html... Gio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823227#3823227 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823227 -

[JBoss-user] [Beginners Corner] - Re: how to debug ejb by eclipse + lomboz + jboss ?

2004-02-26 Thread formenti
Hi! You can simply place a breakpoint on your code and run the server from the "Lomboz J2EE View" in Eclipse as "Debug Server". When the execution reach the line with the breakpoint you can go to the Debug prespective and debug your class... Gio View the original post : http://www.jboss.org/in

[JBoss-user] [EJB/JBoss] - Re: My ejb application can't see jar files

2004-02-25 Thread formenti
I can't help you but I found useful this lecture about classloading: http://webdev.apl.jhu.edu/~jcs/corej2ee.spring03/deploy/doc/book/public/02_J2EE_Application_Components.pdf I hope this can help you! Gio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822877

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

[JBoss-user] [Installation & Configuration] - Re: How not to run the embedded Tomcat server in Jboss

2004-02-18 Thread formenti
Maybe JBoss and your separate Tomcat listen both on 8080 port... u must change the configuration of one of this server. You can simply change the connector's port in your tomcat conf/server.xml from 8080 to 80. Gio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic

[JBoss-user] [Installation & Configuration] - Re: How can i see the deployed ejbs?

2004-02-18 Thread formenti
You can using via JMX Console (http://localhost:8080/jmx-console/) under the "jboss.j2ee" item or at http://localhost:8080/web-console/index.html under "J2EE Domains|Manager|JBoss" Gio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822009#3822009 Reply to t

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

[JBoss-user] [Installation & Configuration] - Re: Install EJB Container _ONLY_

2004-02-17 Thread formenti
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821865#3821865 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821865 The web container in Jboss is only a service. I think that u can simply delete the "jbossweb-tomcat41.

[JBoss-user] [Installation & Configuration] - Re: Classloader get wrong class between two diferent ear

2004-02-16 Thread formenti
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821716#3821716 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821716 I don't know if it can work but try with: pt.isp.iol1:loader=GCF and pt.isp.iol2:loader=GCF (chan

[JBoss-user] [Security & JAAS/JBoss] - JAAS & Hibernate

2004-02-16 Thread formenti
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821693#3821693 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821693 Someone tried to do jaas authentication via Hibernate and extend the SimplePrincipal to store more inf

[JBoss-user] [HTTPD, Servlets & JSP] - Re: SSL in JBoss 3.2.2 and Tomcat

2004-02-13 Thread formenti
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821369#3821369 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821369 I try to activate SSL on 3.2.3 but I think that on 3.2.2 it's possible in the same way: 1) create a ke

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
MAIL 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

[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] [JBoss.NET & SOAP] - JBossNET: method with argument

2004-02-05 Thread formenti
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 ca

[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