[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Cannot start Jboss
Hi all, After JBoss start complete, you can try again in your browser ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187996#4187996 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187996 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Show/hide the Jboss screen!
Hi all! I succeeded in starting server and deploying my beans. And now, Can I hide jboss screen (and free hide or show it). By the way, after I start Windows, Jboss can run as any services of Windows ? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4117116#4117116 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4117116 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Show/hide the Jboss screen!
Hi! I have used anonymous wrote : jboss-4.0.5.GA, EJB 3.0, Windows XP SP2. The Jboss screen mean, after I start Jboss success (double click run.bat from jboss-4.0.5.GA\bin\run.bat). I want to hide it (or show it if I need). Can I do that ? Thanks.[/url] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4117258#4117258 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4117258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to make server's JNDI 1099 connection?
If you use Eclipse to create EJB app. Inside your EJB project has jndi.properties. Go to and edit it: change your jndi.prpperties to ... | java.naming.provider.url=jnp://localhost:1099 You also use InitialContext to edit connection to any urls. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109618#4109618 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109618 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Can server recognize disconnection between clients and serve
Hi all! I use jboss-4.0.5.GA and EJB3.0. My client is standard alone. I use DatabaseLoginModule to authenticate a particular client. When the client login success, I can get some informations such as username and role. Can the server maintain connection between clients and server ? How server can recognize that a particular client has logout (disconnect). have some ideas ? Thank. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4098215#4098215 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4098215 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Bean call bean on muti machines with multi JBoss server
Hi ! Thanks very much. I solved my problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094350#4094350 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094350 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Bean call bean on muti machines with multi JBoss server !
Hi all ! I use jboss-4.0.5.GA, EJB 3.0. I have installed JBoss server on two difference machines. anonymous wrote : On the first machine, I have a bean called BeanA (has a method called hello()). --- BeanA was deployed on the first machine | On the second machine, I have a bean called BeanB. --- BeanB was deployed on the second machine. Now, on the BeanB, can I call hello() (belong BeanA) ? Both of JBoss server (first and second machine) are running. Can BeanA lookup BeanB but on the difference machines ? If ok, where I must config ? Please guide to me or show me some link about my problem ! thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4093387#4093387 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093387 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Bean call bean on muti machines with multi JBoss server
But my design is: On the Server1, I have the bean called BeanA. It's simply: @Remote | public interface Check { | public boolean isValid(double a, double b); | } and bean class: public @Stateless class CheckBean implements Check { | | public boolean isValid(double a, double b) { | if (b == 0) | return false; | else | return true; | | } | } Ok, I deploy BeanA on Server1. Now, On the Server2, I have the bean called BeanB @Remote | public interface Divide { | public double divideNumber(double a, double b); | } And bean class: public @Stateless class DivideBean implements Divide { | | private Context context; | | public double divideNumber(double a, double b) { |Context ctx = lookupServer(); |double result = 0; |try { |Check check = (Check)ctx.lookup(CheckBean\remote); | boolean flag = check.isValid(a, b); |if (flag) | result = a / b; |else | result = 0; | } catch (NamingException e) { | e.printStackTrace(); | } | return result; | } | | private Context lookupServer(){ | | Properties properties = new Properties(); | properties.put(java.naming.factory.initial,org.jnp.interfaces.NamingContextFactory); | properties.put(java.naming.factory.url.pkgs,=org.jboss.naming:org.jnp.interfaces); | properties.put(java.naming.provider.url,server1:1099); -- lookup on Server1 | | try { | context = new InitialContext(properties); | } catch (NamingException e) { | e.printStackTrace(); | throw new RuntimeException(e); | } | return context; | } | } Ok, I deploy BeanB on Server2. But here, I must copy BeanA and paste deploy folder on Server2. How I don't do this (maybe configure to Server2 recognize BeanA) The Client application on the difference machine: Properties properties = new Properties(); | properties.put(java.naming.factory.initial,org.jnp.interfaces.NamingContextFactory); | properties.put(java.naming.factory.url.pkgs,=org.jboss.naming:org.jnp.interfaces); | properties.put(java.naming.provider.url,server2:1099); --- lookup on Server2 | | Context ctx = new InitialContext(); | | Divide div = (Divide)ctx.lookup(DivideBean/remote); | div.divideNumber(10,2) Have some ideas ? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4093841#4093841 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093841 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Restrict number of clients connect to JBoss !
From your guide, I think I must configure EJBContainer to limit the number of clients connect to my EJBs. Am I right? If, so how I can configure ? Please guide to me! Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091781#4091781 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091781 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Restrict number of clients connect to JBoss !
Hi all! I use anonymous wrote : jboss-4.0.5.GA and EJB3.0 I want restrict number of clients connect with JBoss server (example: 10 clients not 11). From some guides, I must configure file server.xml inside anonymous wrote : server/default/deploy/jboss-web.deployer/server.xml. But I did not see file /server.xml for my version 4.0.5.GA. And My application is not web application! So, where I must configure? Please help me! Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091311#4091311 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - How configure JBoss to restrict number of Clients ?
Hi all! I want restrict number of client connect with JBoss server (example: 10 clients not 11). If JBoss support, show me where I can do this, please ? Thank all! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090542#4090542 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090542 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How configure JBoss to restrict number of Clients ?
My application is not web app. The version of JBoss that I have used: anonymous wrote : jboss-4.0.5.GA and EJB3.0. As you said, I did not see file /server.xml for my version 4.0.5.GA. Please guide me to solve my problem Thanks very much. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090877#4090877 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: Ask about JMS ?
Hi ! Thank you very much. Good luck. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4084798#4084798 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Ask about JMS ?
Hi all! I am beginner about JMS. I show org.jboss.mq.server.jmx.DestinationManager and I want configure it. I'll configure DestinationManager inside: deploy\jms\jbossmq-service.xml --- am I right ? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4084332#4084332 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Need some helps !!!
Hi all! I were posted my problem but not solved! I read article: http://wiki.jboss.org/wiki/Wiki.jsp?page=Log4jSocketServer I were configured JBoss Server inside conf/jboss-service.xml. So, on the client side, I not need add log4j.xml and I can edit file log4j.xml inside conf/log4j.xml ? appender name=MY_SOCKET class=org.apache.log4j.net.SocketAppender | !--param name=Port value=18770/.-- | param name=Port value=15000/ | param name=RemoteHost value=mymachine/ | param name=ReconnectionDelay value=3/ | param name=Threshold value=INFO/ | /appender But when I restart JBoss server, I received some errors: anonymous wrote : log4j:ERROR Could not connect to remote log4j server at [pc6.duongtadi.com]. We | will try again later. | java.net.ConnectException: Connection refused: connect Please guid to me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083334#4083334 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Deploy with two beans have same names inside two package
Hi ! The first client: my.com.BeanA The second client: john.com.BeanA I were tried: InitialContext ctx = new InitialContext(); | my.com.BeanA bean = (my.com.BeanA)ctx.lookup(BeanABean/remote); | bean.hello(); --- Ok! but: InitialContext ctx1 = new InitialContext(); | john.com.BeanA bean = (john.com.BeanA)ctx1.lookup(BeanABean/remote); | bean.hello(); --- error! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083234#4083234 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083234 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Problem about using SocketAppender !!
Hi all! I use anonymous wrote : jboss-4.0.5.GA, EJB3.0 XP_SP2 I use anonymous wrote : Log4jSocketServer and SocketAppender to log some request from clients to server. (Example both of server and client is the same machine, and host name: pc6 and has IP is: 192.168.1.228 ). Ok, inside server\default\conf\jboss-service.xml, I added: | ... | mbean code=org.jboss.logging.Log4jSocketServer |name=jboss.system:type=Log4jService,service=SocketServer |attribute name=Port/attribute |attribute name=BindAddress${jboss.bind.address}/attribute | /mbean Then, inside server\default\conf\log4j.xml, I added: | ... | appender name=MY_SOCKET class=org.apache.log4j.net.SocketAppender |param name=Port value=/ |param name=RemoteHost value=pc6/ -- or 192.168.1.228 |param name=ReconnectionDelay value=3/ |param name=Threshold value=INFO/ | /appender But when I restart JBoss Server, I received some errors: | log4j:ERROR Could not connect to remote log4j server at [pc6]. We will try again later. | java.net.ConnectException: Connection refused: connect | at java.net.PlainSocketImpl.socketConnect(Native Method) | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) | ... Please guid to me how way fixed my errors. (Sorry, my English is not good.) Thanks very much. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082469#4082469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Warning when use log4j
Hi all ! Thanks about your guides. I solved my problems. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082471#4082471 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Deploy with two beans have same names inside two package
Hi! Assume that both of clients call lookup method: BeanA bean = (BeanA)context.lookup(BeanABean/remote); | bean.add(1,2); The first of client is ok, but the second of client is fail and received some errors: .anonymous wrote : Exception in thread main java.lang.ClassCastException: $Proxy0 | at client.ClientTest1.main(Client2.java:18) Error at line: BeanA bean = (BeanA)context.lookup(BeanABean/remote); I think that I must config my JBoss Server but I don't know where I do this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082815#4082815 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Error when deploy two beans have same names!
Hi all! I use jboss-4.0.5.GA and EJB3.0 I write two beans that have same name (called BeanA). Example: anonymous wrote : Inside package: my.com has a bean called BeanA and exported to my.jar | Inside package: john.com has a bean called Bean A and exported to john.jar I deployed two jars follow order: my.jar is first, and john.jar is second. Deploying two jars (my.jar and john.jar) is Ok! On the client side, I write two clients. Client1 use my.jar and client2 use john.jar import my.com.BeanA; | ... | Context ctx = new InitialContext(); | BeanA b = (BeanA)ctx.lookup(BeanABean/remote); | b.add(1,2); --- all works are ok! But on the Client2: import john.com.BeanA; | .. | Context ctx = new InitialContext(); | BeanA b = (BeanA)ctx.lookup(BeanABean/remote); | b.add(1,2); And then, Client2 received error : Exception in thread main java.lang.ClassCastException: $Proxy0 | at client.ClientTest1.main(ClientTest1.java:18) at line: BeanA b = (BeanA)ctx.lookup(BeanABean/remote); I think that my.jar is first deployed so my works are success! And JBoss not recognize john.jar when it deployed after, so my works are fail ! Have ideas about this problem? Please guide to me! Thanks very much. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082817#4082817 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082817 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Deploy with two beans have same names inside two packages di
Hi all! I use jboss-4.0.5.GA and EJB3.0 I write two beans that have same name (called BeanA). Example: anonymous wrote : | Inside package: my.com has a bean called BeanA and exported to my.jar | Inside package: john.com has a bean called Bean A and exported to john.jar I deployed two jars follow order: my.jar is first, and john.jar is second. Deploying two jars (my.jar and john.jar) is Ok! On the client side, I import two jars, and call add method: import my.com.BeanA; -- The first, I import BeanA from my.com | ... | Context ctx = new InitialContext(); | BeanA b = (BeanA)ctx.lookup(BeanABean/remote); | b.add(1,2); | --- all works are ok! But when I change import statement: import john.com.BeanA; (not my.com.BeanA) And then, I received ClassCastException error at line: BeanA b = (BeanA)ctx.lookup(BeanABean/remote); I think that my.jar is first deployed so my works are success! And JBoss not recognize john.jar when it deployed after, so my works are fail ! Have ideas about this problem? Please guide to me! Thanks very much. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082450#4082450 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Warning when use log4j
Hi all! Some warning that I received from client. But has a problem that I understand. If my client is EJB project, I will receive this warning. But if my client app is Java project, I not receive some warning! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082377#4082377 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Log some requests to database ?
Hi all! I want log some requests to database (example mySQL), so JBoss has support a certain Appender ? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082378#4082378 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Warning when use log4j
Hi all! I begginer with Log4j, and I have a problem that I need help: I use: anonymous wrote : jboss-4.0.5.GA, EJB3.0 I have a bean (called RecordBean): anonymous wrote : ... | private static final Logger myLogger = Logger.getLogger(RecordBean.class); | | public void add(int num1, int num2) { | myLogger.info(Perform the adding two numbers...); | ... | } And inside anonymous wrote : \server\default\conf, I edit file log4j.xml (add my definition): appender name=XXX class=org.apache.log4j.FileAppender | param name=File value=${jboss.server.log.dir}/mylog.log/ | param name=Threshold value=INFO/ | layout class=org.apache.log4j.PatternLayout | param name=ConversionPattern value=%d %-5p [%c] %m%n/ | /layout |/appender | . |logger name=bean.log | appender-ref ref=QT/ |/logger | |root | appender-ref ref=CONSOLE/ | appender-ref ref=FILE/ |/root But when I deploy RecordBean, and my client call add method, logging ok, but I receive some Warning: anonymous wrote : log4j:WARN No appenders could be found for logger (org.jboss.security.SecurityAssociation). | log4j:WARN Please initialize the log4j system properly. I imported log4j.jar. Please help me to solve this problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082008#4082008 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to secure beans ?
Hi! 1. I declared SecurityDomain (ex: ClientDomain) inside jboss.xml file. And then, I package my bean to jar file (ex: myBean.jar). 2. The Stranger get it (myBean.jar), he can extract it. And he can see all things in jboss.xml file. (Here, I know SecurityDomain that I declare). I understand your mind! And it's very useful. I also think that I the Stranger can access JBoss Server (and can know about login-config.xml) -- my beans are not security. Thanks sir! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081147#4081147 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: How to let
I don't sure that I understand your problem. system is a role that you declared in code. If SecurityDoamin is valid, all things are Ok. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081150#4081150 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ejb-jar.xml file
1. If you need ejb-jar.xml, you can add it into your app. 2. You add SecurityDomain into jboss.xml. Ex: anonymous wrote : security-domainMyDomain/security-domain 3. Enter the jboss-install-dir/server/default/conf to add your SecurityDomain (MyDomain). Hope this helps. Regards. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081155#4081155 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to secure beans ?
Hi ! I declared SecurityDomain in XML configuration file. But my problem is: If the stranger has my bean. And he can extract it, and see XML configuration file and know SecurityDomain (and he can edit file login-config.xml on machine). How way to set he can't deploy my bean on his machine ? Thanks ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080685#4080685 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080685 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: How to let
I think that @SecurityDomain annotation can resolve this problem. You can declare it in your code or XML configuration file. Then, you edit login-config.xml inside xxx/server/conf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080687#4080687 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080687 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Please help me !!
Hi! Thanks! I exported my project to Jar file (same as Java project) and it work fine! But I think that if I created a Java project and then I export Jar file, I must copy some libraries of EJB and edit ClassPath. Have a way can more quickly ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080702#4080702 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - How restrict users ? Please guid to me...
Hi all! I use anonymous wrote : jboss-4.0.5.GA, EJB 3.0. I have a problem that need help: My application allows multi-client access at the same time. But now, I want set up: anonymous wrote : If a client, called John, use his account (ex: called johnA). And at this time, Anna also want use johnA to access application she can't access ! How I can setup ? or show to me some documents ! Please help me! Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079441#4079441 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: How restrict users ? Please guid to me...
I want add some informations: I use DatabaseServerLoginModule to authenticate users. Jboss supports some options to me can solve my problem above ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079444#4079444 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Please help me !!
Hi all ! Sorry! Because my English is not good. Ok. I writed a bean (called myBean). And then, I write a client application that use (import) myBean. All things are Ok. Now, I use Export command to export all things (myBean and my client application) to EJB Jar file. But on the Export GUI, the part of Ejb module is empty! (My Client application is EJB project ! And I use Eclipse to establish bean and my application). Please guid to me or show me some documents about this problem. Thanks very much. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079814#4079814 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - How to secure beans ?
Hi all! I use anonymous wrote : jboss-4.0.5.GA, EJB3.0, Windows XP SP2. If the stranger get my beans and paste his deploy folder on his machine -- all things are ok (mean is bean will deployed !) Jboss has support some options to me can set up to the stranger can't deploy my beans if he has it ?. I have a way that sign on two file ejb-jar.xml and jboss.xml on my bean, then package my bean (contain this two files) to jar file. Have some ideal ? If can, show me some documents. Thanks ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079827#4079827 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079827 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Please help me !!
Hi all! I use jboss-4.0.5.GA, EJB 3.0 I writed a EJB project by Eclipse. Then, I have a client application. My works are ok! Now want export my EJB project to EJB Jar file. But I can't. I need some documents about it. Please help me. Thanks very much. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079399#4079399 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Problem about export my EJB project to EJB Jar file by Eclip
Hi all ! I use: anonymous wrote : 1. jboss-4.0.5.GA | 2. Eclipse to edit my code (bean and GUI). I have a bean, called : anonymous wrote : myBean. And, I write a Client application (use GUI-Swing). All thing ok ! But now, I want Export all things to EJB Jar file and I use Export command inside Eclipse but EJB module is empty !. Please guide to me. Thank all ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4078568#4078568 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4078568 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - How declare java.util.ListmyObject
Hi all ! Inside my bean, I use type ListmyObject. Example: public void createMedicalHistory(ListMedicalHistory info);. After, I declare inside my ejb-jar.xml: method-paramjava.util.List(mypackage.MedicalHistory)/method-param But, Jboss show: anonymous wrote : java.lang.ClassNotFoundException: No ClassLoaders found for: List(mypackage.MedicalHistory). Please, help me to solve this problem! Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072353#4072353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4072353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - How declare java.util.ListmyObject
Hi all ! Inside my bean, I use type ListmyObject. Example: public void createMedicalHistory(ListMedicalHistory info);. After, I declare inside my ejb-jar.xml: method-paramjava.util.List(mypackage.MedicalHistory)/method-param But, Jboss show: anonymous wrote : java.lang.ClassNotFoundException: No ClassLoaders found for: List(mypackage.MedicalHistory). Please, help me to solve this problem! Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072356#4072356 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4072356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - How declare user type inside ejb-jar.xml !!!!
Hi all! I use jboss-4.0.5.GA, EJB 3.0. I have a problem with declare permissions in ejb-jar.xml file: I have a BeanA, and it has method public void print(myObject tmp); So, inside my ejb-jar.xml, how I declare print method ? method-permission id=NewLabTestOrder |role-namePhysician/role-name |method |ejb-nameBeanA/ejb-name | method-nameprint/method-name | method-params | method-param ???/method-param | /method-params |/method | /method-permission Please guide to me ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062890#4062890 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062890 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - I need help about JAAs !
Hi all ! I use jboss-4.0.5.GA and EJB3.0. On the server side, I use DatabaseServerLoginModule. And on the client side, I user ClientLoginModule. Every time, the Client A want to log-in application, he must enter username and password. I want design that: every time, client A log out and then A login, Jboss keep two informations: username and password to client A must not enter username and password. If, how I get two these informations from JBoss ? Thanks ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4061132#4061132 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4061132 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - My problem about DefaultCacheTimeout !!!
Hi all ! I read CachingLoginCredentials at http://wiki.jboss.org/wiki/Wiki.jsp?page=CachingLoginCredentials. I set DefaultCacheTimeout = 0 but I have a problem is: I allow clients can change password. So after that, if Client A was changed password and call a method of a bean --- Authentication fail !. Have any way, after A was changed passwd, A still work normall (but DefaultCacheTimeout = 0)??? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4061152#4061152 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4061152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - I need help. Please guide to me !
Hi all! I write GUI to client can enter: username and password. After, a client login and logout by: LoginContext loginContext = new LoginContext(userTest, loginForm); |loginContext.login(); |... |loginContext.logout() Then, if this client relogin. How I setup this client no need enter username and password again (Here, example: I want get two informations: username and password to paste GUI). I configure login-config.xml inside conf folder: |application-policy name = YCLINICSE2007 |authentication | login-module code = org.jboss.security.ClientLoginModule flag = required | module-option name=multi-threadedtrue/module-option | !-- Any existing security context will be restored on logout -- | module-option name=restore-login-identitytrue/module-option | /login-module | login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule | flag = required | module-option name = unauthenticatedIdentityguest/module-option | module-option name = dsJndiNamejava:/MySqlDS/module-option | module-option name = principalsQuerySELECT PASSWORD FROM USER WHERE USERNAME=?/module-option | module-option name = rolesQuerySELECT ROLENAME, 'Roles' FROM USER_IN_ROLE WHERE USERNAME=?/module-option | /login-module |/authentication | /application-policy And, on the client side, I have auth.conf: userTest { | //client.security.MyLoginModule required; | org.jboss.security.ClientLoginModule required; | }; And my jboss.xml: |jboss | security-domainYCLINICSE2007/security-domain | !-- security-domainjava:/jaas/YCLINICSE2007/security-domain -- | enterprise-beans | session | ejb-nameClientActionBean/ejb-name | resource-ref | res-ref-namejdbc/MySqlDS/res-ref-name | jndi-namejava:/MySqlDS/jndi-name | /resource-ref | /session |/enterprise-beans | /jboss Thanks! Have a good day ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4061540#4061540 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4061540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Thanks
Hi all! Thanks ! I solved my problem. Good luck to all. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056304#4056304 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - I have a problem that need help!!!
Hi all! I have a problem when I authenticate the user. I use JBoss-4.0.5.GA, EJB3.0. I use the DatabaseServerLoginModule to authenticate a user. Here, I only test isCallerInRole method to receive true or false. The first, when I run my app (example: username is Jack that has role is doctor and nurse): | . | LoginContext lc = new LoginContext(client-login, new DefaultCallbackHandler()); | lc.login(); | Methods mth = (Methods)ctx.lookup(MethodsBean/remote); | boolean t = mth.callerIsRole(doctor); | System.out.println(t); t=true !! (JBoss server print True) | lc.logout(); After, I edit database in mySQL(delete a role doctor). And run my app abow, but Jboss server still print True --- (I think after I call lc.logout(), JBoss will remove principals of user Jack.). Please help me !!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056262#4056262 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Help me about DatabaseServerLoginModule !!!
Hi all! I use Jboss 4.05 and EJB 3.0 and use DatabaseServerLoginModule. I were created two tables Users and UserInRoles. In my tables, have two user user1 has two roles: Manager and Physician | user2 has one role: Physican Manager has two permissions (methods): write and read | Physican has one permission (method): read When I enter user2 I can call read method but when I enter user1 I don't call read method. My application show some messeges: javax.ejb.EJBAccessException: Authorization failure | .. | Caused by: java.lang.SecurityException: Insufficient permissions, principal=user1, requiredRoles=[Physician], principalRoles=[Manager,Physician] Why? I were created user1 has two roles: Manager and Physician in mySQL! And Jboss also know this! Please help me!!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4053436#4053436 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Declare Anotation @EJB will a new instance ?
Hi all! I have a problem that I need some helps from any one. I has a declare: | @EJB | private MyBean bean; | | a new instance was created (automatically)? Thanks and good luck today! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038197#4038197 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - I need read data from ejb-jar.xml !!!
Hi all ! I write a bean called ReadXMLBean to read some data from ejb-jar.xml and give to client to show on screen. So, where folder that I must ejb-jar.xml file ? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035652#4035652 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: I need read data from ejb-jar.xml !!!
If I place my ejb-jar.xml file inside .\bin is I can get some data that I need! The question that I want ask is rigth ? (place it inside bin folder on Server?) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035654#4035654 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035654 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: I need helps from anyone about JAAS with DatabaseServerL
Hi! anonymous wrote : 1. My operating system is XP2, I use jboss-4.0.5.GA. I assume that have three person with usernames are A, B and C. And now, I want A and B are allow restart JBoss server, C is not allow! How I can do ? --- I installed JBoss server, and I only want the specific user can run JBoss server (ex: A allow but B not allow) anonymous wrote : 2. I have two bean called Bean1 and Bean2. If copy both of them into deploy folder (on server), the deploy is ok! But now, how the server check to server can deploy Bean1 not Bean2. How I can do this ? --- Assume that I have a my bean called BeanA, and my friend have a bean called BeanB. And now, I want JBoss server deploy only BeanA not BeanB. How I do ? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4026069#4026069 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - How set permissions to the specific user allow to restart Jb
Hi all! I have two problems that need some helps from anyone: 1. My operating system is XP2, I use jboss-4.0.5.GA. I assume that have three person with usernames are A, B and C. And now, I want A and B are allow restart JBoss server, C is not allow! How I can do ? 2. I have two bean called Bean1 and Bean2. If copy both of them into deploy folder (on server), the deploy is ok! But now, how the server check to server can deploy Bean1 not Bean2. How I can do this ? If can, please show me some links to solve my problems. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4025326#4025326 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4025326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - How set permissions to the specific user allow to restart Jb
Hi all! I have two problems that need some helps from anyone: 1. My operating system is XP2, I use jboss-4.0.5.GA. I assume that have three person with usernames are A, B and C. And now, I want A and B are allow restart JBoss server, C is not allow! How I can do ? 2. I have two bean called Bean1 and Bean2. If copy both of them into deploy folder (on server), the deploy is ok! But now, how the server check to server can deploy Bean1 not Bean2. How I can do this ? If can, please show me some links to solve my problems. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4025327#4025327 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4025327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - How to allow the specific restart JBoss Server ?
Hi all! I have two problems that need some helps from anyone: 1. My operating system is XP2, I use jboss-4.0.5.GA. I assume that have three person with usernames are A, B and C. And now, I want A and B are allow restart JBoss server, C is not allow! How I can do ? 2. I have two bean called Bean1 and Bean2. If copy both of them into deploy folder (on server), the deploy is ok! But now, how the server check to server can deploy Bean1 not Bean2. How I can do this ? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024961#4024961 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: I need helps from anyone about JAAS with DatabaseServerL
Hi all! Thanks Jaikirain! Your explains are very helpfull for me and everyone that want discovery about JBoss. Two day ago, I have two problems and I posted they on Forum but not received reply. I hope that you can explain and help me about they again. 1. My operating system is XP2, I use jboss-4.0.5.GA. I assume that have three person with usernames are A, B and C. And now, I want A and B are allow restart JBoss server, C is not allow! How I can do ? 2. I have two bean called Bean1 and Bean2. If copy both of them into deploy folder (on server), the deploy is ok! But now, how the server check to server can deploy Bean1 not Bean2. How I can do this ? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024891#4024891 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - How set permissions to users need restart Jboss server ?
Hi all! I have two problem that I need some helps from anyone! 1. My operating system is XP2, I use jboss-4.0.5.GA. I assume that have three person with usernames are A, B and C. And now, I want A and B are allow restart JBoss server, C is not allow! How I can do ? 2. I have two bean called Bean1 and Bean2. If copy both of them into deploy folder (on server), the deploy is ok! But now, how the server check to server can deploy Bean1 not Bean2. How I can do this ? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024576#4024576 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: I need helps from anyone about JAAS with DatabaseServerL
Hi ! But when I use UserRoleLoginModule, I writed my login-config.xml. And all things ok! (DatabaseServerLoginModule is not success!). Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024804#4024804 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024804 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - I need helps from anyone about JAAS with DatabaseServerLogin
Hi everyone! I have a problem that I can't solve. I have two machines with hostname is A and B. On A, I installed mySQL and create the database is mydatabase and two tables are Roles and Users Also on A, I installed JBoss Server (jboss-4.0.5.GA), and I select database is mysql. File hsqldb.xml has contents: ... | jndi-nameDefaultDS/jndi-name | connection-urljdbc:mysql://localhost:3306/mydatabase/connection-url | driver-classcom.mysql.jdbc.Driver/driver-class | user-nameroot/user-name | passwordabc123/password | ... When I restart server on machine A, I see some messages: 10:43:02,109 INFO [WrapperDataSourceService] Bound ConnectionMana | :service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' On the B machine, I use Eclipse to create a EJB 3.0 project called ActionBean. Then, I write three file ejb-jar.xml, jboss.xml and login-config.xml. They have some info important : ejb-jar.xml | ... | enterprise-beans |session | ejb-nameActionBean/ejb-name | resource-ref | res-ref-namejdbc/DefaultDS/res-ref-name | res-typejavax.sql.DataSource/res-type | res-authContainer/res-auth | /resource-ref |/session | /enterprise-beans | assembly-descriptor |Security-role | role-namedoctor/role-name |/Security-role |Security-role | role-namenurse/role-name |/Security-role |method-permission | role-namedoctor/role-name | method | ejb-nameActionBean/ejb-name | method-namegetCallInfo/method-name | /method |/method-permission |method-permission | role-namenurse/role-name | method | ejb-nameActionBean/ejb-name | method-nameadd/method-name | /method |/method-permission | /assembly-descriptor | ... jboss.xml | security-domainDB-Domain/security-domain | enterprise-beans |session |ejb-nameActionBean/ejb-name |resource-ref | res-ref-namejdbc/DefaultDS/res-ref-name |jndi-namejava:/DefaultDS/jndi-name |/resource-ref |/session | /enterprise-beans login-config.xml | application-policy name=DB-Domain |authentication | login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag=required | module-option name=dsJndiNamejava:/DefaultDS/module-option | module-option name=principalsQuery | select passwd from Users where username=?/module-option | module-option name=rolesQuery | select Role from Roles where username=?/module-option | /login-module |/authentication | /application-policy Then, I pakage ActionBean and put three files (ejb-jar.xml,jboss.xml and login-config.xml) inside META-INF folder. JBoss server on the machine A inform all things ok! Also, on the machine B. I write the main class (client): LoginContext lc = new LoginContext(userTest, new ClientCallbackHandler());; | lc.login(); | InitialContext ctx = new InitialContext(); | ClientAction obj = (ClientAction)ctx.lookup(ActionBean/remote); | try{ | System.out.println(obj.getCallInfo()); | //System.out.println(obj.add()); | | }catch(Exception e){ | System.out.println(You don't allow to do this method !); | } | ... My auth.config: userTest { | org.jboss.security.ClientLoginModule required; | }; I imported package jbossall-client.jar and jbosssx.jar. On the server(machine A), I also copied dirver mysql-connector-java-3.1.14-bin.jar inside \server\default\lib. Then, I run my main class and from console I enter username and passwd. But any informations that I entered can't call method on ActionBean (ex:obj.getCallInfo()). This mean is correct info can't call any method on ActionBean. Which wrongs ? mydatabase has two tables: CREATE TABLE Users(username VARCHAR(64) PRIMARY KEY, passwd VARCHAR(64)) | CREATE TABLE Roles(username VARCHAR(64), Role VARCHAR(32)) (I were writed a simple bean to access informations from mydatabase, all things ok). Please help me to solve my problem. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024119#4024119 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: I need helps from anyone about JAAS with DatabaseServerL
I wonder that some informations (username and passwd) that user enter and informations that Jboss server get from mySQL were encoded ? So, they not match ! Have any ideals ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024515#4024515 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Latest JAAS Tutorial for Database communication
Hi! I have same problem. I wonder that some informations that user entered (username and passwd) were encoded ? Some informations that get from mySQL is plain text ! So they can't match ! Have any ideal ? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024516#4024516 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Latest JAAS Tutorial for Database communication
Hi all! Today, all things are ok (they worked!). My project is EJB3.0. Inside folder \server\default\conf, I add some informations: application-policy name = DB-Domain |authentication | login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule | flag = required | module-option name = unauthenticatedIdentityguest/module-option | module-option name = dsJndiNamejava:/DefaultDS/module-option | module-option name = principalsQuerySELECT PASSWD FROM USERS WHERE USERID=?/module-option | module-option name = rolesQuerySELECT ROLEID, 'Roles' FROM ROLES WHERE USERID=?/module-option | /login-module |/authentication | /application-policy My jboss.xml : jboss | security-domainDB-Domain/security-domain | enterprise-beans | session | ejb-nameClientActionBean/ejb-name | resource-ref | res-ref-namejdbc/DefaultDS/res-ref-name | jndi-namejava:/DefaultDS/jndi-name | /resource-ref | /session | /enterprise-beans | /jboss and ejb-jar.xml: enterprise-beans | session | ejb-nameClientActionBean/ejb-name | resource-ref | res-ref-namejdbc/DefaultDS/res-ref-name | res-typejavax.sql.DataSource/res-type | res-authContainer/res-auth | /resource-ref | /session | /enterprise-beans | assembly-descriptor | Security-role | role-namedoctor/role-name | /Security-role | Security-role | role-namenurse/role-name | /Security-role | method-permission | role-namedoctor/role-name | method | ejb-nameClientActionBean/ejb-name | method-namegetCallInfo/method-name | /method | I use Eclipse to write client app, bean and package my bean enclose two file jboss.xml and ejb-jar.xml (inside META-INF). Restart server, and run client app! Note: I installed Jboss server and mySQL on the machine 1(hostname:abc), and on the machine 2 (hostname:xxx). All things ok! Hope this helps View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024535#4024535 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024535 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: I need helps from anyone about JAAS with DatabaseServerL
Thanks jaikiran! I solved my problems! But I wondered that: If I write my login-config.xml: ?xml version=1.0 encoding=UTF-8? | | policy | application-policy name = DB-Domain |authentication | login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule | flag = required | module-option name = unauthenticatedIdentityguest/module-option | module-option name = dsJndiNamejava:/DefaultDS/module-option | module-option name = principalsQuerySELECT PASSWD FROM USERS WHERE USERID=?/module-option | module-option name = rolesQuerySELECT ROLEID, 'Roles' FROM ROLES WHERE USERID=?/module-option | /login-module |/authentication | /application-policy | /policy When the authentication will fail! But if I use login-config.xml inside \server\default\conf and add some informations (above) the authentication success! Why ?( If I want myself write my login-config.xml) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024553#4024553 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024553 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Embedded JBoss and Standalone JBoss on same machine
Hello world! I have a same problem! Have any ideals ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4018048#4018048 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018048 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Help me about DatabaseServerLoginModule (very urgent!! Pleas
Hi all! Please help me !!! http://www.jboss.com/index.html?module=bbop=viewtopict=100996 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4015533#4015533 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4015533 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: look Database not effect (Urgent). Please!
Hi! Previous, I tested the UsersRolesLoginModule inside the jboss.xml. I also security-domainjava:/jaas/DB-Domian/security-domain but not effect. Then, I try used DB-Domain, all things ok. Now, I also by your way is security-domainjava:/jaas/DB-Domian/security-domain and security-domainDB-Domain/security-domain but not effect ! I don't use web server. I write a simple bean and deploy it on the Violon(hostname) machine. And write the client on the abc machine. I am using Eclipse to edit my project. When I use Eclipse to packing my bean to .jar file. Have two cases: 1. File ejb-jar.xml inside META-INF, two files jboss.xml and login-config.xml outside META-INF. Any informations (username and passwd) that I enter can able call any method on the my bean. 2. Three file: ejb-jar.xml, jboss.xml and login.config.xml inside META-INF, I received some messages: anonymous wrote : Exception in thread main javax.ejb.EJBAccessException: Authentication failure . anonymous wrote : Caused by: javax.security.auth.login.LoginException: Missing users.properties file. althought I entered username and passwd correct with my database (Users and Roles tables). have any ideals ? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4013995#4013995 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4013995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: look Database not effect (Urgent). Please!
Hi all ! Yes! And it's wrong (I read some documents today). The main problem is inside my jboss.xml, all things not effect (and DatabaseServerLoginModule not effect). JBoss server and mySql installed on the same machine (ex: hostname is violon), on the other machine (ex: hostname is abc). And on the abc, I write the client app to transfer username and password to server. (I deployed my bean on violon). Please guide to me ! Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4013381#4013381 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4013381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: look Database not effect (Urgent). Please!
Hello world ! Today, I try all things again but I also failure. When I install JBoss server, I selected mysql and DataSource name is: DefaultDS, and I created mydatabase that include Users and Roles. My code on the client have contents: - LoginContext lc = new LoginContext(userTest, new MyCallbackHandler()); lc.login(); . props.put(java.naming.provider.url,jnp://violon:1099); InitialContext ctx = new InitialContext(props); Operates obj = (Operates)ctx.lookup(OperatesBean/remote); .. and here, I do two methods that correlative each role - But after I enter username and passwd, on the server don't check informations of the specify person that I entered (username and passwd). This is mean, the DatabaseServerLoginModule that I declare inside file login-config.xml not effect. And when, any informations that I enter can call two methods ! I am sure that JBoss server bound DataSource beacause when I run Server, I saw the fragment message: - 11:15:39,632 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS ' - My auth.config on the client has contents: - userTest { org.jboss.security.ClientLoginModule required; }; - My ejb-jar.xml has contents: - enterprise-beans ejb-nameOperates/ejb-name resource-ref res-ref-nameDefaultDS/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref /enterprise-beans .here, I declared roles and permissions - My jboss.xml has: - security-domainDB-Domain/security-domain enterprise-beans ejb-nameOperates/ejb-name resource-ref res-ref-nameDefaultDS/res-ref-name jndi-namejava:/DefaultDS/jndi-name /resource-ref /enterprise-beans - And the login-config.xml: - application-policy name=DB-Domain login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag=required module-option name=dsJndiNamejava:/DefaultDS/module-option module-option name=principalsQuery select passwd from Users where username=?/module-option module-option name=rolesQuery select Role, 'Roles' from Roles where username=?/module-option /login-module /application-policy - I don't know that why server not recognize all things that I declare inside jboss.xml and login-config.xml ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4013476#4013476 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4013476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - look Database not effect (Urgent). Please!
Hi all ! I am using jboss-4.0.5.GA. I install MySQL and JBoss Server on the same machine. When I install JBoss server, I select mysql, so I need only copy driver mysql-connector-java-3.1.14-bin.jar to ..\server\lib and don't need edit file hsqldb-ds.xml (inside ..\server\default\deploy). Am I right? When I restart server, I see some messages: ... 11:15:39,632 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=QuocThaiDS' to JNDI name 'java:QuocThaiDS ... My ejb-jar.xml: res-ref-namejdbc/QuocThaiDS/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth login-config.xml: application-policy name=DB-Domain login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag=required module-option name=dsJndiNamejava:QuocThaiDS/module-option module-option name=principalsQuery select passwd from Users where username=?/module-option module-option name=rolesQuery select Role, 'Roles' from Roles where username=?/module-option /login-module /application-policy jboss.xml: ... security-domainDB-Domain/security-domain enterprise-beans ejb-nameHello/ejb-name resource-ref res-ref-namejdbc/QuocThaiDS/res-ref-name jndi-namejava:QuocThaiDS/jndi-name /resource-ref /enterprise-beans ... But, on the other machine, I lookup: DataSource ds = (DataSource) ctx.lookup(java:/comp/env/jdbc/QuocThaiDS); I received some messages: comp not bound. Have any ideals ? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012819#4012819 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012819 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Using DatabaseServerLoginModule not effect ? Please help me.
Hi all ! I create my database by MySQL on the server side called MyDB. My login-config.xml: . application-policy name=DB-Domain login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag=required module-option name=dsJndiNamejava:jdbc/MyDB/module-option module-option name=principalsQuery select passwd from Users where username=?/module-option module-option name=rolesQuery select userRoles, roleGroups from UserRoles where username=?/module-option /login-module ... And my jboss.xml: security-domainDB-Domain/security-domain On the client side, I use ClientLoginModule. But when I enter username and password. I receive some messages: javax.ejb.EJBAccessException: Authentication failure at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.handleGeneralSecurityException(Ejb3AuthenticationInterceptor.java:99) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:70) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:263) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:398) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239) Caused by: javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:213) at org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.java:152) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:579) at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:601) at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:535) at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344) at org.jboss.aspects.security.AuthenticationInterceptor.authenticate(AuthenticationInterceptor.java:123) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:66) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:263) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681) at
[jboss-user] [Security JAAS/JBoss] - Have problem about org.jboss.security.ClientLoginModule
Hi all ! On the client, I write: String path = Test.class.getProtectionDomain().getCodeSource().getLocation().getPath(); if (path.endsWith(.jar)) path = path.substring(0, path.lastIndexOf(\\)); System.getProperties().setProperty(java.security.auth.login.config, path + user.conf); System.getProperties().setProperty(java.security.policy, path + user.policy); System.setSecurityManager(new SecurityManager()); LoginContext lc = new LoginContext(clientTest, new MyCallbackHandler()); lc.login(); And my user.config: userTest { org.jboss.security.ClientLoginModule required; }; And my user.policy: grant codebase file:/- { permission javax.security.auth.AuthPermission createLoginContext.clientTest; permission java.util.PropertyPermission *, read; permission java.security.AllPermission; }; After I enter username and password. I receive some messages: Exception in thread main javax.security.auth.login.LoginException: Security Exception at javax.security.auth.login.LoginContext.invoke(Unknown Source) at javax.security.auth.login.LoginContext.access$000(Unknown Source) at javax.security.auth.login.LoginContext$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(Unknown Source) at javax.security.auth.login.LoginContext.login(Unknown Source) at client.test.Test.main(Test.java:34) Caused by: java.lang.SecurityException ... 7 more Have any idea ? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4008770#4008770 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4008770 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Help me about JBoss with JAAS !!
Hi all! At present, I use EJB3. and use Eclipse to write and deploy my EJB project. I have a bean called CalculatorBean. My bean has two method: add and sub two number. On the client side, I write the class called MyLoginModule to authenticate user (it always return true). After call the method, I receive a Subject with some informations (ex:username, password, rolename...): . lc.login(); Subject sub = lc.getSubject(); to here, I want use JNDI to send server a user that authenticated. So, how I continue? And inside EJB3.0, I need write login-config.xml and jboss.xml ?. (Because, when I read about EJB3.0's Orielly, I don't see two this file !!). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4008273#4008273 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4008273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Help me about JAAS on JBoss !!!
Hi All ! I am a beginner's JBoss. I have a problem that I understand: I have a Bean called HelloBean that have two methods printA and printB. My ejb-jar.xml has contents: .. assembly-descriptor Security-role role-nameRoleA/role-name /Security-role Security-role role-nameRoleB/role-name /Security-role method-permission role-nameRoleA/role-name ejb-nameHelloBean/ejb-name method-nameprintA/method-name /method-permission method-permission role-nameRoleB/role-name ejb-nameHelloBean/ejb-name method-nameprintB/method-name /method-permission /assembly-descriptor .. On the Client side, I write fragment of code that implement javax.security.auth.spi.LoginModule .. LoginContext lc = new LoginContext(helloDomain, new ClientCallbackHandler()); lc.login(); Subject ret = lc.getSubject(); Subject.doAs(sub, new SampleAction()); ... Inside my class SampleAction, I write: public class SampleAction implements PrivilegedAction{ . Properties props = new Properties(); props.put(Context.PROVIDER_URL,violon:1099); props.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory); InitialContext context = new InitialContext(props); Hello obj = (Hello)context.lookup(HelloBean/remote); obj.printA(); . My config file and policy file : client.config helloDomain { auth.ref.MyLoginModule required debug=false; }; client.policy grant codebase file:./- { permission javax.security.auth.AuthPermission modifyPrincipals; permission javax.security.auth.AuthPermission createLoginContext.helloDomain; permission javax.security.auth.AuthPermission doAs; permission javax.security.auth.AuthPermission doAsPrivileged; permission java.util.PropertyPermission *, read; }; When I run, I enter username and password and receive some message: - javax.naming.CommunicationException: Could not obtain connection to any of these urls: violon:1099 and discovery failed with error: java.security.AccessControlException: access denied (java.net.SocketPermission 230.0.0.4 connect,accept,resolve) [Root exception is javax.naming.CommunicationException: Failed to connect to server violon:1099 [Root exception is java.security.AccessControlException: access denied (java.net.SocketPermission violon resolve)]] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(Unknown Source) at auth.ref.SampleAction.run(SampleAction.java:41) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Unknown Source) at main.AuthClient.main(AuthClient.java:70) Caused by: javax.naming.CommunicationException: Failed to connect to server violon:1099 [Root exception is java.security.AccessControlException: access denied (java.net.SocketPermission violon resolve)] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385) ... 7 more Caused by: java.security.AccessControlException: access denied (java.net.SocketPermission violon resolve) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkConnect(Unknown Source) at java.net.InetAddress.getAllByName0(Unknown Source) at java.net.InetAddress.getAllByName0(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at java.net.InetAddress.getByName(Unknown Source) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:76) at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239) ... 8 more PLEASE HELP ME TO SOLVE MY PROBLEM !! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4007143#4007143 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4007143