Hi Sundar,
Thanx for your reply. I tried the distribute command given by
you and got the same exception though my server is running.
bash-2.05# java -jar bin/deployer.jar distribute testApp/example.war
Username: system
Password: manager
Deployment failed
Server reports: No deployer found:, moduleFile/space/software/Apache
Geronimo/testApp/example.war
org.apache.geronimo.deployment.DeploymentException: No deployer
found:, moduleFile/space/software/Apache Geronimo/testApp/example.war
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:60)
at
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
Thanks in Advance,
Satya
On 7/6/05, Sundaranathan S <[EMAIL PROTECTED]> wrote:
> Hi,
>
> If you are going to use the command "java -jar bin/deployer.jar
> deploy sample.war" then make sure that server is running. Otherwise
> you can use "java -jar bin/deployer.jar distribute sample.war" which
> deploys when there is no server instance running.
>
> thanks,
> -Sundar.
>
> On 7/6/05, satya ranjan <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I am trying to deploy a sample war file.
> > The command mentioned in README file to deploy war application is
> >
> > java -jar bin\deployer.jar --install --module myWebapp.war
> >
> > But while I am using the above command nothing happens and it shows me
> > the usages.
> >
> > I tried to use below command
> >
> > java -jar bin/deploy.jar sample.war
> >
> > and got some exception.
> >
> > Here's the exception stack trace
> >
> > bash-2.05# java -jar bin/deployer.jar deploy testApp/example.war
> > Username: system
> > Password: manager
> > Deployment failed
> > Server reports: No deployer found:, moduleFile/space/software/Apache
> > Geronimo/testApp/example.war
> > org.apache.geronimo.deployment.DeploymentException: No deployer
> > found:, moduleFile/space/software/Apache Geronimo/testApp/example.war
> > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
> > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:60)
> > at
> > org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
> > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
> > at
> > org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> > at
> > org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:142)
> > at
> > org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:844)
> > at
> > mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:218)
> > at
> > mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
> > at
> > mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:86)
> > at
> > mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
> > at
> > mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
> > at
> > mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:205)
> > at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079)
> > at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:288)
> > 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:324)
> > at
> > mx4j.server.ReflectionMBeanInvoker.invokeImpl(ReflectionMBeanInvoker.java:152)
> > at
> > mx4j.server.ReflectionMBeanInvoker.doInvoke(ReflectionMBeanInvoker.java:119)
> > at
> > mx4j.server.ReflectionMBeanInvoker.invoke(ReflectionMBeanInvoker.java:54)
> > at
> > mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:235)
> > at
> > mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
> > at
> > mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:86)
> > at
> > mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
> > at
> > mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
> > at
> > mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:205)
> > at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079)
> > at
> > mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:222)
> > at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:324)
> > at
> > mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:36)
> > at
> > mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectInvoker.java:98)
> > at
> > mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubjectInvoker.java:32)
> > at
> > mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectInvoker.java:89)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
> > at
> > mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:151)
> > at
> > mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnectionSubjectInvoker.java:85)
> > at
> > mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectInvoker.java:79)
> > at $Proxy0.invoke(Unknown Source)
> > at
> > javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:224)
> > 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:324)
> > at
> > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
> > at sun.rmi.transport.Transport$1.run(Transport.java:148)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
> > at
> > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
> > at
> > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
> >
> >
> > Plz suggest me what to do?
> >
> > Thanks in Advance,
> > Satya
> >
>