geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <xhh...@gmail.com>
Subject Re: Unable to create configuration for deployment
Date Fri, 21 Nov 2008 09:58:34 GMT
>From the log, it seems that the server could not find TEKey.jar and
msb-stubs.jar in your ear.Could you double check that whether those two
files exist ? Are they corrupted?

2008/11/21 Puneet Madan <er_puneet_madan@yahoo.com>

>
> Thanks for the quick response.
> The previous issue is resolved by creating the dbpool.
> But now i am getting the following error.
> Please suggest me to resolve this one:-
> -------------------------------------------------
> Determining complete manifest classpath unsuccessful:
> org.apache.geronimo.common.DeploymentException: Determining complete
> manifest classpath unsuccessful:
>        at
>
> org.apache.geronimo.common.DeploymentException.cleanse(DeploymentException.java:87)
>        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:136)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        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(Unknown Source)
> org.apache.geronimo.common.DeploymentException: Manifest class path entries
> must be a valid jar file (JAVAEE 5 Section 8.2): path=TEKey.jar, resolved
> to
> targetURI=TEKey.jar
>    looking at: te_framework.jar    current classpath: [te-ejbs.jar,
> te_framework.jar, tef.jar, tef_logging.jar, TEKey.jar]    ignoring modules:
> [te-ejbs.jar]
>        at
>
> org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:367)
>        at
>
> org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:371)
>        at
>
> org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:286)
>        at
>
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:546)
>        at
>
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
>         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(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        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(Unknown Source)
> Caused by: java.io.IOException: Could not create JarFile for file:
>
> C:\IBM\WebSphere\AppServerCommunityEdition\repository\default\te_olc\1227258348582\te_olc-1227258348582.car\TEKey.jar
>        at
>
> org.apache.geronimo.deployment.DeploymentContext$DefaultJarFileFactory.newJarFile(DeploymentContext.java:271)
>        at
>
> org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:365)
>        ... 17 more
> Caused by: java.util.zip.ZipException: The system cannot find the file
> specified
>        at java.util.zip.ZipFile.open(Native Method)
>        at java.util.zip.ZipFile.<init>(Unknown Source)
>        at java.util.jar.JarFile.<init>(Unknown Source)
>        at java.util.jar.JarFile.<init>(Unknown Source)
>        at
>
> org.apache.geronimo.deployment.DeploymentContext$DefaultJarFileFactory.newJarFile(DeploymentContext.java:269)
>        ... 18 more
> org.apache.geronimo.common.DeploymentException: Manifest class path entries
> must be a valid jar file (JAVAEE 5 Section 8.2): path=activation.jar,
> resolved to targetURI=activation.jar
>    looking at: jaxb-impl.jar    current classpath: [te-ejbs.jar,
> te_framework.jar, tef.jar, tef_logging.jar, TEKey.jar,
> te-framework-resources.jar, client.jar, dsl.jar, dsllocal.jar, jpos17.jar,
> tw-security.jar, jaxb-api.jar, jaxb-impl.jar, activation.jar]    ignoring
> modules: [te-ejbs.jar]
>        at
>
> org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:367)
>        at
>
> org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:371)
>        at
>
> org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:286)
>        at
>
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:546)
>        at
>
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
>         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(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        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(Unknown Source)
> Caused by: java.io.IOException: Could not create JarFile for file:
>
> C:\IBM\WebSphere\AppServerCommunityEdition\repository\default\te_olc\1227258348582\te_olc-1227258348582.car\activation.jar
>        at
>
> org.apache.geronimo.deployment.DeploymentContext$DefaultJarFileFactory.newJarFile(DeploymentContext.java:271)
>        at
>
> org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:365)
>        ... 17 more
> Caused by: java.util.zip.ZipException: The system cannot find the file
> specified
>        at java.util.zip.ZipFile.open(Native Method)
>        at java.util.zip.ZipFile.<init>(Unknown Source)
>        at java.util.jar.JarFile.<init>(Unknown Source)
>        at java.util.jar.JarFile.<init>(Unknown Source)
>        at
>
> org.apache.geronimo.deployment.DeploymentContext$DefaultJarFileFactory.newJarFile(DeploymentContext.java:269)
>        ... 18 more
> org.apache.geronimo.common.DeploymentException: Manifest class path entries
> must be a valid jar file (JAVAEE 5 Section 8.2): path=msb-stubs.jar,
> resolved to targetURI=msb-stubs.jar
>    looking at: te-ejbs.jar    current classpath: [te-ejbs.jar,
> te_framework.jar, tef.jar, tef_logging.jar, TEKey.jar,
> te-framework-resources.jar, client.jar, dsl.jar, dsllocal.jar, jpos17.jar,
> tw-security.jar, jaxb-api.jar, jaxb-impl.jar, activation.jar,
> jsr173_1.0_api.jar, ib6core.jar, ib6extra.jar, ib6http.jar, ib6https.jar,
> ib6js.jar, ib6swing.jar, ib6util.jar, ib6xalan.jar, icessl.jar,
> a1to1sp.jar,
> pos.jar, msb-stubs.jar]    ignoring modules: [te-ejbs.jar]
>        at
>
> org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:367)
>        at
>
> org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:286)
>        at
>
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:546)
>        at
>
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
>         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(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        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(Unknown Source)
> Caused by: java.io.IOException: Could not create JarFile for file:
>
> C:\IBM\WebSphere\AppServerCommunityEdition\repository\default\te_olc\1227258348582\te_olc-1227258348582.car\msb-stubs.jar
>        at
>
> org.apache.geronimo.deployment.DeploymentContext$DefaultJarFileFactory.newJarFile(DeploymentContext.java:271)
>        at
>
> org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:365)
>        ... 16 more
> Caused by: java.util.zip.ZipException: The system cannot find the file
> specified
>        at java.util.zip.ZipFile.open(Native Method)
>        at java.util.zip.ZipFile.<init>(Unknown Source)
>        at java.util.jar.JarFile.<init>(Unknown Source)
>        at java.util.jar.JarFile.<init>(Unknown Source)
>        at
>
> org.apache.geronimo.deployment.DeploymentContext$DefaultJarFileFactory.newJarFile(DeploymentContext.java:269)
>
> ------------------------------------------------
>
> xu haihong wrote:
> >
> > Have you created the dbpool named transactionwareDataSource in Geronimo ?
> > If did, try to add the dependency of your db pool to the deployment plan
> > <dependency>       <groupId>console.dbpool</groupId>
> >      <artifactId> transactionwareDataSource </artifactId>
> > </dependency>
> >
> > 2008/11/21 Puneet Madan <er_puneet_madan@yahoo.com>
> >
> >>
> >> I am trying to deploy ear file in websphere CE server.
> >> I am getting the following error.
> >> Please suggest me to resolve this issue.
> >> ------------------------------------------------
> >> 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(Unknown Source)
> >>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> >>        at java.lang.reflect.Method.invoke(Unknown Source)
> >>        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(Unknown Source)
> >> Caused by: org.apache.geronimo.kernel.config.LifecycleException: load of
> >> default/te_olc/1227250858007/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: console.dbpool/transactionwareDataSource//
> >>        at
> >>
> >>
> org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:116)
> >>        at
> >>
> >>
> org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:109)
> >>        at
> >>
> >>
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveParentIds(SimpleConfigurationManager.java:501)
> >>        at
> >>
> >>
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDepthFirst(SimpleConfigurationManager.java:430)
> >>        at
> >>
> >>
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:296)
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Unable-to-create-configuration-for-deployment-tp20616253s134p20616253.html
> >> Sent from the Apache Geronimo - Users mailing list archive at
> Nabble.com.
> >>
> >>
> >
> >
> > --
> > Ivan
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Unable-to-create-configuration-for-deployment-tp20616253s134p20617537.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>


-- 
Ivan

Mime
View raw message