Ashok, You will have to switch to Sun's JDK 1.5 for the moment. Its an xbean issue. Seems like when using IBM JDK 5 , the System property "java.endorsed.dirs" returns null, hence the null pointer exception. I will notify the xbean team of this issue. They will make changes and then we can incorporate the latest xbean jar in the openejb build.
Thanks!! On 9/6/07, Ashok Poralu <[EMAIL PROTECTED]> wrote: > Yes Karan, > > I have added the OPENEJB_HOME with the path where I extracted the zip to > system property. > > Thanks, > Ashok Poralu > > On 9/6/07, Karan Malhi <[EMAIL PROTECTED]> wrote: > > > > Did you set the system property OPENEJB_HOME to > > C:\openejb3.0-container\openejb-3.0.0-SNAPSHOT ? > > > > On 9/6/07, Ashok Poralu <[EMAIL PROTECTED]> wrote: > > > I have build the source successfully with the command > > > mvn clean install -Dmaven.itest.skip -Dmaven.test.skip -Dassemble > > > > > > And I tried to start the container (openejb-3.0.0-SNAPSHOT-bin.zip) and > > > faced this problem. > > > > > > C:\openejb3.0-container\openejb-3.0.0-SNAPSHOT\bin>openejb.bat start > > > Apache OpenEJB 3.0.0-SNAPSHOT build: 20070906-03:42 > > > http://openejb.apache.org/ > > > org.apache.openejb.OpenEJBException: java.lang.NullPointerException: > > null > > > at org.apache.openejb.assembler.classic.Assembler.build( > > > Assembler.java:2 > > > 20) > > > at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:149) > > > at org.apache.openejb.OpenEJB.init(OpenEJB.java:293) > > > at org.apache.openejb.server.Server.init(Server.java:62) > > > at org.apache.openejb.server.Main.initServer(Main.java:155) > > > at org.apache.openejb.server.Main.main(Main.java:128) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke > > > (NativeMethodAccessorImpl. > > > java:64) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > > > (DelegatingMethodAcces > > > sorImpl.java:43) > > > at java.lang.reflect.Method.invoke(Method.java:615) > > > at org.apache.openejb.cli.MainImpl.main(MainImpl.java:151) > > > at org.apache.openejb.cli.Bootstrap.main(Bootstrap.java:102) > > > Caused by: java.lang.NullPointerException > > > at org.apache.xbean.finder.UrlSet.excludePaths(UrlSet.java:127) > > > at org.apache.xbean.finder.UrlSet.excludeJavaEndorsedDirs( > > > UrlSet.java:11 > > > 8) > > > at > > org.apache.openejb.config.DeploymentsResolver.loadFromClasspath > > > (Deplo > > > ymentsResolver.java:189) > > > at > > org.apache.openejb.config.DeploymentsResolver.resolveAppLocations > > > (Dep > > > loymentsResolver.java:140) > > > at > > > org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguratio > > > n(ConfigurationFactory.java:254) > > > at org.apache.openejb.assembler.classic.Assembler.build( > > > Assembler.java:2 > > > 06) > > > ... 11 more > > > > > > Any clues why it is not starting ? > > > Is the build corrupted? > > > Thanks in advance. > > > > > > Thanks, > > > Ashok Poralu > > > > > > > > > On 9/5/07, Jacek Laskowski <[EMAIL PROTECTED]> wrote: > > > > > > > > On 9/5/07, Ashok Poralu <[EMAIL PROTECTED]> wrote: > > > > > > > > > Running org.apache.openejb.jee.oejb2.OpenejbJarTest > > > > > Tests run: 5, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: > > 1.375sec > > > > > <<< FA > > > > > ILURE! > > > > ... > > > > > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: > > 0.078sec > > > > > <<< FA > > > > > ILURE! > > > > > > > > Could you attach/take a look at target/surefire-report/*.txt file to > > > > see what caused these failures? > > > > > > > > Jacek > > > > > > > > -- > > > > Jacek Laskowski > > > > http://www.JacekLaskowski.pl > > > > > > > > > > > > > -- > > Karan Singh Malhi > > > -- Karan Singh Malhi
