You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-user@portals.apache.org by B Ramesh <bu...@gmail.com> on 2007/10/11 16:41:34 UTC

Re: Deploying WSRP4J on Geronimo 2.0

Hi,
One of the probable reasons WSRP doesn't deploy on Geronimo perhaps is that
the folder structure of Geronimo is vastly different than Tomcat.
When we build WSRP giving the base path of Tomcat, the WSRP expects the war
to be deployed in <Tomcat Base Path>/webapps folder.
Where as in Geronimo the war gets deployed in
<Geronimo base
path>/repository/org/apache/wsrp4j/wsrp4j-producer/0.5-snapshot/wsrp4j-
producer-0.5-SNAPSHOT.war/
This folder contains the webapp etc.. folders.
Hence its not getting started i guess.
I've no idea how i can accommodate this in my tomcat home. Any help will be
appreciated.

Also I would like to know what is the latest stable release for WSRP4J.

Regards,
Ramesh B.

-- 
www.easy-share.tk

On 9/14/07, B Ramesh <bu...@gmail.com> wrote:
>
> Hi Elliot,
> Thanks for the quick response.
> I've followed your advice and i've deployed pluto 1.1.5-SNAPSHOT on
> Geronimo, and then tried deploying WSRP4J, this time i'm getting a new
> error.
>
> I'm attaching the the error with this mail.
> I'm also attaching the geronimo-web.xml that i'm written for deployment.
> Please let me know if i'm missing anything.
>
> Thanks and Regards,
> Ramesh B.
>
>
> On 9/13/07, Elliot Metsger <em...@jhu.edu> wrote:
> >
> > Hi Ramesh,
> >
> > I'll try to take a look this weekend.  The trunk of WSRP has been
> > undergoing some changes recently, but due to some trouble (i.e. students
> > banging on your portal has a tendency to expose bugs) at my real job I
> > won't have time to take a look at this until then.
> >
> > Until then maybe the following will help... you have a couple of
> > options:
> >
> > 1) This error looks like you don't have the Pluto jars in the incorrect
> > class loader (I don't know much about Geronimo so I can't help you
> > here).  As you are aware the container and its dependencies need to be
> > in a classloader available to all webapps.
> >
> > 2) You can try a more stable version of WSRP4J from
> > https://svn.apache.org/repos/asf/wsrp4j-0.4-SNAPSHOT-prepluto11/
> >
> > 3) If you want to stay on the WSRP4J trunk you will need Pluto
> > 1.1.5-SNAPSHOT instead of Pluto 1.1.4 final.  You can checkout the Pluto
> > 1.1.x branch to install it.
> >
> > I hope to get some good work done with WSRP4J this weekend, and if I
> > have time I'll install Geronimo and try to duplicate this behavior.
> >
> > Hope this helps,
> > Elliot
> >
> >
> > B Ramesh wrote:
> > > Hi,
> > > I'm new to WSRP and Geronimo.
> > > I'm trying to deploy WSRP on Geronimo.
> > >
> > > I'm using Geronimo 2.0 for this, and checked out the latest code of
> > WSRP.
> > > Build it using maven. And then i've tried to deploy
> > wsrp4j-producer.war.
> > > Also i've already deployed pluto 1.1.4 onto geronimo. I've also added
> > the
> > > pluto jars to common libs.
> > > However it gives the following error on deploying WSRP...
> > > -------------------------------------------
> > >
> > > 2:38:06,875 ERROR [Deployer] Deployment failed due to
> > > java.lang.NoClassDefFoundError:
> > org/apache/pluto/PortletContainerException
> > >       at java.lang.Class.getDeclaredMethods0(Native Method)
> > >       at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
> > >       at java.lang.Class.getDeclaredMethods(Unknown Source)
> > >       at org.apache.xbean.finder.ClassFinder .<init>(ClassFinder.java
> > :162)
> > >       at
> > org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.createWebAppClassFinder
> > (AbstractWebModuleBuilder.java:796)
> > >       at
> > org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.configureBasicWebModuleAttributes(
> > AbstractWebModuleBuilder.java:813)
> > >       at
> > org.apache.geronimo.jetty6.deployment.JettyModuleBuilder.addGBeans(
> > JettyModuleBuilder.java:337)
> > >       at
> > org.apache.geronimo.jetty6.deployment.JettyModuleBuilder$$FastClassByCGLIB$$1a00be84.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.ModuleBuilder$$EnhancerByCGLIB$$5a46c1ef.addGBeans
> > (<generated>)
> > >       at
> > org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(
> > SwitchingModuleBuilder.java:165)
> > >       at
> > org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder$$FastClassByCGLIB$$d0c31844.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.ModuleBuilder$$EnhancerByCGLIB$$5a46c1ef.addGBeans(<generated>)
> >
> > >       at
> > org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(
> > EARConfigBuilder.java:628)
> > >       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.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$5b6c9ee2.buildConfiguration
> > (<generated>)
> > >       at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java
> > :304)
> > >       at org.apache.geronimo.deployment.Deployer.deploy (Deployer.java
> > :126)
> > >       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.kernel.KernelGBean.invoke(
> > KernelGBean.java:342)
> > >       at
> > org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.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.system.jmx.MBeanGBeanBridge.invoke(
> > MBeanGBeanBridge.java:168)
> > >       at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown
> > Source)
> > >       at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke (Unknown
> > Source)
> > >       at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown
> > Source)
> > >       at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown
> > Source)
> > >       at
> > javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown
> > > Source)
> > >       at java.security.AccessController.doPrivileged(Native Method)
> > >       at
> > javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation
> > (Unknown
> > > Source)
> > >       at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown
> > Source)
> > >       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 sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
> > >       at sun.rmi.transport.Transport$1.run(Unknown Source)
> > >       at java.security.AccessController.doPrivileged(Native Method)
> > >       at sun.rmi.transport.Transport.serviceCall(Unknown Source)
> > >       at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown
> > Source)
> > >       at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown
> > Source)
> > >       at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
> > >       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> > Source)
> > >       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> > Source)
> > >       at java.lang.Thread.run (Unknown Source)
> > >
> > >
> > >
> > > Please help me with this error as i feel i'm really stuck at this
> > point.
> > >
> > > Thanks and Regards,
> > > Ramesh B.
> > >
> >
>
>
>