Hi Shiva,
I'm sorry. I must have missed where in our discussion we changed from "Plan
Creator" to "Deploy New". I also do not see this process documented anywhere
at http://cwiki.apache.org/GMOxDOC21/, so please be patient with my
denseness, here.
I have done as you instructed:
[1] Console Navigation > Deploy New
Install New Applications
- Archive: specified liferay-portal-4.4.1.war (as it comes from
Liferay, no mods)
- Plan: specified your edition of geronimo-web.xml
[2] Here are the results:
Install New Applications
Deployment failed:
Unable to create configuration for deployment
[3] Clicking the "Show Full Details" shows the following:
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:530)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
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(Thread.java:595)
Caused by: org.apache.geronimo.kernel.config.LifecycleException: load of
liferay/liferay-portal-tomcat/4.4.1/car failed
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:299)
at
org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:115)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:286)
at
org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:111)
at
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:117)
... 17 more
Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException:
Missing dependency: org.apache.geronimo.configs/j2ee-security//car
at
org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:111)
at
org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:104)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveParentIds(SimpleConfigurationManager.java:473)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDepthFirst(SimpleConfigurationManager.java:431)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:296)
... 21 more
Am I still not "getting it"? or is there something else going on here we
need to focus on?
I am available and at your disposal for whatever need be on this end.
Jim
Shiva Kumar H R wrote:
>
> Oh! no no, don't use "Plan Creator" for deploying your war. Use normal
> "Deploy New" portlet.
>
> (You don't even have to edit your WAR and put new "geronimo-web.xml"
> inside
> it. Just specify it as 'Plan' in "Deploy New" portlet and it will override
> the old "geronimo-web.xml" inside your WAR).
>
> --
> Thanks,
> Shiva
>
> On Fri, Feb 15, 2008 at 4:39 PM, Jim Foster <[EMAIL PROTECTED]> wrote:
>
>>
>>
>>
>> There are two problems, both in Plan Creator feature:
>>
>> ...
>>
>> Due to these bugs/limitations, I am sorry to say that you will again have
>> to
>> create geronimo-web.xml by hand. I found one "geronimo-web.xml" inside
>> liferay-portal-4.4.1.war itself. I have removed non-existing dependencies
>> from it and attached it in this mail. Please see if it works. (I guess it
>> requires some pre-requisite db-pools to be deployed before the WAR can be
>> deployed). Hope it helps.
>>
>>
>> Hi Shiva,
>>
>> I have some feedback for you.
>>
>> There still seems to be problem. Here is what I did:
>>
>> [1] Uncompressed the liferay-portal-4.4.1.war file.
>>
>> [2] Replaced the existing geronimo-web.xml file with the edited version
>> you
>> supplied.
>>
>> [3] jar'd p the result for a new .war file
>>
>> [4] Repeated process with Plan Creator using that new .war file
>>
>> [5] Result: exactly the same error as in my opening post.
>>
>>
>> Thoughts?
>>
>>
>> Thanks, Shiva.
>>
>> Jim
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Geronimo-v2.1-Plan-Creator-%3D%3E-Deploy-Liferay-4.1.1-tp15437773s134p15499041.html
>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Geronimo-v2.1-Plan-Creator-%3D%3E-Deploy-Liferay-4.1.1-tp15437773s134p15502316.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.