geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevan Miller (JIRA)" <...@geronimo.apache.org>
Subject [jira] Commented: (GERONIMO-2065) Not able to Build Geronimo1.0 , Geronimo 1.1
Date Sat, 27 May 2006 14:01:30 GMT
    [ http://issues.apache.org/jira/browse/GERONIMO-2065?page=comments#action_12413582 ] 

Kevan Miller commented on GERONIMO-2065:
----------------------------------------

Mansoor,
geronimo/branches/1.0 is really a dead-end branch. I suggest you stop looking at it and focus
on branches/1.1. Note that you are really attempting to build Geronimo 1.0.1-SNAPSHOT (not
1.0). I'm very confident that there will never be a 1.0.1 release. If you really want to build
1.0, you should check out 'geronimo/tags/1.0.0'. Finally, your step #3: is not necessary.
'maven new' in your src directory will run all necessary build phases.

Regarding your 1.1 problems -- I think you need to checkout OpenEJB. Some OpenEJB/Geronimo
interfaces have changed and there's a mismatch. Try the following:

cd <geronimo-1.1_src> 
maven m:co                        // this will checkout openejb 2.1
maven new                         // if you have all dependencies in your maven repo, then
use maven -o new
cd <geronimo-1.1_src>/assemblies/j2ee-jetty-server/target/geronimo-1.1-SNAPSHOT/bin
./geronimo.sh run              // this should start geronimo





> Not able to Build Geronimo1.0 , Geronimo 1.1
> --------------------------------------------
>
>          Key: GERONIMO-2065
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2065
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: buildsystem
>     Versions: 1.0
>  Environment: Win2k , Java2_1.4_09
>     Reporter: Mansoor
>     Priority: Critical

>
> Hi Everybody ,
>            Iam facing lot of problems in building the server from scratch ,
>            1. I did svn checkout for Geronimo1.0 using the below command 
>             svn co   http://svn.apache.org/repos/asf/geronimo/branches/1.0/ geronimo1.0_src

>            2. Executed command "maven new " under the folder <geronimo1.0_src>,
result "Build Successfull"
>            3, Executed the command "maven" under the folder <geronimo1.0_src>/assembelies/j2ee-tomcat-server/
, 
> Result : Build failed , with following errors 
> The build cannot continue because of the following unsatisfied dependencies:
> j2ee-security-1.0.1-SNAPSHOT.car
> j2ee-corba-1.0.1-SNAPSHOT.car
> tomcat-1.0.1-SNAPSHOT.car
> directory-1.0.1-SNAPSHOT.car
> ldap-realm-1.0.1-SNAPSHOT.car
> system-database-1.0.1-SNAPSHOT.car
> activemq-broker-1.0.1-SNAPSHOT.car
> activemq-1.0.1-SNAPSHOT.car
> client-system-1.0.1-SNAPSHOT.car
> client-1.0.1-SNAPSHOT.car
> client-security-1.0.1-SNAPSHOT.car
> client-corba-1.0.1-SNAPSHOT.car
> javamail-1.0.1-SNAPSHOT.car
> hot-deployer-1.0.1-SNAPSHOT.car
> j2ee-deployer-1.0.1-SNAPSHOT.car
> tomcat-deployer-1.0.1-SNAPSHOT.car
> ldap-demo-tomcat-1.0.1-SNAPSHOT.car
> welcome-tomcat-1.0.1-SNAPSHOT.car
> servlets-examples-tomcat-1.0.1-SNAPSHOT.car
> jsp-examples-tomcat-1.0.1-SNAPSHOT.car
> webconsole-tomcat-1.0.1-SNAPSHOT.car
> jmxdebug-tomcat-1.0.1-SNAPSHOT.car
> remote-deploy-tomcat-1.0.1-SNAPSHOT.car
> uddi-tomcat-1.0.1-SNAPSHOT.car
> daytrader-derby-tomcat-1.0.1-SNAPSHOT.car
> daytrader-derby-tomcat-streamer-client-1.0.1-SNAPSHOT.car
> online-deployer-1.0.1-SNAPSHOT.car
> shutdown-1.0.1-SNAPSHOT.car
> Total time: 4 minutes 4 seconds
> Finished at: Sat May 27 15:59:46 IST 2006
>                                  And even when i tried downloading geronimo1.1 and  builded
from assemebelies/j2ee-tomcat-server/ , 
> Result was = "Build Successfull"  but when i tried starting the server using the below
command i get following errors
> C:\geronimo_src\geronimo1.1\assemblies\j2ee-tomcat-server\target\geronimo-1.1-SN
> APSHOT\bin>java -jar server.jar
> Booting Geronimo Kernel (in Java 1.4.2_09)...
> Warning: validation was turned on but an org.xml.sax.ErrorHandler was not
> set, which is probably not what is desired.  Parser will use a default
> ErrorHandler to print the first 10 errors.  Please call
> the 'setErrorHandler' method to fix this.
> Error: URI=null Line=71: cvc-complex-type.2.4.b: The content of element 'referen
> ce' is not complete. One of '{"http://geronimo.apache.org/xml/ns/attributes-1.1"
> :pattern}' is expected.
> Starting Geronimo Application Server v1.1-SNAPSHOT
> [*****>                ] 25%   9s Startup failed
> org.apache.geronimo.kernel.config.LifecycleException: start of geronimo/openejb/
> 1.1-SNAPSHOT/car failed
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:522)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:486)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla
> ssByCGLIB$$ce77a924.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:817)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
>         at org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
> cerByCGLIB$$327d01f1.startConfiguration(<generated>)
>         at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
>         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown sta
> rt exception
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:440)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:186)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:505)
>         ... 13 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Could not fi
> nd a valid constructor for GBean: org.openejb.mejb.MEJB
> constructor types: [Ljava.lang.Class;@19deddb
> different type in position: 0
> different type in position: 1
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
> java:348)
>         at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
> va:354)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:362)
>         ... 15 more
> Server shutdown begun              tartup failed
> Server shutdown completed
> C:\geronimo_src\geronimo1.1\assemblies\j2ee-tomcat-server\target\geronimo-1.1-SN
> APSHOT\bin>
>                  Can somebody help me out and let me know why the builds are so unstable.
>     
> Thanks and Regards,

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message