RE: [JBoss-dev] Test Suite broken?
This issue made me run in circles somehow. On friday I had a fix that appeared to require a small patch on JacORB. Now I redone all testing at home and it seems that my patch is not really needed. I wonder if there is some difference between my work environment and my home environment... Anyway, this is working for me at home (a Linux box): To run the JBoss server with IIOP, just uncomment the RMI/IIOP MBean entry in jboss-service.xml. Then set the enviroment variables indicated below. (No need for an Xbootclasspath switch!) # With IBM's jdk 1.3 or 1.3.1: export JBOSS_CLASSPATH=$JBOSS_HOME/lib/jacorb.jar export JAVA_OPTS=-Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton # With Sun's jdk 1.3.1: export JAVA_OPTS=-server -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton # With Sun's jdk 1.4.0: export JAVA_OPTS=-server -Dpolicy.expandProperties=false -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton (With Sun's jdk 1.3.1 you might want to replace -server by -classic, to avoid running out of memory/threads on Linux. There is no -classic in jdk 1.4...) Start the JBoss server as usual. To run the iiop testcases, go to the testsuite directory and say: build.sh -Dtest=helloiiop -Dnojars=true iiop-test or build.sh -Dtest=bankiiop -Dnojars=true iiop-test Note that you only need to put jacorb.jar in the JBOSS_CLASSPATH with the IBM jdk (which is the one that works better on Linux). I do not know the reason... Cheers, Francisco On Sat, 13 Apr 2002, Jason Dillon wrote: I asked Francisco to look into the details further and am still waiting for information about the problem. I am working on it and had good results already. It seems that a very small change on JacORB will render unnecessary the Xbootclasspath hack. Excelent! If my testing goes well this afternoon, I will ask you to add iiop to the default config. Without the Xbootclasspath thing, of course. I would really like it to be in the next beta. Yes, let me know. I would like to make iiop build by default, let me know what the results of your testing are. Thanks, --jason - This mail sent through IMP: http://horde.org/imp/ ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] Test Suite broken?
I asked Francisco to look into the details further and am still waiting for information about the problem. I am working on it and had good results already. It seems that a very small change on JacORB will render unnecessary the Xbootclasspath hack. Excelent! If my testing goes well this afternoon, I will ask you to add iiop to the default config. Without the Xbootclasspath thing, of course. I would really like it to be in the next beta. Yes, let me know. I would like to make iiop build by default, let me know what the results of your testing are. Thanks, --jason - This mail sent through IMP: http://horde.org/imp/ ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] Test Suite broken?
Hi! I think that this is a jacorb problem and for now we cannot remove the -Xbootclasspath :-( If I remember well the problem is when the iiop container invoker tries to bind the ejb home into the corba naming space, it cannot create a subcontext. Claudio PS to Francisco: I have tested iiop in jdk 1.4 in my test bed with jython, it works! (deploy in jboss and calling ejb over iiop) :-) but the testsuite is still falling, today I'll try to figure why. -Original Message- From: Jason Dillon [SMTP:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 11:07 PM To: Vesco Claudio Cc: 'David Jencks'; [EMAIL PROTECTED] Subject: Re: [JBoss-dev] Test Suite broken? export JAVA_OPT=-Dpolicy.expandProperties=false -Xbootclasspath/p:$JBOSS_HOME/lib/jacorb.jar We need to fix this... having to rely on non-standard -X flags to the JVM is going to be a pain in the ass... There must be a better way to get around this issue with JacORB. --jason ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] Test Suite broken?
Yes, I understand this is a JacORB issue... but I suggest that there is a better way to handle the problem which they are trying to solve otherthan adding the the jvm boot classpath. I asked Francisco to look into the details further and am still waiting for information about the problem. We want to use JBoss for classloading not force users to start managing hacked archives on there boot classpath. For example, if the classes are remote (using NetBoot), we then have a problem adding the jar to the boot classpath. I think it is a REALLY BAD IDEA to special case this or any other archive just to make the system work. For example, imagine if JBoss insisted that the java.lang.String impl was broken (which it might be) and forced you to use a patched version of the VM classes for the system to work correctly... what a pain in the ass. It would have been better to handle the buggy String impl in a different fashion. Since I do not know the full details of the JacORB hack, I can not say that the case is the same, but I can say that there is a high chance that an alternative aproache could be used to solve the same problem. I think that until this is solved, we can not ship with iiop support in the default config, as there is no easy way to determie and setup this boot classpath hack. --jason Quoting Vesco Claudio [EMAIL PROTECTED]: Hi! I think that this is a jacorb problem and for now we cannot remove the -Xbootclasspath :-( If I remember well the problem is when the iiop container invoker tries to bind the ejb home into the corba naming space, it cannot create a subcontext. Claudio PS to Francisco: I have tested iiop in jdk 1.4 in my test bed with jython, it works! (deploy in jboss and calling ejb over iiop) :-) but the testsuite is still falling, today I'll try to figure why. -Original Message- From: Jason Dillon [SMTP:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 11:07 PM To: Vesco Claudio Cc: 'David Jencks'; [EMAIL PROTECTED] Subject:Re: [JBoss-dev] Test Suite broken? export JAVA_OPT=-Dpolicy.expandProperties=false -Xbootclasspath/p:$JBOSS_HOME/lib/jacorb.jar We need to fix this... having to rely on non-standard -X flags to the JVM is going to be a pain in the ass... There must be a better way to get around this issue with JacORB. --jason - This mail sent through IMP: http://horde.org/imp/ ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] Test Suite broken?
I agree with you completely with you. These hacks are only made locally in my system only for testing the great Francisco's work. When we go in production phase we need to resolve the remaining issues. Claudio -Original Message- From: Jason Dillon [SMTP:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 10:45 AM To: Vesco Claudio Cc: 'David Jencks'; [EMAIL PROTECTED]; 'Francisco Reverbel' Subject: RE: [JBoss-dev] Test Suite broken? Yes, I understand this is a JacORB issue... but I suggest that there is a better way to handle the problem which they are trying to solve otherthan adding the the jvm boot classpath. I asked Francisco to look into the details further and am still waiting for information about the problem. We want to use JBoss for classloading not force users to start managing hacked archives on there boot classpath. For example, if the classes are remote (using NetBoot), we then have a problem adding the jar to the boot classpath. I think it is a REALLY BAD IDEA to special case this or any other archive just to make the system work. For example, imagine if JBoss insisted that the java.lang.String impl was broken (which it might be) and forced you to use a patched version of the VM classes for the system to work correctly... what a pain in the ass. It would have been better to handle the buggy String impl in a different fashion. Since I do not know the full details of the JacORB hack, I can not say that the case is the same, but I can say that there is a high chance that an alternative aproache could be used to solve the same problem. I think that until this is solved, we can not ship with iiop support in the default config, as there is no easy way to determie and setup this boot classpath hack. --jason Quoting Vesco Claudio [EMAIL PROTECTED]: Hi! I think that this is a jacorb problem and for now we cannot remove the -Xbootclasspath :-( If I remember well the problem is when the iiop container invoker tries to bind the ejb home into the corba naming space, it cannot create a subcontext. Claudio PS to Francisco: I have tested iiop in jdk 1.4 in my test bed with jython, it works! (deploy in jboss and calling ejb over iiop) :-) but the testsuite is still falling, today I'll try to figure why. -Original Message- From: Jason Dillon [SMTP:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 11:07 PM To: Vesco Claudio Cc: 'David Jencks'; [EMAIL PROTECTED] Subject: Re: [JBoss-dev] Test Suite broken? export JAVA_OPT=-Dpolicy.expandProperties=false -Xbootclasspath/p:$JBOSS_HOME/lib/jacorb.jar We need to fix this... having to rely on non-standard -X flags to the JVM is going to be a pain in the ass... There must be a better way to get around this issue with JacORB. --jason - This mail sent through IMP: http://horde.org/imp/ ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] Test Suite broken?
Hi Jason Claudio, On Fri, 12 Apr 2002, Jason Dillon wrote: Yes, I understand this is a JacORB issue... but I suggest that there is a better way to handle the problem which they are trying to solve otherthan adding the the jvm boot classpath. I asked Francisco to look into the details further and am still waiting for information about the problem. I am working on it and had good results already. It seems that a very small change on JacORB will render unnecessary the Xbootclasspath hack. Must still do some more testing and cannot do it right now. (Two big reports to evaluate till the end of the morning... Sigh...) I think that until this is solved, we can not ship with iiop support in the default config, as there is no easy way to determie and setup this boot classpath hack. If my testing goes well this afternoon, I will ask you to add iiop to the default config. Without the Xbootclasspath thing, of course. I would really like it to be in the next beta. Cheers, Francisco ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] Test Suite broken?
Hi Claudio, On Fri, 12 Apr 2002, Vesco Claudio wrote: PS to Francisco: I have tested iiop in jdk 1.4 in my test bed with jython, it works! (deploy in jboss and calling ejb over iiop) :-) That is Great! but the testsuite is still falling, today I'll try to figure why. Have you updated your tree recently? About a week ago I fixed a problem in the iiop testcases. They needed a client.policy file in order to do stub downloading (via http) from the JBoss server. I did not see the problem before because a java.policy in my home dir was already granting allPermission to everybody... Cheers, Francisco ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] Test Suite broken?
Hi! In weekdays, I update my local cvs every morning (Italy time) at minimum. At friday I make a CD image of the cvs repository and I continue to hack jboss at home where I don't have external connection (my modem has been burnt from a lightning :-( ). So... :-) Now I have completed the testsuite with some patches to iiop tests. You have reason that the problems are in client.policy, but you can test the iiop only with (in testsuite): ./build.bat -Dtest=test iiop-test which in windows does not function (ant is called with ant -Dtest test iiop-test, the = is lost in hyperspace :-( ) If I remember well, I think this is the only mode which permits to set the java.security.manager and java.security.policy properties. So, I have integrated the iiop tests in a new target, tests-standard-stress-iiop, which invokes the tests and sets the properties. With this new target, I have obtained that the iiop testsuite run but some tests fail with a timeout error (junit error). When I have this timeout error successive calls to jboss with corba fail and jboss does not go in shutdown :-((( I think that you have a security policy file in path (Have you tested with jdk 1.4? And have you tested with jdk 1.4 in windows?) I have another question, when I allocate the ORB I have a warning (no properties file found) by jacorb, I haven't problems with my test bed in jython. I think that at least for the server part (jboss server) we need this file in the iiop sar. Claudio -Original Message- From: Francisco Reverbel [SMTP:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 2:22 PM To: Vesco Claudio Cc: 'Jason Dillon'; 'David Jencks'; [EMAIL PROTECTED] Subject: RE: [JBoss-dev] Test Suite broken? Hi Claudio, On Fri, 12 Apr 2002, Vesco Claudio wrote: PS to Francisco: I have tested iiop in jdk 1.4 in my test bed with jython, it works! (deploy in jboss and calling ejb over iiop) :-) That is Great! but the testsuite is still falling, today I'll try to figure why. Have you updated your tree recently? About a week ago I fixed a problem in the iiop testcases. They needed a client.policy file in order to do stub downloading (via http) from the JBoss server. I did not see the problem before because a java.policy in my home dir was already granting allPermission to everybody... Cheers, Francisco ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] Test Suite broken?
Hi! When I comment the org.jboss.test.bankiiop.test.BankStressTestCase.testMultiThread2 test the timeout go out and jboss can be shutdown. With my patches to the testsuite IIOP TESTS RUN OK in jdk 1.4 + windows NT :-) and I DON'T have fixed the OK result :-) I'll try to understand why testMultiThread2 kills jboss... Claudio -Original Message- From: Vesco Claudio Sent: Friday, April 12, 2002 2:58 PM To: 'Francisco Reverbel'; Vesco Claudio Cc: 'Jason Dillon'; 'David Jencks'; [EMAIL PROTECTED] Subject: RE: [JBoss-dev] Test Suite broken? Hi! In weekdays, I update my local cvs every morning (Italy time) at minimum. At friday I make a CD image of the cvs repository and I continue to hack jboss at home where I don't have external connection (my modem has been burnt from a lightning :-( ). So... :-) Now I have completed the testsuite with some patches to iiop tests. You have reason that the problems are in client.policy, but you can test the iiop only with (in testsuite): ./build.bat -Dtest=test iiop-test which in windows does not function (ant is called with ant -Dtest test iiop-test, the = is lost in hyperspace :-( ) If I remember well, I think this is the only mode which permits to set the java.security.manager and java.security.policy properties. So, I have integrated the iiop tests in a new target, tests-standard-stress-iiop, which invokes the tests and sets the properties. With this new target, I have obtained that the iiop testsuite run but some tests fail with a timeout error (junit error). When I have this timeout error successive calls to jboss with corba fail and jboss does not go in shutdown :-((( I think that you have a security policy file in path (Have you tested with jdk 1.4? And have you tested with jdk 1.4 in windows?) I have another question, when I allocate the ORB I have a warning (no properties file found) by jacorb, I haven't problems with my test bed in jython. I think that at least for the server part (jboss server) we need this file in the iiop sar. Claudio -Original Message- From: Francisco Reverbel [SMTP:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 2:22 PM To: Vesco Claudio Cc: 'Jason Dillon'; 'David Jencks'; [EMAIL PROTECTED] Subject: RE: [JBoss-dev] Test Suite broken? Hi Claudio, On Fri, 12 Apr 2002, Vesco Claudio wrote: PS to Francisco: I have tested iiop in jdk 1.4 in my test bed with jython, it works! (deploy in jboss and calling ejb over iiop) :-) That is Great! but the testsuite is still falling, today I'll try to figure why. Have you updated your tree recently? About a week ago I fixed a problem in the iiop testcases. They needed a client.policy file in order to do stub downloading (via http) from the JBoss server. I did not see the problem before because a java.policy in my home dir was already granting allPermission to everybody... Cheers, Francisco ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] Test Suite broken?
Hi Claudio, On Fri, 12 Apr 2002, Vesco Claudio wrote: Now I have completed the testsuite with some patches to iiop tests. You have reason that the problems are in client.policy, but you can test the iiop only with (in testsuite): ./build.bat -Dtest=test iiop-test which in windows does not function (ant is called with ant -Dtest test iiop-test, the = is lost in hyperspace :-( ) If I remember well, I think this is the only mode which permits to set the java.security.manager and java.security.policy properties. So, I have integrated the iiop tests in a new target, tests-standard-stress-iiop, which invokes the tests and sets the properties. Sounds good. With this new target, I have obtained that the iiop testsuite run but some tests fail with a timeout error (junit error). When I have this timeout error successive calls to jboss with corba fail and jboss does not go in shutdown :-((( I don't get this error... I wonder what might be different in my environment... I think that you have a security policy file in path (Have you tested with jdk 1.4? And have you tested with jdk 1.4 in windows?) I removed my .java.policy... Yes, I tested with jdk 1.4, but only on Linux. I have another question, when I allocate the ORB I have a warning (no properties file found) by jacorb, I haven't problems with my test bed in jython. I think that at least for the server part (jboss server) we need this file in the iiop sar. You can safely ignore this warning at the server side, as the relevant info JacORB would get from a .jacorb.properties file is already being explicitly passed to the ORB.init() call. But maybe we should have a dummy properties file just to prevent JacORB from complaining. Cheers, Francisco ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] Test Suite broken?
In my test bed with jdk 1.4 I have only 5 failures + 63 errors. (CVS HEAD + some small patches) Claudio -Original Message- From: Chris Kimpton [SMTP:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 5:23 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] Test Suite broken? Hi, --- marc fleury [EMAIL PROTECTED] wrote: Guys 300 tests are broken, I would like to finish the training material so can't really be working on this, but fuck... something broke recently, must be silly. Please someone look at this, Unless it just broke, I think you are looking at the jdk1.4 test results - which have always been broken. The jdk1.3 tests show around 61 problems. Chris = -- http://www.soccer2002.org.uk __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] Test Suite broken?
So what are the patches? david jencks On 2002.04.11 12:22:39 -0400 Vesco Claudio wrote: In my test bed with jdk 1.4 I have only 5 failures + 63 errors. (CVS HEAD + some small patches) Claudio -Original Message- From: Chris Kimpton [SMTP:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 5:23 PM To: [EMAIL PROTECTED] Subject:Re: [JBoss-dev] Test Suite broken? Hi, --- marc fleury [EMAIL PROTECTED] wrote: Guys 300 tests are broken, I would like to finish the training material so can't really be working on this, but fuck... something broke recently, must be silly. Please someone look at this, Unless it just broke, I think you are looking at the jdk1.4 test results - which have always been broken. The jdk1.3 tests show around 61 problems. Chris = -- http://www.soccer2002.org.uk __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] Test Suite broken?
:-) starting jboss - export JAVA_OPT=-Dpolicy.expandProperties=false -Xbootclasspath/p:$JBOSS_HOME/lib/jacorb.jar this is in the mailing list and this in testsuite :-))) Index: testsuite/src/main/org/jboss/test/util/TestConnection.java === RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/util/TestConnection.java,v retrieving revision 1.2 diff -r1.2 TestConnection.java 123,127d122 // Note: The following methods have been added to make the testsuite compile // with JDK 1.4. // These methods will need to be implemented later on. // Uncomment those 12 methods to compile JBoss with JDK 1.4. /* 164,166c159 */ } \ No newline at end of file --- } Claudio -Original Message- From: David Jencks [SMTP:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 6:54 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] Test Suite broken? So what are the patches? david jencks On 2002.04.11 12:22:39 -0400 Vesco Claudio wrote: In my test bed with jdk 1.4 I have only 5 failures + 63 errors. (CVS HEAD + some small patches) Claudio -Original Message- From: Chris Kimpton [SMTP:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 5:23 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] Test Suite broken? Hi, --- marc fleury [EMAIL PROTECTED] wrote: Guys 300 tests are broken, I would like to finish the training material so can't really be working on this, but fuck... something broke recently, must be silly. Please someone look at this, Unless it just broke, I think you are looking at the jdk1.4 test results - which have always been broken. The jdk1.3 tests show around 61 problems. Chris = -- http://www.soccer2002.org.uk __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] Test Suite broken?
Looks like there are timeouts for the 1.4 tests, can someone look into why... --jason Chris Kimpton wrote: Hi, --- marc fleury [EMAIL PROTECTED] wrote: Guys 300 tests are broken, I would like to finish the training material so can't really be working on this, but fuck... something broke recently, must be silly. Please someone look at this, Unless it just broke, I think you are looking at the jdk1.4 test results - which have always been broken. The jdk1.3 tests show around 61 problems. Chris = -- http://www.soccer2002.org.uk __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] Test Suite broken?
export JAVA_OPT=-Dpolicy.expandProperties=false -Xbootclasspath/p:$JBOSS_HOME/lib/jacorb.jar We need to fix this... having to rely on non-standard -X flags to the JVM is going to be a pain in the ass... There must be a better way to get around this issue with JacORB. --jason ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development