fizzfizz / binbase

Automatically exported from code.google.com/p/binbase
0 stars 0 forks source link

xml to dsl transform jar fails #32

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. java -jar GenerateDSLFromSXDumpFile

wohlgemuth@vulcan:~/workspace/binbase/binbase-optional/binbase-tools/target$ 
java -jar GenerateDSLFromSXDumpFile-4.1.0.jar eros rtx5 /mnt/scratch/103685.xml 
/mnt/scratch/103685.xml.dsl
Exception in thread "main" 
edu.ucdavis.genomics.metabolomics.exception.BinBaseException: 
javax.naming.NoInitialContextException: Need to specify class name in 
environment or system property, or as an applet parameter, or in an application 
resource file:  java.naming.factory.initial
        at edu.ucdavis.genomics.metabolomics.binbase.bci.ejb.BinBaseServiceFactory$1.createService(BinBaseServiceFactory.java:53)
        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:597)
        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:230)
        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
        at edu.ucdavis.genomics.metabolomics.binbase.dsl.generate.GenerateDSLFromExperiment.generateClasses(GenerateDSLFromExperiment.groovy:258)
        at edu.ucdavis.genomics.metabolomics.binbase.dsl.generate.GenerateDSLFromExperiment$generateClasses.callCurrent(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
        at edu.ucdavis.genomics.metabolomics.binbase.dsl.generate.GenerateDSLFromExperiment.dslGenerateForExperiment(GenerateDSLFromExperiment.groovy:241)
        at edu.ucdavis.genomics.metabolomics.binbase.dsl.generate.GenerateDSLFromExperiment$dslGenerateForExperiment.call(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
        at edu.ucdavis.genomics.metabolomics.binbase.dsl.generate.GenerateDSLFromSXDump.dslGenerateFromXMLDump(GenerateDSLFromSXDump.groovy:54)
        at edu.ucdavis.genomics.metabolomics.binbase.binbase.dsl.GenerateDSLFromSXDumpFile.main(GenerateDSLFromSXDumpFile.java:30)
Caused by: javax.naming.NoInitialContextException: Need to specify class name 
in environment or system property, or as an applet parameter, or in an 
application resource file:  java.naming.factory.initial
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
        at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at edu.ucdavis.genomics.metabolomics.binbase.cluster.ejb.client.EjbClient.getRemoteEjb(EjbClient.java:31)
        at edu.ucdavis.genomics.metabolomics.binbase.bci.ejb.BinBaseServiceFactory$1.createService(BinBaseServiceFactory.java:50)
        ... 20 more
wohlgemuth@vulcan:~/workspace/binbase/binbase-optional/binbase-tools/target$ 

Original issue reported on code.google.com by berlinguyinca on 30 Jan 2013 at 7:00