Hello, 

Much thanks to all the developers for their work on Geronimo. I'm really 
hopeful about Geronimo. 

This post is long, so I apologize for that. I've read several pieces of 
documentation and now I'm trying to compile, install, and use geronimo. This 
is the first project I've tried to compile using Maven, but Maven seems to be 
working OK. I'm attempting to follow the Geronimo intsructions, starting with 
the source's BUILDING.txt file, but having some difficulties. Any feedback 
leading to a solution would be appreciated. 

Starting with Geronimo 1.0 Source (tar.gz) at :
http://geronimo.apache.org/downloads.html,
and using: 
* maven 1.02
* Sun JDK Standard Edition (build 1.5.0-b64)
* Linux
* svn, version 1.2.3
* cvs, version 1.11.21

While connected to the Internet, here's what I did:
% tar xvzf geronimo-1.0-src.tar.gz
% cd geronimo-1.0-src
% maven

Messages from the compile are many and quite long, but the compile eventually 
fails with this message:

***********
multiproject:install-callback:
    [echo] Running jar:install for Geronimo :: UDDI-Server database
java:prepare-filesystem:
init-database:
    [mkdir] Created 
dir: 
/usr/src/geronimo-1.0-src/applications/uddi-db/target/resources/META-INF/geronimo-uddi-db/var/derby

BUILD FAILED
File...... /usr/src/geronimo-1.0-src/maven.xml
Element... maven:reactor
Line...... 53
Column.... 110
Unable to obtain goal [multiproject:install-callback] 
-- /usr/src/geronimo-1.0-src/applications/uddi-db/maven.xml:33:43: 
<attainGoal> PermGen space
********************

I'm not sure that the above messages are related to "trouble building the HEAD 
code of Geronimo against the older binaries of OpenEJB of TranQL", but 
following the next suggestion from the BUILDING.txt file, here's what I did:
% maven m:co
% maven m:clean m:clean-repo new

  . . . which failed with:
************
[. . .]
/usr/src/geronimo-1.0-src/openejb/modules/core/src/java/org/openejb/corba/sunorb/SunORBConfigAdapter.java:214:
 
cannot find symbol
symbol  : method getServerGIOP()
location: class org.openejb.corba.sunorb.OpenEJBORB
                o.getServerGIOP().getEndpoint(EndPoint.IIOP_CLEAR_TEXT, 6882, 
null);
                 ^
Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
88 errors
61 warnings

BUILD FAILED
File...... /usr/src/geronimo-1.0-src/maven.xml
Element... maven:reactor
Line...... 48
Column.... 105
Unable to obtain goal [multiproject:install-callback] 
-- /root/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: <ant:javac> 
Compile failed; see the compiler error output for details.
[. . .]
************

At http://wiki.apache.org/geronimo/Building, I read:

*******
NOTE: OpenEJB's CORBA layer uses some classes that belong to sun.com.* package 
of Java 1.4. Because of this it's not yet possible to build OpenEJB and thus 
use the steps described in this section with Java 5.
*********

Since my faled compile's error messages include:

**********
/usr/src/geronimo-1.0-src/openejb/modules/core/src/java/org/openejb/corba/MinorCodes.java:47:
 
package com.sun.corba.se.internal.orbutil does not exist
import com.sun.corba.se.internal.orbutil.ORBConstants;
**********

I see that the compile failure is related to the subject of the NOTE above. 
Correct? Is it possible to compile Geronimo-1 with Sun's JDK version 
1.5.0-b64? If so, how? I would like to avoid installing the version 1.4.2 
just to compile Geronimo. 

So, I downloaded and installed the binary version. Here's what I did.

% tar xvzf geronimo-tomcat-j2ee-1.0.tar.gz
 % cd geronimo-1.0/bin
% ./startup.sh

. . .and the messages were:
*******
Using GERONIMO_BASE:   /opt/geronimo-1.0
Using GERONIMO_HOME:   /opt/geronimo-1.0
Using GERONIMO_TMPDIR: /opt/geronimo-1.0/var/temp
Using JRE_HOME:        /usr/local/jdk1.5.0
Using GERONIMO_OUT:    /opt/geronimo-1.0/var/log/geronimo.out
********

 . . . looking good . . .
I fire up a browser and go to http://localhost:8080/
I see the Wecome page. So, it's working. 

I go to the Geronimo consloe at: http://localhost:8080/console, and as 
described in the documentation at:

I type in "system" for the login name and "manager" for the password. No 
matter how quickly I type, I always get the following error message:

**************
HTTP Status 408 - The time allowed for the login process has been exceeded. If 
you wish to continue you must either click back twice and re-click the link 
you requested or close and re-open your browser

type Status report

message The time allowed for the login process has been exceeded. If you wish 
to continue you must either click back twice and re-click the link you 
requested or close and re-open your browser

description The client did not produce a request within the time that the 
server was prepared to wait (The time allowed for the login process has been 
exceeded. If you wish to continue you must either click back twice and 
re-click the link you requested or close and re-open your browser).
Apache Tomcat/5.5.9
**************

What did I do wrong? What should I do next? I want to use Geronimo as my local 
J2EE server as I learn and prepare for the SCWCD and SCBCD certification 
exams.

Also, my subscription to the [email protected] list is for the digest, 
so if you reply to this post it may take a day for me to get the message 
unless you send a copy to me directly.

Thanks, 

Steve Whitlatch
 
 
  

Reply via email to