[prev in list] [next in list] [prev in thread] [next in thread] 

List:       geronimo-user
Subject:    Re: ERROR [AbstractEncryption] Unable to decrypt
From:       chi runhua <chirunhua () gmail ! com>
Date:       2010-03-15 8:41:21
Message-ID: 98a659de1003150141l182a630fu43faaa801589e17e () mail ! gmail ! com
[Download RAW message or body]

Try *which java *to see what the actual JAVA executable is in you system.

If you want to put JAVA_HOME in your PATH variables, you might need to run
the following to override the one already in your PATH:

export PATH=$JAVA_HOME/bin:$PATH

See if this helps.

Anything else, just let us know.

Jeff



On Sun, Mar 14, 2010 at 5:57 AM, Kevan Miller <kevan.miller@gmail.com>wrote:

> 
> On Mar 13, 2010, at 10:05 AM, curious4 wrote:
> 
> > 
> > Hi,
> > 
> > I have a problem when starting Geromino in Ubuntu Linux with the command:
> > bash start-server
> > I'm getting a series of error messages of which the first is:
> > ERROR [AbstractEncryption] Unable to decrypt
> > 
> > java.io.EOFException
> > 
> > However, despite the error messages, Geromino is able to start and I do
> get
> > the web page in http://localhost:8080/
> > 
> > I did set up in my home directory .bashrc and .bash_profile these lines:
> > export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
> > 
> > export PATH=$PATH:$JAVA_HOME/bin
> > 
> > when I shutdown I see this:
> > Using JRE_HOME:        /usr/lib/jvm/java-6-openjdk/jre
> > (compare it to how I set JAVA_HOME).
> > 
> > What can be the problem? How can I fix it?
> 
> Hmm. Sounds like a problem with your JAVA_HOME setting. You shouldn't need
> to update your PATH...
> 
> You don't mention geronimo version, ubuntu level, or openjdk level.
> 
> Geronimo 2.1.4 and 2.2 start fine for me with the following:
> 
> JAVA_HOME=/usr/lib/jvm/java-6-openjdk/ ./start-server
> 
> In var/log/geronimo.log, information similar to the following will be
> logged during startup:
> 
> 2010-03-13 05:00:30,504 INFO  [Log4jService] Started Logging Service
> 2010-03-13 05:00:30,504 INFO  [Log4jService] Runtime Information:
> 2010-03-13 05:00:30,505 INFO  [Log4jService]   Install Directory =
> /home/kevan/geronimo-tomcat6-javaee5-2.1.4
> 2010-03-13 05:00:30,506 INFO  [JvmVendor] Sun JVM 1.6.0_0
> 2010-03-13 05:00:30,506 INFO  [Log4jService]   JVM in use = Sun JVM 1.6.0_0
> 2010-03-13 05:00:30,506 INFO  [Log4jService] Java Information:
> 2010-03-13 05:00:30,506 INFO  [Log4jService]   System property [
> java.runtime.name]  = OpenJDK Runtime Environment
> 2010-03-13 05:00:30,506 INFO  [Log4jService]   System property
> [java.runtime.version]  = 1.6.0_0-b14
> 2010-03-13 05:00:30,506 INFO  [Log4jService]   System property [os.name]
> = Linux
> 2010-03-13 05:00:30,506 INFO  [Log4jService]   System property [os.version]
> = 2.6.28-18-generic
> 2010-03-13 05:00:30,506 INFO  [Log4jService]   System property
> [sun.os.patch.level]  = unknown
> 2010-03-13 05:00:30,506 INFO  [Log4jService]   System property [os.arch]
> = i386
> 2010-03-13 05:00:30,506 INFO  [Log4jService]   System property
> [java.class.version]  = 50.0
> 2010-03-13 05:00:30,506 INFO  [Log4jService]   System property [locale]
> = en_US
> 2010-03-13 05:00:30,506 INFO  [Log4jService]   System property
> [unicode.encoding]    = UnicodeLittle
> 2010-03-13 05:00:30,506 INFO  [Log4jService]   System property
> [file.encoding]       = UTF-8
> 2010-03-13 05:00:30,507 INFO  [Log4jService]   System property [
> java.vm.name]        = OpenJDK Client VM
> 2010-03-13 05:00:30,507 INFO  [Log4jService]   System property
> [java.vm.vendor]      = Sun Microsystems Inc.
> 2010-03-13 05:00:30,507 INFO  [Log4jService]   System property
> [java.vm.version]     = 14.0-b08
> 2010-03-13 05:00:30,507 INFO  [Log4jService]   System property [
> java.vm.info]        = mixed mode
> 2010-03-13 05:00:30,507 INFO  [Log4jService]   System property [java.home]
> = /usr/lib/jvm/java-6-openjdk/jre
> 2010-03-13 05:00:30,507 INFO  [Log4jService]   System property
> [java.classpath]      = null
> 2010-03-13 05:00:30,507 INFO  [Log4jService]   System property
> [java.library.path]   = /usr/lib/jvm/java-6-openjdk/jre/lib/i386/\
> 
> client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/us\
>  r/lib
> 2010-03-13 05:00:30,507 INFO  [Log4jService]   System property
> [java.endorsed.dirs]  = /home/kevan/geronimo-tomcat6-javaee5-2.1.\
> 4/lib/endorsed:/usr/lib/jvm/java-6-openjdk/jre/lib/endorsed
> 2010-03-13 05:00:30,507 INFO  [Log4jService]   System property
> [java.ext.dirs]       = /home/kevan/geronimo-tomcat6-javaee5-2.1.\
> 
> 4/lib/ext:/usr/lib/jvm/java-6-openjdk/jre/lib/ext:/usr/java/packages/lib/ext
> 2010-03-13 05:00:30,507 INFO  [Log4jService]   System property
> [sun.boot.class.path] = /home/kevan/geronimo-tomcat6-javaee5-2.1.\
> 
> 4/lib/endorsed/yoko-spec-corba-1.0.jar:/home/kevan/geronimo-tomcat6-javaee5-2.1.4/lib/endorsed/yoko-rmi-spec-1.0.jar:/usr/lib/jv\
>  
> m/java-6-openjdk/jre/lib/resources.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/sunrsasign\
>  
> .jar:/usr/lib/jvm/java-6-openjdk/jre/lib/jsse.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/jce.jar:/usr/lib/jvm/java-6-openjdk/jre/li\
>  
> b/charsets.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar:/usr/lib/jvm/java-6-openjdk/jre/classes
>  
> If you can retrieve the same information on your system, maybe we'll find
> out what's going wrong in your environment...
> 
> --kevan


