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

List:       geronimo-user
Subject:    Re: Running Geronimo 3.0.1 under Java 8
From:       Paul Vorbach <paul.vorbach () device-insight ! com>
Date:       2015-05-26 16:21:43
Message-ID: CACTjKUSeQ0_TLhXcQi-vFtPi6Tzpa4OhkA+wGZOE_kbgt+PtNw () mail ! gmail ! com
[Download RAW message or body]

I found a solution for my problem:

You can rename the property "jre-1.7" in etc/config.properties to
"jre-1.8". After that, Geronimo will start successfully with Java 8.

Regards,
Paul

2015-05-26 17:14 GMT+02:00 Paul Vorbach <paul.vorbach@device-insight.com>:

> Hello folks!
>
> I am trying to migrate an existing Geronimo instance from 2.2 to 3.0.1.
> The new instance needs to run under Java 8, though.
>
> Trying to run Geronimo (no modifications have been made yet), I get the
> following output:
>
> C:\geronimo_filialglt\bin>geronimo run
> Using GERONIMO_HOME:   C:\geronimo_filialglt
> Using GERONIMO_SERVER: C:\geronimo_filialglt
> Using GERONIMO_TMPDIR: C:\geronimo_filialglt\var\temp
> Using JRE_HOME:        C:\Program Files\Java\jdk1.8.0_31\jre
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
> MaxPermSize=128m; support was removed in 8.0
> Main not found
>
>
> Here
> http://stackoverflow.com/questions/25086930/main-not-found-starting-apache-geronimo
> I read this has to do with the JVM/JDK. Has anybody else had similar issues
> with Java 8 and solved them?
>
> Best regards,
> Paul
>



-- 
Paul Vorbach
M.Sc.
Software Engineer

Device Insight GmbH
Willy-Brandt-Platz 6
D-81829 München

Fon: +49 89 45 45 448-60
E-Mail: paul.vorbach@device-insight.comhttp://www.device-insight.com
Sitz der Gesellschaft: München
Registergericht: Amtsgericht München HRB 149018
Geschäftsführer: Reinhold Stammeier

[Attachment #3 (text/html)]

<div dir="ltr">I found a solution for my problem:<div><br></div><div>You can rename \
the property &quot;jre-1.7&quot; in etc/config.properties to &quot;jre-1.8&quot;. \
After that, Geronimo will start successfully with Java \
8.</div><div><br></div><div>Regards,</div><div>Paul</div></div><div \
class="gmail_extra"><br><div class="gmail_quote">2015-05-26 17:14 GMT+02:00 Paul \
Vorbach <span dir="ltr">&lt;<a href="mailto:paul.vorbach@device-insight.com" \
target="_blank">paul.vorbach@device-insight.com</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hello folks! <div><br></div><div>I am trying \
to migrate an existing Geronimo instance from 2.2 to 3.0.1. The new instance needs to \
run under Java 8, though.</div><div><br></div><div>Trying to run Geronimo (no \
modifications have been made yet), I get the following \
output:</div><div><br></div><blockquote style="margin:0px 0px 0px \
40px;border:none;padding:0px"><div><div>C:\geronimo_filialglt\bin&gt;geronimo \
run</div></div><div><div>Using GERONIMO_HOME:    \
C:\geronimo_filialglt</div></div><div><div>Using GERONIMO_SERVER: \
C:\geronimo_filialglt</div></div><div><div>Using GERONIMO_TMPDIR: \
C:\geronimo_filialglt\var\temp</div></div><div><div>Using JRE_HOME:            \
C:\Program Files\Java\jdk1.8.0_31\jre</div></div><div><div>Java HotSpot(TM) 64-Bit \
Server VM warning: ignoring option MaxPermSize=128m; support was removed in \
8.0</div></div><div><div>Main not found</div></div></blockquote><br>Here <a \
href="http://stackoverflow.com/questions/25086930/main-not-found-starting-apache-geronimo" \
target="_blank">http://stackoverflow.com/questions/25086930/main-not-found-starting-apache-geronimo</a> \
I read this has to do with the JVM/JDK. Has anybody else had similar issues with Java \
8 and solved them?<div><br></div><div>Best regards,</div><div>Paul</div></div> \
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div \
style="font-size:12.8000001907349px"><span \
style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:12.8000001907349px">Paul \
Vorbach</span><br></div><div style="font-size:12.8000001907349px"><span \
style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:12.8000001907349px">M.Sc.</span></div><div \
style="font-size:12.8000001907349px"><font color="#000000" face="arial, helvetica, \
sans-serif">Software Engineer<br><br>Device Insight GmbH<br>Willy-Brandt-Platz \
6<br>D-81829 München</font><pre cols="72" style="white-space:pre-wrap"><font \
color="#000000"><font face="arial, helvetica, sans-serif">Fon: <a \
href="tel:%2B49%2089%2045%2045%20448-60" value="+4989454544819" \
style="color:rgb(17,85,204)" target="_blank">+49 89 45 45 448-60</a> \
E-Mail:</font><font face="verdana, sans-serif"> </font><a \
href="mailto:paul.vorbach@device-insight.com" style="color:rgb(17,85,204)" \
target="_blank"><font face="arial, helvetica, \
sans-serif">paul.vorbach@device-insight.com</font></a></font><font color="#000000" \
face="arial, helvetica, sans-serif"> <a href="http://www.device-insight.com/" \
style="color:rgb(17,85,204)" \
target="_blank">http://www.device-insight.com</a></font><font color="#000000" \
style="font-family:verdana,sans-serif">

</font><font color="#000000" face="arial, helvetica, sans-serif">Sitz der \
                Gesellschaft: München
Registergericht: Amtsgericht München HRB 149018
Geschäftsführer: Reinhold \
Stammeier</font></pre></div></div></div></div></div></div></div> </div>



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

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