geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "NATARAJAN Sasi Kumar" <>
Subject RE: [jira] Resolved: (GERONIMO-671) Error: Deployment failed, Server reports: No deployer present in kernel
Date Tue, 14 Jun 2005 12:56:21 GMT

$ java -jar bin/deployer.jar --user system --password manager distribute

If you give distribute add one by one each file instead of that give

$java -jar bin/server.jar

$ java -jar bin/deployer.jar --user system --password manager deploy


-----Original Message-----
From: Jacek Laskowski (JIRA) [] 
Sent: Tuesday, June 14, 2005 6:15 PM
Subject: [jira] Resolved: (GERONIMO-671) Error: Deployment failed,
Server reports: No deployer present in kernel

     [ ]
Jacek Laskowski resolved GERONIMO-671:

    Fix Version: 1.0-M4
     Resolution: Fixed

Ok, I've finally got the better understanding why it happens. It's
because the deployer tries to connect to a running Geronimo instance
that accepts requests for
deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector. Depending
on a running configuration (e.g. org/apache/geronimo/Server) it might
not (and in many cases does not) contain the Deployer (the GBean with
the name: *:name=Deployer,j2eeType=Deployer,*). There're two solutions
to the issue:

  * (the most obvious one) to shut down the running instance


  * (the better one that leverages Geronimo configuration concept) to
run the org/apache/geronimo/RuntimeDeployer together with your own
configuration (your own application)

For the completeness' sake here's the scenario that the issue will show

1/ Run org/apache/geronimo/Server (or any configuration that doesn't
contain the Deployer GBean - consult the available plans, i.e. grep -l
Deployer src/plan/*.xml)
2/ Deploy your application (webapp, ejb, rar or anything else)
... it finishes with the error..
3/ Stop Geronimo
4/ Now it's up to you if you want to run both, your configuration and
RuntimeDeployer or run nothing
5/ Deploy your application - it finishes without any troubles

of the deploy-tool module has been patched (see revision 190584) so that
the error message would tell a bit more on the root cause of the error
with a reference to this issue report:

   Error: Deployment failed, Server reports: No Deployer GBean present
   in running Geronimo kernel. The Deployer GBean would've been started
   up automatically if there hadn't been a Geronimo instance up
   already. Stop the running instance and run the deployer again or see for possible

> Error: Deployment failed, Server reports: No deployer present in
>          Key: GERONIMO-671
>          URL:
>      Project: Geronimo
>         Type: Improvement
>   Components: deployment
>     Versions: 1.0-M4
>     Reporter: Jacek Laskowski
>     Assignee: Jacek Laskowski
>     Priority: Minor
>      Fix For: 1.0-M4

> It happens when the deployer is invoked from within the Netbeans
module I'm working on. It distributes a webapp without any
Geronimo-specific DDs. Before the distribute command is executed,
Netbeans starts up Geronimo (it's configured to run
org/apache/geronimo/Server). It's a rudimentary integration since it
uses bin/deployer.jar.
> $ java -jar bin/deployer.jar --user system --password manager
distribute C\:/Temp/WebApplication1/dist/WebApplication1.war
>     Error: Deployment failed, Server reports: No deployer present in
>     kernel

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

Confidentiality Statement:

This message is intended only for the individual or entity to which it is addressed. It may
contain privileged, confidential information which is exempt from disclosure under applicable
laws. If you are not the intended recipient, please note that you are strictly prohibited
from disseminating or distributing this information (other than to the intended recipient)
or copying this information. If you have received this communication in error, please notify
us immediately by return email.

View raw message