[Attachment #3 (text/html)]

Try <i>which java </i>to see what the actual JAVA executable is in you \
system.<div><br></div><div>If you want to put JAVA_HOME in your PATH variables, you \
might need to run the following to override the one already in your PATH:</div> \
<div><br></div><div>export PATH=$JAVA_HOME/bin:$PATH</div><div><br></div><div>See if \
this helps. </div><div><br></div><div>Anything else, just let us \
know.</div><div><br></div><div>Jeff </div><div><br></div><div><br><br><div \
class="gmail_quote"> On Sun, Mar 14, 2010 at 5:57 AM, Kevan Miller <span \
dir="ltr">&lt;<a href="mailto:kevan.miller@gmail.com">kevan.miller@gmail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;"> <div class="im"><br>
On Mar 13, 2010, at 10:05 AM, curious4 wrote:<br>
<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have a problem when starting Geromino in Ubuntu Linux with the command:<br>
&gt; bash start-server<br>
&gt; I&#39;m getting a series of error messages of which the first is:<br>
&gt; ERROR [AbstractEncryption] Unable to decrypt<br>
&gt;<br>
&gt; java.io.EOFException<br>
&gt;<br>
&gt; However, despite the error messages, Geromino is able to start and I do get<br>
&gt; the web page in <a href="http://localhost:8080/" \
target="_blank">http://localhost:8080/</a><br> &gt;<br>
&gt; I did set up in my home directory .bashrc and .bash_profile these lines:<br>
&gt; export JAVA_HOME=/usr/lib/jvm/java-6-openjdk<br>
&gt;<br>
&gt; export PATH=$PATH:$JAVA_HOME/bin<br>
&gt;<br>
&gt; when I shutdown I see this:<br>
&gt; Using JRE_HOME:        /usr/lib/jvm/java-6-openjdk/jre<br>
&gt; (compare it to how I set JAVA_HOME).<br>
&gt;<br>
&gt; What can be the problem? How can I fix it?<br>
<br>
</div>Hmm. Sounds like a problem with your JAVA_HOME setting. You shouldn&#39;t need \
to update your PATH...<br> <br>
You don&#39;t mention geronimo version, ubuntu level, or openjdk level.<br>
<br>
Geronimo 2.1.4 and 2.2 start fine for me with the following:<br>
<br>
JAVA_HOME=/usr/lib/jvm/java-6-openjdk/ ./start-server<br>
<br>
In var/log/geronimo.log, information similar to the following will be logged during \
startup:<br> <br>
2010-03-13 05:00:30,504 INFO  [Log4jService] Started Logging Service<br>
2010-03-13 05:00:30,504 INFO  [Log4jService] Runtime Information:<br>
2010-03-13 05:00:30,505 INFO  [Log4jService]   Install Directory = \
/home/kevan/geronimo-tomcat6-javaee5-2.1.4<br> 2010-03-13 05:00:30,506 INFO  \
[JvmVendor] Sun JVM 1.6.0_0<br> 2010-03-13 05:00:30,506 INFO  [Log4jService]   JVM in \
use = Sun JVM 1.6.0_0<br> 2010-03-13 05:00:30,506 INFO  [Log4jService] Java \
Information:<br> 2010-03-13 05:00:30,506 INFO  [Log4jService]   System property [<a \
href="http://java.runtime.name" target="_blank">java.runtime.name</a>]  = OpenJDK \
Runtime Environment<br> 2010-03-13 05:00:30,506 INFO  [Log4jService]   System \
property [java.runtime.version]  = 1.6.0_0-b14<br> 2010-03-13 05:00:30,506 INFO  \
[Log4jService]   System property [<a href="http://os.name" \
target="_blank">os.name</a>]             = Linux<br> 2010-03-13 05:00:30,506 INFO  \
[Log4jService]   System property [os.version]          = 2.6.28-18-generic<br> \
2010-03-13 05:00:30,506 INFO  [Log4jService]   System property [sun.os.patch.level]  \
= unknown<br> 2010-03-13 05:00:30,506 INFO  [Log4jService]   System property \
[os.arch]             = i386<br> 2010-03-13 05:00:30,506 INFO  [Log4jService]   \
System property [java.class.version]  = 50.0<br> 2010-03-13 05:00:30,506 INFO  \
[Log4jService]   System property [locale]              = en_US<br> 2010-03-13 \
05:00:30,506 INFO  [Log4jService]   System property [unicode.encoding]    = \
UnicodeLittle<br> 2010-03-13 05:00:30,506 INFO  [Log4jService]   System property \
[file.encoding]       = UTF-8<br> 2010-03-13 05:00:30,507 INFO  [Log4jService]   \
System property [<a href="http://java.vm.name" target="_blank">java.vm.name</a>]      \
= OpenJDK Client VM<br> 2010-03-13 05:00:30,507 INFO  [Log4jService]   System \
property [java.vm.vendor]      = Sun Microsystems Inc.<br> 2010-03-13 05:00:30,507 \
INFO  [Log4jService]   System property [java.vm.version]     = 14.0-b08<br> \
2010-03-13 05:00:30,507 INFO  [Log4jService]   System property [<a \
href="http://java.vm.info" target="_blank">java.vm.info</a>]        = mixed mode<br> \
2010-03-13 05:00:30,507 INFO  [Log4jService]   System property [java.home]           \
= /usr/lib/jvm/java-6-openjdk/jre<br> 2010-03-13 05:00:30,507 INFO  [Log4jService]   \
System property [java.classpath]      = null<br> 2010-03-13 05:00:30,507 INFO  \
[Log4jService]   System property [java.library.path]   = \
/usr/lib/jvm/java-6-openjdk/jre/lib/i386/\<br> \
client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/us\<br>
 r/lib<br>
2010-03-13 05:00:30,507 INFO  [Log4jService]   System property [java.endorsed.dirs]  \
= /home/kevan/geronimo-tomcat6-javaee5-2.1.\<br> \
4/lib/endorsed:/usr/lib/jvm/java-6-openjdk/jre/lib/endorsed<br> 2010-03-13 \
05:00:30,507 INFO  [Log4jService]   System property [java.ext.dirs]       = \
/home/kevan/geronimo-tomcat6-javaee5-2.1.\<br> \
4/lib/ext:/usr/lib/jvm/java-6-openjdk/jre/lib/ext:/usr/java/packages/lib/ext<br> \
2010-03-13 05:00:30,507 INFO  [Log4jService]   System property [sun.boot.class.path] \
= /home/kevan/geronimo-tomcat6-javaee5-2.1.\<br> \
4/lib/endorsed/yoko-spec-corba-1.0.jar:/home/kevan/geronimo-tomcat6-javaee5-2.1.4/lib/endorsed/yoko-rmi-spec-1.0.jar:/usr/lib/jv\<br>
 m/java-6-openjdk/jre/lib/resources.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/sunrsasign\<br>
                
.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/jsse.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/jce.jar:/usr/lib/jvm/java-6-openjdk/jre/li\<br>
 b/charsets.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar:/usr/lib/jvm/java-6-openjdk/jre/classes<br>
 <br>
If you can retrieve the same information on your system, maybe we&#39;ll find out \
what&#39;s going wrong in your environment...<br> <font color="#888888"><br>
--kevan</font></blockquote></div><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic