On Feb 10, 2010, at 2:44 PM, glloyd wrote:

> 
> Thanks Kevin, 
> 
> Where would the optimal place be to setup the Java_home env variable for
> geronimo. I looked at the setjavaenv.sh script, but that sure doesn't look
> like it was meant to be tinkered with. Following your suggestion I exported
> the CurrentJDK as Java home and it seems to have gotten further but I now
> have several errors coming out to the console. The most serious seems to be
> that there is no deploy directory which seems quite strange to me.
> 
> Console:
> 
> ./geronimo.sh run --long
> Using GERONIMO_HOME:   /usr/share/geronimo-jetty7-javaee5-2.2
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:       
> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
> Booting Geronimo Kernel (in Java 1.6.0_17)...
> Module  1/74 org.apache.geronimo.framework/j2ee-system/2.2/car                
>                       
> started in   .000s
> Module  2/74 org.apache.geronimo.framework/jee-specs/2.2/car                  
>                       
> started in   .000s
> Module  3/74 org.apache.geronimo.plugins.classloaders/xbean-finder/2.2/car    
>                       
> started in   .000s
> Module  4/74 org.apache.geronimo.framework/xmlbeans/2.2/car                   
>                       
> started in   .000s
> Module  5/74 org.apache.geronimo.framework/rmi-naming/2.2/car                 
>                       
> started in   .163s
> Module  6/74
> org.apache.geronimo.plugins.classloaders/geronimo-javaee-deployment_1.1MR3_spec/2.2/car
> started in   .000s
> Module  7/74 org.apache.geronimo.framework/plugin/2.2/car                     
>                      
> 2010-02-10 14:40:49,790 ERROR [AbstractEncryption] Unable to decrypt
> java.io.EOFException
>       at
> java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)
>       at
> java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
>       at 
> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:781)
>       at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
>       at
> org.apache.geronimo.crypto.AbstractEncryption.decrypt(AbstractEncryption.java:76)
>       at
> org.apache.geronimo.crypto.EncryptionManager.decrypt(EncryptionManager.java:109)
>       at
> org.apache.geronimo.system.plugin.PluginRepositoryDownloader.loadUserRepositories(PluginRepositoryDownloader.java:122)
>       at
> org.apache.geronimo.system.plugin.PluginRepositoryDownloader.<init>(PluginRepositoryDownloader.java:80)

Hmm. That's a bug. Seems to be a problem in our Jetty distribution, Tomcat 
looks fine. 

You can ignore the ERROR or you can edit the file 
var/config/plugin-repositories.properties

and replace the line with:

http\://localhost\:8080/plugin/maven-repo/=system\={Simple}null

with the following:

http\://localhost\:8080/plugin/maven-repo/=system\={Simple}rO0ABXNyABlqYXZheC5jcnlwdG8uU2VhbGVkT2JqZWN0PjY9psO3VHACAARbAA1lbmNvZGVkUGFyYW1zdAACW0JbABBlbmNyeXB0ZWRDb250ZW50cQB+AAFMAAlwYXJhbXNBbGd0ABJMamF2YS9sYW5nL1N0cmluZztMAAdzZWFsQWxncQB+AAJ4cHB1cgACW0Ks8xf4BghU4AIAAHhwAAAAEHnh03EmiNu4VTuWH+xZiRBwdAADQUVT

(all one line). Or alternatively, delete the line from the file.

--kevan

Reply via email to