geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Geronimo v2.1 > Runtime issues
Date Tue, 14 Jul 2009 08:55:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=GMOxDOC21&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><a href="http://cwiki.apache.org/confluence/display/GMOxDOC21/Runtime+issues">Runtime
issues</a></h2>
     <h4>Page <b>edited</b> by             <a href="http://cwiki.apache.org/confluence/display/~sophia">Ying
Tang</a>
    </h4>
     
          <br/>
     <div class="notificationGreySide">
         <style type='text/css'>/*<![CDATA[*/
table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color:
#f0f0f0}
table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}

/*]]>*/</style><div class="Scrollbar"><table class='ScrollbarTable'><tr><td
width='33%' class='ScrollbarPrevName'>&nbsp;</td><td width='33%' class='ScrollbarParent'><sup><a
href="/confluence/display/GMOxDOC21/Troubleshooting"><img border='0' align='middle'
src='/confluence/images/icons/up_16.gif' width='8' height='8'></a></sup><a
href="/confluence/display/GMOxDOC21/Troubleshooting">Troubleshooting</a></td><td
width='33%' class='ScrollbarNextName'>&nbsp;<a href="/confluence/display/GMOxDOC21/Web+Services+issues">Web
Services issues</a></td><td class='ScrollbarNextIcon'><a href="/confluence/display/GMOxDOC21/Web+Services+issues"><img
border='0' align='middle' src='/confluence/images/icons/forwd_16.gif' width='16' height='16'></a></td></tr></table></div>
<h1><a name="Runtimeissues-Troubleshootingruntimeissues"></a>Troubleshooting
runtime issues</h1>
<p>Most of the issues you may find when running Geronimo will be at start up time; and
most likely driven by some conflicting resources from the environment where Geronimo is set
up.</p>

<h2><a name="Runtimeissues-Java"></a>Java</h2>
<p>Apache Geronimo v2.1 is Java EE 5 certified. With that said, it will likely run on
different JVM versions however the results may be unpredictable. Whenever possible use jdk
1.5.</p>

<p>Another common problem related to Java is that, sometimes, certain environment variables
are not defined at Java installation time. For instance, Geronimo requires <b>JAVA_HOME</b>
and <b>JRE_HOME</b> to be defined before running the server. As a convenience,
make sure you also add <tt>&lt;java_home&gt;/bin</tt> directory to the
system <b>PATH</b>.</p>

<h2><a name="Runtimeissues-Portconflicts"></a>Port conflicts</h2>
<p>The second most common startup issue is associated to port conflicts, check no other
application is using or blocking Geronimo's default ports:</p>

<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Service</th>
<th class='confluenceTh'> Port</th>
</tr>
<tr>
<td class='confluenceTd'>SMTPPort</td>
<td class='confluenceTd'>		25</td>
</tr>
<tr>
<td class='confluenceTd'>COSNamingPort</td>
<td class='confluenceTd'>		1050</td>
</tr>
<tr>
<td class='confluenceTd'>NamingPort</td>
<td class='confluenceTd'>		1099</td>
</tr>
<tr>
<td class='confluenceTd'>ORBSSLPort</td>
<td class='confluenceTd'>		2001</td>
</tr>
<tr>
<td class='confluenceTd'>OpenEJBPort</td>
<td class='confluenceTd'>		4201</td>
</tr>
<tr>
<td class='confluenceTd'>ORBPort</td>
<td class='confluenceTd'>		6882</td>
</tr>
<tr>
<td class='confluenceTd'>AJPPort</td>
<td class='confluenceTd'>		8009</td>
</tr>
<tr>
<td class='confluenceTd'>HTTPPort</td>
<td class='confluenceTd'>		8080</td>
</tr>
<tr>
<td class='confluenceTd'>HTTPSPort</td>
<td class='confluenceTd'>		8443</td>
</tr>
<tr>
<td class='confluenceTd'>JMXPort</td>
<td class='confluenceTd'>		9999</td>
</tr>
<tr>
<td class='confluenceTd'>ActiveMQStompPort</td>
<td class='confluenceTd'>	61613</td>
</tr>
<tr>
<td class='confluenceTd'>ActiveMQPort</td>
<td class='confluenceTd'>		61616</td>
</tr>
</tbody></table>

<p>If you identify port conflicts you can use the <b>&lt;geronimo_home&gt;/var/config/config-substitutions.properties</b>
to change any of these ports. From this configuration file you can also set a port offset
and have all these increased by that amount.</p>

