off-topic: Re: [JBoss-user] JBoss Starting at Boot on OS X Server
Hi Hunter! What is your feeling of the OS X Server with regard to performance etc...? /Lennart - with a slim and shiny Ti :) söndagen den 20 oktober 2002 kl 21.21 skrev Hunter Hillegas: I am trying to get JBoss started at boot time on my OS X Server. I have copied a 'StartupItem' config and it looks right... It calls a script that starts JBoss. The StartupItem gets called, I see it in the log. It just states, 'Waiting on JBoss Server' and JBoss never starts. When I run the script after logging in, JBoss starts normally. Has anyone else done this successfully? Thanks, Hunter --- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Is it OK to bind EEJB to local *and* remote JNDI name?
Hi Folks, I have an entry as follows in my jboss.xml file: entity ejb-nameUserBean/ejb-name jndi-nameforethought.UserHome/jndi-name local-jndi-nameforethought.UserLocalHome/local-jndi-name /entity entity ejb-nameAccountTypeBean/ejb-name local-jndi-nameforethought.AccountTypeLocalHome/local-jndi-name /entity Now AccountTypeBean's JNDI entry is as expected but UserBean is only bound to forethought.UserHome. Why is that? You can have both a local and remote implementation at the same time ... can't you? Thanks for your attention --peter E-mail is an informal method of communication and may be subject to data corruption, interception and unauthorised amendment for which Digital Bridges Ltd will accept no liability. Therefore, it will normally be inappropriate to rely on information contained on e-mail without obtaining written confirmation. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBossMQ Perforamance
Have you tried multiple client connections? I'm also thinking that maybe the probability of collisions on Gigabit ethernet is the same as on 100Mbit as it is not governed by capacity but time. It could actually mean that it is not possible to send that much more packets on Gigabit than on 100Mbit. This is then of course influenced by the collision domains of your network. Also have you taken into account the actual io and cpu usage on the machines? If the load or io on the machine gets higher it will limit the amount of messages that you can put on a queue. On Tue, Oct 22, 2002 at 12:40:42AM -0500, Peter Luttrell wrote: In order to ascertain if JBossMQ is capable of providing the throughput I need, i've constructed a couple of little apps to see what kind of performance i can get. Here's what i've found: 100 Megabit: 1250-1350 messages per second Gigabit: 1500-1600 messages per second I was hoping to see a bit better performance then this; especially a larger differential with Gigabit. 100Megabit only used about 10% of the network bandwidth (if you believe xp's network monitor) and gigabit only used at most 1.5%. Is this the best performance i can expect? What have others observed? Can anyone suggest where the bottleneck might be? Does anyone have any suggestions on what configs to tweak? All of my test code, and deployable ear is located at http://www.sharpuniverse.com/jboss/jms-performance There is a publisher and subscriber swingapps which are webstart deployed. There is also a publisher servlet. Deploy the ear and go to context: jms-performance-test for everything Here's a little more info on my tests: JBoss3.0.3 Protocal/ConnecitonFactory: OIL 100MegaBit tests: Network: several different networks all switched Server/Client boxes: Various differnt boxes runing w2k, wxp, osx and linux, various different jdks 1.4.0 - 1.4.1_01 Gigabit tests: Network: 2 boxes with crossover cable Server: MacOSX running jdk1.3.1 Client: WindowsXP running jdk1.4.1_01 .peter --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Alwyn Schoeman SMART Money Inc. The clock on the wall keeps moving, time stands still... No matter how the dice may fall, someone else always gets to call the number... msg22373/pgp0.pgp Description: PGP signature
[JBoss-user] JMX RMI connection
Hi there, I would like to add a Model MBean to the JBoss MBeanServer. How can I determine on which port I have to connect my RMIConnectorClient Thanks Erik PS: I'm using JBoss 2.4.3
Re: [JBoss-user] JBossMQ Perforamance
I must have been smoking. Seeing that the time slice per message will be shorter for Gigabit ethernet, the collision theory is mostly incorrect unless you have lots of users on same segment. You should however have some difficulty filling up gigabit ethernet from one pc. On Tue, Oct 22, 2002 at 12:40:42AM -0500, Peter Luttrell wrote: In order to ascertain if JBossMQ is capable of providing the throughput I need, i've constructed a couple of little apps to see what kind of performance i can get. Here's what i've found: 100 Megabit: 1250-1350 messages per second Gigabit: 1500-1600 messages per second I was hoping to see a bit better performance then this; especially a larger differential with Gigabit. 100Megabit only used about 10% of the network bandwidth (if you believe xp's network monitor) and gigabit only used at most 1.5%. Is this the best performance i can expect? What have others observed? Can anyone suggest where the bottleneck might be? Does anyone have any suggestions on what configs to tweak? All of my test code, and deployable ear is located at http://www.sharpuniverse.com/jboss/jms-performance There is a publisher and subscriber swingapps which are webstart deployed. There is also a publisher servlet. Deploy the ear and go to context: jms-performance-test for everything Here's a little more info on my tests: JBoss3.0.3 Protocal/ConnecitonFactory: OIL 100MegaBit tests: Network: several different networks all switched Server/Client boxes: Various differnt boxes runing w2k, wxp, osx and linux, various different jdks 1.4.0 - 1.4.1_01 Gigabit tests: Network: 2 boxes with crossover cable Server: MacOSX running jdk1.3.1 Client: WindowsXP running jdk1.4.1_01 .peter --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Alwyn Schoeman SMART Money Inc. The clock on the wall keeps moving, time stands still... No matter how the dice may fall, someone else always gets to call the number... msg22375/pgp0.pgp Description: PGP signature
RE: [JBoss-user] Simple Hello-World Webservice for 3.2?
Bruce, I have a simple hello world type of example for jboss-net at: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jbos s/jboss-net-HelloWorld.shtml I have seen this and enjoyed it already. What I would really apreciate is to see - a completely packaged hello.wsr - view of the resulting tree i.e. jboss/server/deploy/wereever/hello.wsr or such. I thank you very much for your efforts. Heiko --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Running out of connections
I'm glad you fixed the problems. IdleTimeoutMinutes in the pool config is probably what you need to look at. david jencks On 2002.10.21 21:47:11 -0400 Camus Chan wrote: Ok, guys, I have a good news. After modifications, the problem goes away. Thanks very much for dm and david for pointing out and giving me directions to solve the long-lasted problem and my bug-ful programs. For CMP, we observed that the connection is lasted for some minutes after completing the request and then auto-closed. Is there parameter to configure this auto-close time ? Camus -Original Message- From: [EMAIL PROTECTED] [mailto:jboss-user-admin;lists.sourceforge.net]On Behalf Of Camus Chan Sent: Monday, October 21, 2002 1:28 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Running out of connections OK, so let me try to lookup the datasource within setentitycontext while getting and closing method within each method. FYI, right now, I don't have the connection is closed style exception ? It seems no problem accessing the database. Let me try and come back to you. How about CMP ? -Original Message- From: [EMAIL PROTECTED] [mailto:jboss-user-admin;lists.sourceforge.net]On Behalf Of Dmitri Colebatch Sent: Monday, October 21, 2002 1:07 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Running out of connections So, in setEntityContext you obtain a connection, and you close it in every find method? Ordinarily this would lead to connection is closed style exceptions because setEntiyContext is called once, and the find*** methods are obviously called many times. However, in EJB, calling conn.close simply disassociates the conn with the current thread. Ok, basically, dont call getDBConnection in setEntityContext, call it in the ejbFind*** methods. And dont have it as a class member, just have a var in the method - although you could have a class member, this is my preference. hth dim - Original Message - From: Camus Chan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 21, 2002 2:29 PM Subject: RE: [JBoss-user] Running out of connections For BMP: I set the connection through: private Connection getDBConnection() throws SQLException, RemoteException { Connection con = null; try{ InitialContext iCtx = new InitialContext(); DataSource ds = (DataSource)iCtx.lookup (java:/OracleDS); con = ds.getConnection(); } catch(Exception e) { System.out.println(getDBConnection : + e.toString()); } return con; } public void setEntityContext(EntityContext ctx) { //System.out.println (== start setEntityContext ); context = ctx; try { conn = getDBConnection(); } catch(SQLException se) { System.out.print(SQLException Found : + se.toString()); } catch(RemoteException re) { System.out.print(RemoteException Found : + re.toString()); } } public void unsetEntityContext() { System.out.println (== start unsetEntityContext ); context = null; } In every ejbFindxxx method, I have, e.g.: public ArrayList ejbFindByDate(String d) { try { . } catch(Exception e) {...} finally { if(conn!=null) conn.close() ; } } Is that the proper way to do open / close connection getting from the connection pool for a BMP ? -Original Message- From: [EMAIL PROTECTED] [mailto:jboss-user-admin;lists.sourceforge.net]On Behalf Of Dmitri Colebatch Sent: Monday, October 21, 2002 11:44 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Running out of connections Could you kindly tell me which configuration files and parameters which are related to the pool as I am afraid that if I am missing some of them ? One more is that the status is marked *INACTIVE* and logon_time was lasted for over 24-hour (in v$session), and *ESTABLISHED* when using netstat -an | grep 1521. do you open connections yourself? This suggests to me that there are connections not being closed. Make sure that you always close your connections inside a finally block. hth dim Sorry, I don't know anything about the testsuite. Where could I have it ? Thanks, Camus -Original Message- From: [EMAIL PROTECTED] [mailto:jboss-user-admin;lists.sourceforge.net]On Behalf Of David Jencks Sent: Monday, October 21, 2002 10:18 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Running out of connections Sorry, I am highly sceptical of these problems. I think if there were a problem in jboss the
RE: [JBoss-user] JBossMQ Perforamance
You should however have some difficulty filling up gigabit ethernet from Packets per second is one thing. The other is packet size. With small packets, a network adapter or switch can be at its limit even if the network if not filled. On the other hand with large packets a network can fill up even if the throughput in pps is not at its maximum point. --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] SSL with JBoss/Tomcat: JaasSecurityManager is not registered
Title: SSL with JBoss/Tomcat: JaasSecurityManager is not registered This is wrong. You need to specify the security manager name as specified in the jboss-service.xml descriptor in the JaasSecurityDomain setup rather than changing the JaasSecurityManager . Use this config: mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="Security:name=JaasSecurityDomain,domain=RMI+SSL" constructor arg type="java.lang.String" value="RMI+SSL"/ /constructor attribute name="KeyStoreURL"chap8.keystore/attribute attribute name="KeyStorePass"rmi+ssl/attribute attribute name="ManagerServiceName"jboss.security:name=JaasSecurityManager/attribute /mbean Scott StarkChief Technology OfficerJBoss Group, LLC - Original Message - From: Scott M Stark To: [EMAIL PROTECTED] Sent: Monday, October 21, 2002 10:57 PM Subject: Re: [JBoss-user] SSL with JBoss/Tomcat: JaasSecurityManager is not registered Change the name of the JaasSecurityManagerService in the conf/jboss-service.xml file from: mbean code="org.jboss.security.plugins.JaasSecurityManagerService" name="jboss.security:name=JaasSecurityManager" to: mbean code="org.jboss.security.plugins.JaasSecurityManagerService" name="jboss.security:service=JaasSecurityManager" Scott StarkChief Technology OfficerJBoss Group, LLC - Original Message - From: JD Brennan To: JBoss Users (E-mail) Sent: Monday, October 21, 2002 6:07 PM Subject: [JBoss-user] SSL with JBoss/Tomcat: JaasSecurityManager is not registered I'm trying to configure JBoss 3.0.0_tomcat_4.0.3 with SSL. I followed the instructions in the JBoss Administration and Development document. 1) Generated chap8.keystore file and copied to $JBOSS_HOME/server/default/conf 2) Modified tomcat4-service.xml to add !-- The SSL domain setup -- mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="Security:name=JaasSecurityDomain,domain=RMI+SSL" constructor arg type="java.lang.String" value="RMI+SSL"/ /constructor attribute name="KeyStoreURL"chap8.keystore/attribute attribute name="KeyStorePass"rmi+ssl/attribute /mbean and !-- A HTTPS Connector on port 8443 -- Connector className = "org.apache.catalina.connector.http.HttpConnector" port = "8443" scheme="https" secure="true" Factory className="org.jboss.web.catalina.security.SSLServerSocketFactory" securityDomainName="java:/jaas/RMI+SSL" clientAuth="false" protocol="TLS"/ /Connector This generates this error in the server.log: 17:18:27,711 ERROR [SARDeployer] start operation failed on package file:/opt/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/tomcat4-service.xml javax.management.InstanceNotFoundException: jboss.security:service=JaasSecurityManager is not registered. at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:403) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480) at org.jboss.security.plugins.JaasSecurityDomain.start(JaasSecurityDomain.java:116) ... What mbean code should be registered with name=jboss.security:service=JaasSecurityManager ?? Tx! JD
Re: [JBoss-user] SSL with JBoss/Tomcat: JaasSecurityManager is not registered
Title: SSL with JBoss/Tomcat: JaasSecurityManager is not registered This is wrong. You need to specify the security manager name as specified in the jboss-service.xml descriptor in the JaasSecurityDomain setup rather than changing the JaasSecurityManager . Use this config: mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="Security:name=JaasSecurityDomain,domain=RMI+SSL" constructor arg type="java.lang.String" value="RMI+SSL"/ /constructor attribute name="KeyStoreURL"chap8.keystore/attribute attribute name="KeyStorePass"rmi+ssl/attribute attribute name="ManagerServiceName"jboss.security:name=JaasSecurityManager/attribute /mbean Scott StarkChief Technology OfficerJBoss Group, LLC - Original Message - From: Scott M Stark To: [EMAIL PROTECTED] Sent: Monday, October 21, 2002 10:57 PM Subject: Re: [JBoss-user] SSL with JBoss/Tomcat: JaasSecurityManager is not registered Change the name of the JaasSecurityManagerService in the conf/jboss-service.xml file from: mbean code="org.jboss.security.plugins.JaasSecurityManagerService" name="jboss.security:name=JaasSecurityManager" to: mbean code="org.jboss.security.plugins.JaasSecurityManagerService" name="jboss.security:service=JaasSecurityManager" Scott StarkChief Technology OfficerJBoss Group, LLC - Original Message - From: JD Brennan To: JBoss Users (E-mail) Sent: Monday, October 21, 2002 6:07 PM Subject: [JBoss-user] SSL with JBoss/Tomcat: JaasSecurityManager is not registered I'm trying to configure JBoss 3.0.0_tomcat_4.0.3 with SSL. I followed the instructions in the JBoss Administration and Development document. 1) Generated chap8.keystore file and copied to $JBOSS_HOME/server/default/conf 2) Modified tomcat4-service.xml to add !-- The SSL domain setup -- mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="Security:name=JaasSecurityDomain,domain=RMI+SSL" constructor arg type="java.lang.String" value="RMI+SSL"/ /constructor attribute name="KeyStoreURL"chap8.keystore/attribute attribute name="KeyStorePass"rmi+ssl/attribute /mbean and !-- A HTTPS Connector on port 8443 -- Connector className = "org.apache.catalina.connector.http.HttpConnector" port = "8443" scheme="https" secure="true" Factory className="org.jboss.web.catalina.security.SSLServerSocketFactory" securityDomainName="java:/jaas/RMI+SSL" clientAuth="false" protocol="TLS"/ /Connector This generates this error in the server.log: 17:18:27,711 ERROR [SARDeployer] start operation failed on package file:/opt/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/tomcat4-service.xml javax.management.InstanceNotFoundException: jboss.security:service=JaasSecurityManager is not registered. at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:403) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480) at org.jboss.security.plugins.JaasSecurityDomain.start(JaasSecurityDomain.java:116) ... What mbean code should be registered with name=jboss.security:service=JaasSecurityManager ?? Tx! JD
RE: [JBoss-user] JBossMQ Perforamance
Peter, The new OIL2 Invocation layer is supposed to contain significant performance enhancements. Plug in org.jboss.mq.il.oil2.OIL2ServerILService as your new Invocation Layer and let us know the new results. Thanks, Corby --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Simple Hello-World Webservice for 3.2?
I've renamed the ear to _ear.zip so you can easily open it. Hope this helps. Ricardo - Original Message - From: Rupp,Heiko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 22, 2002 2:05 PM Subject: RE: [JBoss-user] Simple Hello-World Webservice for 3.2? Bruce, I have a simple hello world type of example for jboss-net at: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jbos s/jboss-net-HelloWorld.shtml I have seen this and enjoyed it already. What I would really apreciate is to see - a completely packaged hello.wsr - view of the resulting tree i.e. jboss/server/deploy/wereever/hello.wsr or such. I thank you very much for your efforts. Heiko --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user HelloEJB_ear.zip Description: Zip compressed data
RE: [JBoss-user] JBossMQ Perforamance
I assume that all I need to change is from this: mbean code=org.jboss.mq.il.oil.OILServerILService name=jboss.mq:service=InvocationLayer,type=OIL depends optional-attribute-name=Invokerjboss.mq:service=Invoker/depends attribute name=ConnectionFactoryJNDIRefConnectionFactory/attribute attribute name=XAConnectionFactoryJNDIRefXAConnectionFactory/attribute attribute name=ServerBindPort8090/attribute attribute name=PingPeriod6/attribute attribute name=EnableTcpNoDelaytrue/attribute /mbean to this: mbean code=org.jboss.mq.il.oil2.OIL2ServerILService name=jboss.mq:service=InvocationLayer,type=OIL depends optional-attribute-name=Invokerjboss.mq:service=Invoker/depends attribute name=ConnectionFactoryJNDIRefConnectionFactory/attribute attribute name=XAConnectionFactoryJNDIRefXAConnectionFactory/attribute attribute name=ServerBindPort8090/attribute attribute name=PingPeriod6/attribute attribute name=EnableTcpNoDelaytrue/attribute /mbean If this is correct the results aren't so great, in fact its slower then the original OIL. Just did a couple of tests at work (somewhat of a congested network): OIL1: 1000-1050 messages per second OIL2: 550-600 messages per second .peter -Original Message- From: Corby Page [mailto:CorbyPage;duke-energy.com] Sent: Tuesday, October 22, 2002 10:22 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] JBossMQ Perforamance Peter, The new OIL2 Invocation layer is supposed to contain significant performance enhancements. Plug in org.jboss.mq.il.oil2.OIL2ServerILService as your new Invocation Layer and let us know the new results. Thanks, Corby --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us. --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Any plans for a 2.4.10/Tomcat4.1.12EOM?
--- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JUnitEE and test local interfaces
no you can't, what you have to do is to propagate testcase in a bean that's in the same deployment unit of your other beans. we do such test in forum application, you can have a look to org.jboss.forum.test.BasicTest. it extends EJBTestCase and use a bean from jboss.blocks to do that. - Original Message - From: KRÁLIK Vladimír [EMAIL PROTECTED] To: Jboss-Users (E-mail) [EMAIL PROTECTED] Sent: Tuesday, October 22, 2002 2:13 PM Subject: [JBoss-user] JUnitEE and test local interfaces Hello all, I tried test my local EJB with JUnitEE servlet, but I get only ClassCastException when I try cast to local-interface. Has anybody experience with testing local-interfaces ? May I call local-interface from WEB-application ( JSP/Servlets ) ? thank's vlk My environment : Windows 2000 JDK 1.3.1_02 JBoss 3.0.3 with Jetty JUnitEE 1.5.1 -- Vladimir Kralik Asset Soft Banska Bystrica --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] SSL with JBoss/Tomcat: JaasSecurityManager is not registered
Title: SSL with JBoss/Tomcat: JaasSecurityManager is not registered Thanks! Makes sense. I have it working now! Yeah! For the record, the attribute name is "SecurityManagerService" in 3.0.0, not "ManagerServiceName". That was easy to figure out from the source code. Gotta love open source! Tx! JD -Original Message-From: Scott M Stark [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 22, 2002 7:12 AMTo: [EMAIL PROTECTED]Subject: Re: [JBoss-user] SSL with JBoss/Tomcat: JaasSecurityManager is not registered This is wrong. You need to specify the security manager name as specified in the jboss-service.xml descriptor in the JaasSecurityDomain setup rather than changing the JaasSecurityManager . Use this config: mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="Security:name=JaasSecurityDomain,domain=RMI+SSL" constructor arg type="java.lang.String" value="RMI+SSL"/ /constructor attribute name="KeyStoreURL"chap8.keystore/attribute attribute name="KeyStorePass"rmi+ssl/attribute attribute name="ManagerServiceName"jboss.security:name=JaasSecurityManager/attribute /mbean Scott StarkChief Technology OfficerJBoss Group, LLC - Original Message - From: Scott M Stark To: [EMAIL PROTECTED] Sent: Monday, October 21, 2002 10:57 PM Subject: Re: [JBoss-user] SSL with JBoss/Tomcat: JaasSecurityManager is not registered Change the name of the JaasSecurityManagerService in the conf/jboss-service.xml file from: mbean code="org.jboss.security.plugins.JaasSecurityManagerService" name="jboss.security:name=JaasSecurityManager" to: mbean code="org.jboss.security.plugins.JaasSecurityManagerService" name="jboss.security:service=JaasSecurityManager" Scott StarkChief Technology OfficerJBoss Group, LLC - Original Message - From: JD Brennan To: JBoss Users (E-mail) Sent: Monday, October 21, 2002 6:07 PM Subject: [JBoss-user] SSL with JBoss/Tomcat: JaasSecurityManager is not registered I'm trying to configure JBoss 3.0.0_tomcat_4.0.3 with SSL. I followed the instructions in the JBoss Administration and Development document. 1) Generated chap8.keystore file and copied to $JBOSS_HOME/server/default/conf 2) Modified tomcat4-service.xml to add !-- The SSL domain setup -- mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="Security:name=JaasSecurityDomain,domain=RMI+SSL" constructor arg type="java.lang.String" value="RMI+SSL"/ /constructor attribute name="KeyStoreURL"chap8.keystore/attribute attribute name="KeyStorePass"rmi+ssl/attribute /mbean and !-- A HTTPS Connector on port 8443 -- Connector className = "org.apache.catalina.connector.http.HttpConnector" port = "8443" scheme="https" secure="true" Factory className="org.jboss.web.catalina.security.SSLServerSocketFactory" securityDomainName="java:/jaas/RMI+SSL" clientAuth="false" protocol="TLS"/ /Connector This generates this error in the server.log: 17:18:27,711 ERROR [SARDeployer] start operation failed on package file:/opt/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/tomcat4-service.xml javax.management.InstanceNotFoundException: jboss.security:service=JaasSecurityManager is not registered. at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:403) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480) at org.jboss.security.plugins.JaasSecurityDomain.start(JaasSecurityDomain.java:116) ... What mbean code should be registered with name=jboss.security:service=JaasSecurityManager ?? Tx! JD
RE: [JBoss-user] JUnitEE and test local interfaces
Why not? I call EJB local interfaces from my web applications (packaged in the same EAR) just fine. Jeff Schnitzer [EMAIL PROTECTED] -Original Message- From: Julien Viet [mailto:julien_viet;yahoo.fr] Sent: Tuesday, October 22, 2002 11:29 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JUnitEE and test local interfaces no you can't, what you have to do is to propagate testcase in a bean that's in the same deployment unit of your other beans. we do such test in forum application, you can have a look to org.jboss.forum.test.BasicTest. it extends EJBTestCase and use a bean from jboss.blocks to do that. - Original Message - From: KRÁLIK Vladimír [EMAIL PROTECTED] To: Jboss-Users (E-mail) [EMAIL PROTECTED] Sent: Tuesday, October 22, 2002 2:13 PM Subject: [JBoss-user] JUnitEE and test local interfaces Hello all, I tried test my local EJB with JUnitEE servlet, but I get only ClassCastException when I try cast to local-interface. Has anybody experience with testing local-interfaces ? May I call local-interface from WEB-application ( JSP/Servlets ) ? thank's vlk My environment : Windows 2000 JDK 1.3.1_02 JBoss 3.0.3 with Jetty JUnitEE 1.5.1 -- Vladimir Kralik Asset Soft Banska Bystrica --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JCA: problems on deployment
I hope somebody out there can help me with this problem: I trying to get my first JCA example running. First I build a jar-file containing the compiled class-files. This jar-file I put together with META-INF/ra.xml into a rar-file. This file is deployed first without any problems. ?xml version="1.0" encoding="UTF-8"? !DOCTYPE connector PUBLIC '-//Sun Microsystems, Inc.//DTD Connector 1.0//EN' 'http://java.sun.com/j2ee/dtds/connector_1_0.dtd' connector display-nameMBI3/display-name vendor-nameMBI/vendor-name spec-version1.0/spec-version eis-typeMBI3-Connection/eis-type version1.0/version resourceadapter managedconnectionfactory-classjca.mbi3.ManagedConnectionFactoryImpl/managedconnectionfactory-class connectionfactory-interfacejavax.resource.cci.ConnectionFactory/connectionfactory-interface connectionfactory-impl-classjca.mbi3.ConnectionFactoryImpl/connectionfactory-impl-class connection-interfacejavax.resource.cci.Connection/connection-interface connection-impl-classjca.mbi3.ConnectionImpl/connection-impl-class transaction-supportNoTransaction/transaction-support config-property config-property-nameConnectionURL/config-property-name config-property-typejava.lang.String/config-property-type config-property-value/tmp/test.properties/config-property-value /config-property authentication-mechanism authentication-mechanism-typeBasicPassword/authentication-mechanism-type credential-interfacejavax.resource.security.PasswordCredential/credential-interface /authentication-mechanism reauthentication-supportfalse/reauthentication-support /resourceadapter /connector My mbi3-service.xml looks like this: ?xml version="1.0" encoding="UTF-8"? service mbean code="org.jboss.resource.connectionmanager.LocalTxConnectionManager" name="jboss.jca:service=LocalTxCM,name=MBI3" depends optional-attribute-name="ManagedConnectionFactoryName" mbean code="org.jboss.resource.connectionmanager.RARDeployment" name="jboss.jca:service=LocalTxDS,name=MBI3" depends optional-attribute-name="OldRarDeployment"jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper/depends depends optional-attribute-name="OldRarDeployment"jboss.jca:service=RARDeployment,name=MBI3/depends attribute name="JndiName"eis/MBI3/attribute /mbean /depends depends optional-attribute-name="ManagedConnectionPool" mbean code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool" name="jboss.jca:service=LocalTxPool,name=MBI3" attribute name="MinSize"0/attribute attribute name="MaxSize"20/attribute attribute name="BlockingTimeoutMillis"5000/attribute attribute name="IdleTimeoutMinutes"15/attribute attribute name="Criteria"ByContainer/attribute /mbean /depends /mbean /service When I deploy the service-file, I get an exception from jboss-server: 2002-10-22 22:08:55,090 INFO [org.jboss.system.server.Server] JBoss started in 60s:770ms 2002-10-22 22:10:30,270 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/home/jboss/java/JBoss-cvs/jboss-head/build/output/jboss-4.0.0alpha/server/rm200/deploy/mbi3.rar 2002-10-22 22:10:30,470 INFO [org.jboss.resource.RARDeployer] looking for nested deployments in : file:/home/jboss/java/JBoss-cvs/jboss-head/build/output/jboss-4.0.0alpha/server/rm200/deploy/mbi3.rar 2002-10-22 22:10:30,480 INFO [org.jboss.resource.RARDeployer] nested deployment: file:/home/jboss/java/JBoss-cvs/jboss-head/build/output/jboss-4.0.0alpha/server/rm200/tmp/deploy/server/rm200/deploy/mbi3.rar/59.mbi3.rar-contents/mbi3.jar 2002-10-22 22:10:30,550 INFO [org.jboss.deployment.JARDeployer] looking for nested deployments in : file:/home/jboss/java/JBoss-cvs/jboss-head/build/output/jboss-4.0.0alpha/server/rm200/tmp/deploy/server/rm200/deploy/mbi3.rar/59.mbi3.rar-contents/mbi3.jar 2002-10-22 22:10:30,580 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/home/jboss/java/JBoss-cvs/jboss-head/build/output/jboss-4.0.0alpha/server/rm200/deploy/mbi3.rar 2002-10-22 22:10:35,780 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/home/jboss/java/JBoss-cvs/jboss-head/build/output/jboss-4.0.0alpha/server/rm200/deploy/mbi3-service.xml 2002-10-22 22:10:35,800 INFO [org.jboss.deployment.SARDeployer] looking for nested deployments in : file:/home/jboss/java/JBoss-cvs/jboss-head/build/output/jboss-4.0.0alpha/server/rm200/deploy/mbi3-service.xml 2002-10-22 22:10:35,850 INFO [org.jboss.system.ServiceConfigurator] Problem configuring service jboss.jca:service=LocalTxDS,name=MBI3 org.jboss.deployment.DeploymentException: No Attribute found with name: JndiName at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:350) at
Re: [JBoss-user] JBossMQ Perforamance
Will this change mean that any programs will still continue to use ConnectionFactory in the JNDI lookup, but will get new OIL2 factory? From which version is OIL2 supported? On Tue, Oct 22, 2002 at 11:26:54AM -0500, Luttrell, Peter wrote: I assume that all I need to change is from this: mbean code=org.jboss.mq.il.oil.OILServerILService name=jboss.mq:service=InvocationLayer,type=OIL depends optional-attribute-name=Invokerjboss.mq:service=Invoker/depends attribute name=ConnectionFactoryJNDIRefConnectionFactory/attribute attribute name=XAConnectionFactoryJNDIRefXAConnectionFactory/attribute attribute name=ServerBindPort8090/attribute attribute name=PingPeriod6/attribute attribute name=EnableTcpNoDelaytrue/attribute /mbean to this: mbean code=org.jboss.mq.il.oil2.OIL2ServerILService name=jboss.mq:service=InvocationLayer,type=OIL depends optional-attribute-name=Invokerjboss.mq:service=Invoker/depends attribute name=ConnectionFactoryJNDIRefConnectionFactory/attribute attribute name=XAConnectionFactoryJNDIRefXAConnectionFactory/attribute attribute name=ServerBindPort8090/attribute attribute name=PingPeriod6/attribute attribute name=EnableTcpNoDelaytrue/attribute /mbean If this is correct the results aren't so great, in fact its slower then the original OIL. Just did a couple of tests at work (somewhat of a congested network): OIL1: 1000-1050 messages per second OIL2: 550-600 messages per second .peter -Original Message- From: Corby Page [mailto:CorbyPage;duke-energy.com] Sent: Tuesday, October 22, 2002 10:22 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] JBossMQ Perforamance Peter, The new OIL2 Invocation layer is supposed to contain significant performance enhancements. Plug in org.jboss.mq.il.oil2.OIL2ServerILService as your new Invocation Layer and let us know the new results. Thanks, Corby --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us. --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Alwyn Schoeman SMART Money Inc. The clock on the wall keeps moving, time stands still... No matter how the dice may fall, someone else always gets to call the number... msg22393/pgp0.pgp Description: PGP signature
Re: off-topic: Re: [JBoss-user] JBoss Starting at Boot on OS XServer
We are running JBoss 3.2 beta on an Apple Xserve. We got the dual 1GHz machine and it smokes. We have yet to do all the final performance testing but it is quite a bit faster than our older Linux box, which was a dual 800 PIII. Overall, the hardware is excellently made. I was really impressed... OS X Server is a really great OS to maintain and run... I can do all my UNIX stuff but still have a easy to use GUI for the stuff that I don't want to muck about in the command line for... I really like it. Hunter From: Lennart Petersson [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Tue, 22 Oct 2002 09:04:13 +0200 To: [EMAIL PROTECTED] Subject: off-topic: Re: [JBoss-user] JBoss Starting at Boot on OS X Server Hi Hunter! What is your feeling of the OS X Server with regard to performance etc...? /Lennart - with a slim and shiny Ti :) söndagen den 20 oktober 2002 kl 21.21 skrev Hunter Hillegas: I am trying to get JBoss started at boot time on my OS X Server. I have copied a 'StartupItem' config and it looks right... It calls a script that starts JBoss. The StartupItem gets called, I see it in the log. It just states, 'Waiting on JBoss Server' and JBoss never starts. When I run the script after logging in, JBoss starts normally. Has anyone else done this successfully? Thanks, Hunter --- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user