geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Collins <Collins-Soluti...@austin.rr.com>
Subject Re: Remote Interface in EAR
Date Wed, 24 Oct 2012 01:07:08 GMT
I will try this

On 10/23/2012 12:32 AM, David Jencks wrote:
> I'm not sure what is going on.  Would you consider trying putting the 
> client jar in the manifest class-path of the ejb jar?
>
> david jencks
>
> On Oct 22, 2012, at 9:08 PM, Russell Collins wrote:
>
>> I see that there is a ticket for this one.  I am getting the same 
>> error as the guy in the ticket.
>>
>> JIRA ticket GERONIMO-5984.  I am getting this error in version 3.0 
>> release of Geronimo.  Please tell me how I can correct this?
>>
>> On 10/22/2012 10:44 PM, Russell Collins wrote:
>>> Hello?  Is someone out there? Can anyone tell me why I cannot deploy 
>>> an application that has a remote interface that is in a separate jar 
>>> file?  I have done it successfully many times with Geronimo 2.2.  
>>> Why can I not do it with Geronimo 3.0?
>>>
>>> On 10/19/2012 07:30 AM, Russell Collins wrote:
>>>> One more thing.  The error that I am getting when trying to deploy is:
>>>>
>>>> The application was not deployed.
>>>> com/cs/base/remote/interfaces/IEmailManagerRemote
>>>> java.lang.NoClassDefFoundError: 
>>>> com/cs/base/remote/interfaces/IEmailManagerRemote
>>>> at java.lang.ClassLoader.defineClass1(Native Method)
>>>> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>>>> at 
>>>> org.apache.geronimo.hook.equinox.GeronimoClassLoader.defineClass(GeronimoClassLoader.java:213)
>>>> at 
>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:601)
>>>> at 
>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:567)
>>>> at 
>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:490)
>>>> at 
>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:478)
>>>> at 
>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:458)
>>>> at 
>>>> org.apache.geronimo.hook.equinox.GeronimoClassLoader.findLocalClass(GeronimoClassLoader.java:237)
>>>> at 
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
>>>> at 
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)
>>>> at 
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
>>>> at 
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
>>>> at 
>>>> org.apache.geronimo.hook.equinox.GeronimoClassLoader.loadClass(GeronimoClassLoader.java:85)
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>>> at 
>>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
>>>> at 
>>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
>>>> at 
>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
>>>> at 
>>>> org.apache.xbean.finder.BundleAnnotationFinder.loadClass(BundleAnnotationFinder.java:67)
>>>> at 
>>>> org.apache.xbean.finder.AbstractFinder$ClassInfo.get(AbstractFinder.java:775)
>>>> at 
>>>> org.apache.xbean.finder.AbstractFinder.findAnnotatedClasses(AbstractFinder.java:211)
>>>> at 
>>>> org.apache.xbean.finder.AbstractFinder.findMetaAnnotatedClasses(AbstractFinder.java:225)
>>>> at 
>>>> org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:1111)
>>>> at 
>>>> org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:356)
>>>> at 
>>>> org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:286)
>>>> at 
>>>> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:263)
>>>> at 
>>>> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:692)
>>>> at 
>>>> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:966)
>>>> at 
>>>> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getAppInfo(EjbModuleBuilder.java:886)
>>>> at 
>>>> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.doInitContext(EjbModuleBuilder.java:796)
>>>> at 
>>>> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:775)
>>>> at 
>>>> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:686)
>>>> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:256)
>>>> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
>>>> 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:597)
>>>> at 
>>>> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>>>> at 
>>>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
>>>> at 
>>>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
>>>> at 
>>>> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
>>>> 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:662)
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On 10/19/2012 07:27 AM, Russell Collins wrote:
>>>>> I have used Geronimo 2.2 in the past. Currently, I am trying to 
>>>>> get an application to deploy on the on Geronimo3.0.  I have one 
>>>>> EJB with a remote interface that is packaged in an EAR file. In 
>>>>> the EJB Jar, I have an ejb-jar.xml and an openejb-jar.xml file in 
>>>>> the META-INF. In the ejb-jar.xml I have the remote interfaces jar 
>>>>> file declared in the <ejb-client-jar> section. Please let me know

>>>>> what, if anything has changed with the deployment from 2.2 to 3.0.
>>>>>
>>>>
>>>>
>>>> -- 
>>>>
>>>> Russell Collins
>>>> Collins-Solutions@austin.rr.com
>>>
>>>
>>> -- 
>>>
>>> Russell Collins
>>> Collins-Solutions@austin.rr.com
>>
>>
>> -- 
>>
>> Russell Collins
>> Collins-Solutions@austin.rr.com
>


-- 

Russell Collins
Collins-Solutions@austin.rr.com


Mime
View raw message