<p>Keep also in mind that personal firewalls, anti virus and spyware protection products
may block some of these ports as well, even if you turn off such software sometimes those
"rules" are still in effect.</p>

<p>Refer to the <a href="/confluence/display/GMOxDOC21/Installation+and+configuration"
title="Installation and configuration">Installation and configuration</a> section
for additional details on prerequisites and different configurations.</p>

<h2><a name="Runtimeissues-Springversionconflicts"></a>Spring version conflicts</h2>

<p>If your application contains its own version of Spring you might see some problems
deploying or running the application on the Jetty assembly. The Jetty assembly is by default
configured with Apache CXF as the JAX-WS provider. Apache CXF uses Spring to configure itself.
Sometimes, the Spring version used by CXF conflicts with the Spring version supplied with
your application. To prevent these conflicts add the following &lt;hidden-classes&gt;
entry to the Geronimo deployment descriptor:</p>

<style type="text/css">
@import url(/confluence/download/resources/confluence.ext.code:code/shStyles.css);
</style>
<!--[if IE]>
<style type="text/css">
    .code textarea, .code input { padding: 0 !important; }
</style>
<![endif]-->
<script class="javascript" src="/confluence/download/resources/confluence.ext.code:code/shCore.js"></script>
<script class="javascript" src="/confluence/download/resources/confluence.ext.code:code/shBrushCSharp.js"></script>
<script class="javascript" src="/confluence/download/resources/confluence.ext.code:code/shBrushPhp.js"></script>
<script class="javascript" src="/confluence/download/resources/confluence.ext.code:code/shBrushJScript.js"></script>
<script class="javascript" src="/confluence/download/resources/confluence.ext.code:code/shBrushVb.js"></script>
<script class="javascript" src="/confluence/download/resources/confluence.ext.code:code/shBrushSql.js"></script>
<script class="javascript" src="/confluence/download/resources/confluence.ext.code:code/shBrushXml.js"></script>
<script class="javascript" src="/confluence/download/resources/confluence.ext.code:code/shBrushShell.js"></script>
<script class="javascript" src="/confluence/download/resources/confluence.ext.code:code/shBrushDelphi.js"></script>
<script class="javascript" src="/confluence/download/resources/confluence.ext.code:code/shBrushPython.js"></script>
<script class="javascript" src="/confluence/download/resources/confluence.ext.code:code/shBrushJava.js"></script>
<div class="code">
<textarea name="newcodemacro" class="xml:nocontrols:nogutter" rows="10" readonly="readonly">&lt;hidden-classes&gt;
   
    &lt;filter&gt;org.springframework&lt;/filter&gt;
    &lt;filter&gt;META-INF/spring&lt;/filter&gt;
&lt;/hidden-classes&gt;</textarea>
<script class="javascript">
    if(!window.newcodemacro_initialised)
    {
        window.newcodemacro_initialised = true;
        window.oldonloadmethod = window.onload;
        window.onload = function(){
            dp.SyntaxHighlighter.HighlightAll('newcodemacro');
            if(window.oldonloadmethod)
            {
                window.oldonloadmethod();
            }
        }
    }

</script>
</div>


<h2><a name="Runtimeissues-AdministrationconsoleunaccessbilebyHTTPsinInternetExplorer6"></a>Administration
console unaccessbile by HTTPs in Internet Explorer 6 </h2>
<p>If you navigate your browser Internet Explorer (IE) 6 to the console via <a href="https://_hostname_:8443/console"
rel="nofollow">https://_hostname_:8443/console</a> where <em>hostname</em>
is replaced with the host name where the Geronimo server is running, you will get an error
"The page cannot be displayed". To remedy this problem, click <b>Tools-&gt;Internet
Options</b>, and select the <b>Advanced</b> tab. In the <b>Security</b>
section, select the checkbox <b>TLS 1.0</b>, and you will be prompted with a Security
Alert. Click <b>Yes</b> to view the administrative console. If you want to see
information about the certificate, click <b>View Certificate</b>. If you want
IE to accept WASCE CA permanently, you can install the certification in IE.</p>
     </div>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>

       <a href="http://cwiki.apache.org/confluence/display/GMOxDOC21/Runtime+issues">View
Online</a>
       |
       <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=89159&revisedVersion=5&originalVersion=4">View
Change</a>
              |
       <a href="http://cwiki.apache.org/confluence/display/GMOxDOC21/Runtime+issues?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message