[JBoss-user] [Security JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss
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 Group class too? Thanks fo any help! Gio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853837#3853837 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853837 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - When flush JAAS cache
(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 from within a session When, in the scenario above, i must call the flush method? Thanx and sorry for my english! Gio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853842#3853842 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853842 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: When flush JAAS cache
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=bbop=viewtopicp=3853851#3853851 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853851 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss
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=bbop=viewtopicp=3853899#3853899 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853899 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Update a deployed web app
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=bbop=viewtopicp=3845750#3845750 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845750 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Update a deployed web app
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 hits! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843065#3843065 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843065 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Limit access by IP address
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 then in the authenticator class can test password+:+ip as it is the password stored in the db... An example: String password = parsePassword(authorization)+@+request.getRequest().getRemoteAddr(); instead of: String password = parsePassword(authorization); If you make so the following statement principal = context.getRealm().authenticate(username, password); check password and the IP for you! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839638#3839638 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839638 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: application.xml created with Ant?
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=bbop=viewtopicp=3835635#3835635 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835635 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Making Apache work with JBoss
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=bbop=viewtopicp=3834756#3834756 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834756 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: log4j and jboss
With this I can set DEBUG level on System.out only for my classes: appender name=ARIA class=org.apache.log4j.ConsoleAppender | param name=Target value=System.out/ | param name=Threshold value=DEBUG/ | | layout class=org.apache.log4j.PatternLayout | !-- The default pattern: Date Priority [Category] Message\n -- | param name=ConversionPattern value=%d{ABSOLUTE} %-5p [%c{1}] %m%n/ | /layout |/appender and: | category name=it.aria additivity=false | appender-ref ref=ARIADNE/ | /category | | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3834757#3834757 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834757 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Method call after package deployment
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=bbop=viewtopicp=3834758#3834758 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834758 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: logout when having used j_security_check
I like to see this code too! :) Gio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3834759#3834759 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834759 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: log4j and jboss
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 tuning! Thanx Gio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3834789#3834789 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834789 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Hibernate mapping files not found
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=bbop=viewtopicp=3834586#3834586 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834586 --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: specify truststore
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=bbop=viewtopicp=3823227#3823227 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823227 --- 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=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET SOAP] - Re: JBossNET: method with argument
Thanks!! I solved :) Gio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3823266#3823266 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823266 --- 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=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: log4j config
I use additivity=false in the category element. My log4.xml is: appender-ref ref=AAA/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3823301#3823301 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823301 --- 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=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: log4j config
I use additivity=false in the category element. My log4.xml is: appender-ref ref=AAA/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3823304#3823304 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823304 --- 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=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: log4j config
I use additivity=false in the category element. My log4.xml is: | appender name=AAA class=org.apache.log4j.ConsoleAppender | param name=Target value=System.out/ | param name=Threshold value=DEBUG/ | layout class=org.apache.log4j.PatternLayout | param name=ConversionPattern value=%d{ABSOLUTE} %-5p [%c{1}] %m%n/ | /layout | /appender | | category name=org.xxx. additivity=false | appender-ref ref=AAA/ | /category | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3823306#3823306 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823306 --- 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=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: how to debug ejb by eclipse + lomboz + jboss ?
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/index.html?module=bbop=viewtopicp=3823032#3823032 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823032 --- 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=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: My ejb application can't see jar files
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=bbop=viewtopicp=3822877#3822877 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822877 --- 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=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss3.2.3 - AOP or javassist
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=1356alloc_id=3438op=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=1356alloc_id=3438op=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)
-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=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: How can i see the deployed ejbs?
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=bbop=viewtopicp=3822009#3822009 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822009 --- 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=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: How not to run the embedded Tomcat server in Jboss
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=bbop=viewtopicp=3822017#3822017 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822017 --- 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=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Install EJB Container _ONLY_
View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3821865#3821865 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821865 The web container in Jboss is only a service. I think that u can simply delete the jbossweb-tomcat41.sar (or something like this) in ur JBOSS_HOME\server\default\deploy. 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=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - JAAS Hibernate
View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3821693#3821693 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821693 Someone tried to do jaas authentication via Hibernate and extend the SimplePrincipal to store more information about logged user?! I'm trying to integrate this in JBoss 3.2.3... I read http://www.hibernate.org/139.html but few information are available there. Someone have examples of this or can give me an hand? 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=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Classloader get wrong class between two diferent ear
View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3821716#3821716 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821716 I don't know if it can work but try with: loader-repositorypt.isp.iol1:loader=GCF/loader-repository and loader-repositorypt.isp.iol2:loader=GCF/loader-repository (change the string before :loader=) 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=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: SSL in JBoss 3.2.2 and Tomcat
View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3821369#3821369 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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 keystore that hold a certificate for the server: %JAVA_HOME%\bin\keytool -genkey -alias j2ee -keyalg RSA -keystore {keypath}\server.jks The passwords must be the same for the keystore and the key. 2) edit jbossweb.sar/META-INF/jboss-service.xml and uncomment or add the connector: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8443 enableLookups=true scheme=https secure=true debug=0 useURIValidationHack=false disableUploadTimeout=true Factory className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory keystoreFile={keypath}\server.jks keystorePass={password} clientAuth=false protocol=TLS/ 3) add the attribute redirectPort=8443 to the connector that handle the 8080 port for automatic redirect from 8080 to 8443 on protected pages. I hope this is useful... 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=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Webservice deployment in ear
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
Hi! To log only my classes activity on the console at DEBUG level I put in the conf/log4j.xml: appender name=MYLOG class=org.apache.log4j.ConsoleAppender param name=Target value=System.out/ param name=Threshold value=DEBUG/ layout class=org.apache.log4j.PatternLayout param name=ConversionPattern value=%d{ABSOLUTE} %-5p [%c{1}] %m%n/ /layout /appender and category name=it.mycompany additivity=false appender-ref ref=MYLOG/ /category 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
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=bbop=viewtopicp=3820343#3820343 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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 SOAP] - JBossNET: method with argument
View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3820343#3820343 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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 at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:326) at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.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] Jboss.Net
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!
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
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?
Duplicating the whole container-interceptors 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: container-configuration container-nameTry/container-name call-loggingfalse/call-logging invoker-proxy-binding-namestateful-rmi-invoker/invoker-proxy-binding- name container-interceptors interceptororg.jboss.ejb.plugins.ProxyFactoryFinderInterceptor/interc eptor interceptororg.jboss.ejb.plugins.LogInterceptor/interceptor !-- your interceptor, altho you may want to shift it's location if you care about when it's invoked in the chain -- interceptorcom.xxx.TryInterceptor/interceptor !-- CMT -- interceptor transaction=Containerorg.jboss.ejb.plugins.TxInterceptorCMT/intercep tor interceptor transaction=Container metricsEnabled=trueorg.jboss.ejb.plugins.MetricsInterceptor/intercep tor interceptor transaction=Containerorg.jboss.ejb.plugins.StatefulSessionInstanceInt erceptor/interceptor !-- BMT -- interceptor transaction=Beanorg.jboss.ejb.plugins.StatefulSessionInstanceIntercep tor/interceptor interceptor transaction=Beanorg.jboss.ejb.plugins.TxInterceptorBMT/interceptor interceptor transaction=Bean metricsEnabled=trueorg.jboss.ejb.plugins.MetricsInterceptor/intercep tor interceptororg.jboss.resource.connectionmanager.CachedConnectionInterc eptor/interceptor interceptororg.jboss.ejb.plugins.SecurityInterceptor/interceptor /container-interceptors instance-cacheorg.jboss.ejb.plugins.StatefulSessionInstanceCache/inst ance-cache persistence-managerorg.jboss.ejb.plugins.StatefulSessionFilePersistenc eManager/persistence-manager container-cache-conf cache-policyorg.jboss.ejb.plugins.LRUStatefulContextCachePolicy/cache -policy cache-policy-conf min-capacity50/min-capacity max-capacity100/max-capacity remover-period1800/remover-period max-bean-life1800/max-bean-life overager-period300/overager-period max-bean-age600/max-bean-age resizer-period400/resizer-period max-cache-miss-period60/max-cache-miss-period min-cache-miss-period1/min-cache-miss-period cache-load-factor0.75/cache-load-factor /cache-policy-conf /container-cache-conf container-pool-conf MaximumSize100/MaximumSize /container-pool-conf /container-configuration 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: configuration-nameTry/configuration-name 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: container-configurations container-configuration extends=Standard Stateful SessionBean container-nameTry/container-name container-interceptors interceptorcom.xxx.TryInterceptor/interceptor /container-interceptors /container-configuration /container-configurations
R: [JBoss-user] Where to put an Interceptor class?
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=htmlop=userdisplayid=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
R: [JBoss-user] Where to put an Interceptor class?
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] Tell Jboss to create INNODB tables (was: Session/Entity Bean Transaction Rollback)
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: datasources local-tx-datasource jndi-namemySQL_partnerMgmt/jndi-name connection-urljdbc:mysql://localhost/partnerMgmt/connection-url driver-classorg.gjt.mm.mysql.Driver/driver-class user-nameroot/user-name password/password /local-tx-datasource /datasources 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=1278alloc_id=3371op=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=1278alloc_id=3371op=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=1278alloc_id=3371op=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=1278alloc_id=3371op=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=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Jboss3 and AOP
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=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss 3.2.2 SSL
Hallo, I use JBoss4+JBossWeb (Tomcat) with: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8443 enableLookups=true scheme=https secure=true debug=0 useURIValidationHack=false disableUploadTimeout=true Factory className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory keystoreFile=c:\server.jks keystorePass=changeit clientAuth=false protocol=TLS/ /Connector 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 Factory className = org.apache.coyote.tomcat4.CoyoteServerSocketFactory keystoreFile=${jboss.server.home.dir}/conf/blueDAIS.jks keystorePass=rmi+ssl clientAuth=false protocol = TLS/ /Connector 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=1278alloc_id=3371op=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=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
R: [JBoss-user] JBoss 3.2.2 SSL
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: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8443 enableLookups=true scheme=https secure=true debug=0 useURIValidationHack=false disableUploadTimeout=true Factory className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory keystoreFile=c:\server.jks keystorePass=changeit clientAuth=false protocol=TLS/ /Connector 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 Factory className = org.apache.coyote.tomcat4.CoyoteServerSocketFactory keystoreFile=${jboss.server.home.dir}/conf/blueDAIS.jks keystorePass=rmi+ssl clientAuth=false protocol = TLS/ /Connector 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=1278alloc_id=3371op=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=1278alloc_id=3371op=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=1278alloc_id=3371op=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=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
R: [JBoss-user] Web security 403
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=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Redeploy a WAR
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=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Web security 403
Hi! I'd like to create a war with some security constraints! I modify login-config.xml and I create the database's tables: application-policy name = dafne authentication login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule flag = required module-option name = dsJndiNamejava:/MySqlDS/module-option module-option name = principalsQuerySELECT PASSWORD FROM PRINCIPALS WHERE PRINCIPAL_ID=?/module-option module-option name = rolesQuerySELECT ROLE,ROLEGROUP FROM ROLES WHERE PRINCIPAL_ID=?/module-option /login-module /authentication /application-policy I create jboss-web.xml: jboss-web security-domainjava:/jaas/dafne/security-domain /jboss-web And finally I put the web constraints: security-constraint web-resource-collection web-resource-nameProtected/web-resource-name url-pattern/index.jsp/url-pattern http-methodPOST/http-method http-methodGET/http-method /web-resource-collection auth-constraint role-nameadmin/role-name /auth-constraint user-data-constraint transport-guaranteeNONE/transport-guarantee /user-data-constraint /security-constraint login-config auth-methodBASIC/auth-method realm-namedefault/realm-name /login-config security-role role-nameadmin/role-name /security-role 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=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Taglib!
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] Application configuration
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
[JBoss-user] WSR delpoy
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
Re: [JBoss-user] Looking for article on JBoss/Web Services/Axis
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
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