-1

The source archive is MS-DOS formatted. This causes errors like:

./bin/dbscripts/derby/createDerbyDB.sh: /bin/bash^M: bad interpreter: No such 
file or directory

our use of native file encoding in this case, is not quite appropriate…

After fixing the MS-DOS format of the shell script, I got this:

$ GERONIMO_HOME=/Users/kevan/tmp/release/server/geronimo-tomcat7-javaee6-3.0.0/ 
./createDerbyDB.sh                                                              
                                           
GERONIMO_HOME=/Users/kevan/tmp/release/server/geronimo-tomcat7-javaee6-3.0.0/ 
./createDerbyDB.sh          
Invoking IJ command line tool to create the database and tables...please wait   
                          
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/derby/tools/ij                      
Caused by: java.lang.ClassNotFoundException: org.apache.derby.tools.ij          
                          
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)               
                          
        at java.security.AccessController.doPrivileged(Native Method)           
                          
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)           
                          
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)                
                          
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)        
                          
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)                
                          
Table creation complete    

This is caused because DERBY_VER in the createDerbyDB.sh script is incorrect.

--kevan


On Jul 4, 2012, at 12:25 AM, Forrest Xia wrote:

> Hi Devs,
> 
> Align with Geronimo 3.0.0 release, here is the Geronimo Samples 3.0.0 ready 
> for vote.
> 
> The source code up for vote is:
> https://repository.apache.org/content/repositories/orgapachegeronimo-024/org/apache/geronimo/samples/samples-parent/3.0.0/samples-parent-3.0.0-source-release.tar.gz
> https://repository.apache.org/content/repositories/orgapachegeronimo-024/org/apache/geronimo/samples/samples-parent/3.0.0/samples-parent-3.0.0-source-release.zip
> 
> 
> Staging repo is:
> https://repository.apache.org/content/repositories/orgapachegeronimo-024
> 
> 
> The tag has created at:
> http://svn.apache.org/repos/asf/geronimo/samples/tags/samples-parent-3.0.0/
> 
> Vote will be at least open for 72 hours.
> [ ] +1  approve
> [ ] +0  no opinion
> [ ] -1  disapprove (and reason why)
> 
> 
> 
> -- 
> Thanks!
> 
> Regards, Forrest
> 

Reply via email to