[ 
https://issues.apache.org/jira/browse/GERONIMO-3947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585486#action_12585486
 ] 

Jacques Le Roux commented on GERONIMO-3947:
-------------------------------------------

Hi Donald,

Sorry but it does not work also under geronimo-tomcat6-jee5-2.0.3 (dowloaded 
from the 2d link above). I get this :

C:\Program Files\Apache Software 
Foundation\geronimo-tomcat6-jee5-2.0.3\bin>deploy --user system --password 
manager --offline deploy --inPlace D:\workspace\ofbizDev
Using GERONIMO_BASE:   C:\Program Files\Apache Software 
Foundation\geronimo-tomcat6-jee5-2.0.3
Using GERONIMO_HOME:   C:\Program Files\Apache Software 
Foundation\geronimo-tomcat6-jee5-2.0.3
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME:        C:\Program Files\Java\jre1.5.0_11
Deployer operation failed: Unable to create configuration for deployment
org.apache.geronimo.common.DeploymentException: Unable to create configuration 
for deployment
        at 
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:120)
        at 
org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:100)
        at 
org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:80)
        at 
org.apache.geronimo.j2ee.deployment.EARContext.<init>(EARContext.java:68)
        at 
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:512)
        at 
org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
        at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at 
org.apache.geronimo.j2ee.deployment.CorbaGBeanNameSource$$EnhancerByCGLIB$$a2a59f84.buildConfiguration(<generated>)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:319)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:135)
        at 
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:865)
        at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
        at 
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
        at 
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.geronimo.kernel.config.LifecycleException: load of 
org.ofbiz/ofbiz/1.0/ear failed
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:325)
        at 
org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:115)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:284)
        at 
org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:111)
        at 
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:117)
        ... 24 more
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error 
starting configuration gbean org.ofbiz/ofbiz/1.0/ear
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.load(SimpleConfigurationManager.java:350)
        at 
org.apache.geronimo.deployment.DeploymentConfigurationManager.load(DeploymentConfigurationManager.java:119)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:310)
        ... 28 more
Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: 
Unable to resolve dependency org.ofbiz/ofbiz/1.0/jar
        at 
org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:114)
        at 
org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:405)
        at 
org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:322)
        at 
org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:267)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.load(SimpleConfigurationManager.java:346)
        ... 30 more
    Error: Unable to distribute ofbizDev: Unable to create configuration
    for deployment
[...]

With WASCE 2 I get

C:\Program Files\IBM\WebSphere\AppServerCommunityEdition\bin>deploy --user 
system --password manager --offline deploy --inPlace D:\workspace\ofbizDev
Using GERONIMO_BASE:   C:\Program Files\IBM\WebSphere\AppServerCommunityEdition
Using GERONIMO_HOME:   C:\Program Files\IBM\WebSphere\AppServerCommunityEdition
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME:        C:\Program Files\Java\jre1.5.0_11
    Deployed org.ofbiz/ofbiz/1.0/ear
    Deployed org.apache.geronimo.configs/j2ee-system/2.0.1/car
    Deployed org.apache.geronimo.configs/rmi-naming/2.0.1/car
    Deployed org.apache.geronimo.configs/j2ee-server/2.0.1/car
    Deployed org.apache.geronimo.configs/j2ee-security/2.0.1/car
    Deployed
    org.apache.geronimo.configs/server-security-config/2.0.1/car
    Deployed org.apache.geronimo.configs/transaction/2.0.1/car
    Deployed org.apache.geronimo.configs/jasper/2.0.1/car
    Deployed org.apache.geronimo.configs/webservices-common/2.0.1/car
    Deployed org.apache.geronimo.configs/tomcat6/2.0.1/car
    Deployed org.apache.geronimo.configs/openjpa/2.0.1/car
    Deployed org.apache.geronimo.configs/system-database/2.0.1/car
    Deployed org.apache.geronimo.configs/activemq-broker/2.0.1/car
    Deployed org.apache.geronimo.configs/openejb/2.0.1/car
    Deployed org.apache.geronimo.configs/j2ee-corba-yoko/2.0.1/car
    Deployed org.apache.geronimo.configs/axis/2.0.1/car
    Deployed org.apache.geronimo.configs/axis2/2.0.1/car

I checked the deploy and setenv scripts are the same (I copied the slightly 
adapted one from WASCE in geronimo-tomcat6-jee5-2.0.3 bin). Anyway, my main 
concern is about accessing to the sources, do you know if IBM provides an 
access to its sources ?

> Apache OFBiz deploys and runs under WASCE 2 but not under Geronimo 2.0.1 (nor 
> 2.1)
> ----------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3947
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3947
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.0.1
>         Environment: XP SP2, Java Sun sdk 1.5_011
>            Reporter: Jacques Le Roux
>
> With deployer tool, I get this error
>     Module was not a war: framework/webtools/webapp/webtools/
> With this WAR (deployed, not in a jar file) through its plan from console, I 
> get this error
>     Cannot deploy the requested application module because no deployer is 
> able to handle it.  
>     This can happen if you have omitted the J2EE deployment descriptor, 
> disabled a deployer module, or if, 
>    for example, you are trying to deploy an EJB module on a minimal Geronimo 
> server that does not have EJB support installed.  
>    (planFile=C:\Program Files\Apache Software 
> Foundation\geronimo-tomcat6-jee5-2.0.1\var\temp\geronimo-web.xml)
> There is a web.xml used in OFBiz without problems (OFBiz runs with Tomcat 
> embedded) 
> The C:\Program Files\Apache Software 
> Foundation\geronimo-tomcat6-jee5-2.0.1\var\temp\geronimo-web.xml deployment 
> plan is
> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0";
>     xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2";
>     xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2";
>     xmlns:security="http://geronimo.apache.org/xml/ns/security-1.2";>
>     <dep:environment>
>         <dep:moduleId>
>             <dep:groupId>org.ofbiz.webtools</dep:groupId>
>             <dep:artifactId>webtools</dep:artifactId>
>             <dep:version>1.0</dep:version>
>             <dep:type>war</dep:type>
>         </dep:moduleId>
>         <dep:dependencies/>
>         <dep:hidden-classes/>
>         <dep:non-overridable-classes/>
>     </dep:environment>
>     <context-root>/webtools</context-root>
> </web-app>
> Am I missing something ? I thought that, since I got any problems with WASCE 
> 2, it should work also in Geronimo.
> If you need more information, there is a guidelines at 
> http://docs.ofbiz.org/x/Ah
> Thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to