geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From siss...@insession.com
Subject No deployer present in kernel error when deploying a database pool
Date Tue, 16 Nov 2004 06:38:27 GMT
I attempted to deploying a Server-Wide Database Pool in a freshly built 
version of Geronimo (at revision 65588) and followed the build 
instructions on the wiki.

Here is an example of the command I used to deploy the Database Pool:

D:\geronimo-1.0-SNAPSHOT>java -jar bin/deployer.jar deploy 
repository/tranql/rars/tranql-connector-1.0-SNAPSHOT.rar 
my-database-plan.xml
Username: system
Password: manager
Deployment failed
  Server reports: No deployer present in kernel <<<<=====================

I was expecting the deployer to be present in the kernel when using the 
default configuration when I had done a clean build (I copied 
D:\Projects\J2EE\geronimo\modules\assembly\target\geronimo-1.0-SNAPSHOT to 
D:\geronimo-1.0-SNAPSHOT ). 

I didn't see anything in the doc saying that I needed to start the server 
specifying configuration names to be able to deploy.

I have included the server window output and plan below.  I didn't see the 
RuntimeDeployer configuration being started.. Should I have? 

=======================================================================

D:\geronimo-1.0-SNAPSHOT>java -jar bin/server.jar
11:11:25,067 WARN  [ToolsJarHack] Could not all find java compiler: 
lib\tools.jar file not found in C:\Program Files\Java\j2re1.4.2_
06 or C:\Program Files\Java
11:11:25,082 INFO  [Daemon] Server startup begun
11:11:25,332 INFO  [Kernel] Starting boot
11:11:25,723 INFO  [MBeanServerFactory] Created MBeanServer with ID: 
16df84b:1003991d1a1:-8000:SYISissonJ:1
11:11:26,020 INFO  [Kernel] Booted
11:11:26,098 INFO  [ConfigurationManagerImpl] Loaded Configuration 
geronimo.config:name="org/apache/geronimo/System"
11:11:26,270 INFO  [Configuration] Started configuration 
org/apache/geronimo/System
11:11:26,457 INFO  [RMIRegistryService] Started RMI Registry on port 1099
11:11:26,629 INFO  [ReadOnlyRepository] Repository root is 
file:/D:/geronimo-1.0-SNAPSHOT/repository/
11:11:26,707 INFO  [ConfigurationManagerImpl] Loaded Configuration 
geronimo.config:name="org/apache/geronimo/Server"
11:11:28,160 INFO  [HttpServer] Statistics on = false for 
org.apache.geronimo.jetty.JettyServer@983d95
11:11:28,613 INFO  [Configuration] Started configuration 
org/apache/geronimo/Server
11:11:28,613 INFO  [HttpServer] Version Jetty/5.1.0
11:11:28,613 INFO  [Container] Started 
org.apache.geronimo.jetty.JettyServer@983d95
11:11:28,691 INFO  [SocketListener] Started SocketListener on 0.0.0.0:8080
11:11:28,723 INFO  [HOWLLog] Initiating transaction manager recovery
11:11:28,957 WARN  [HOWLLog] Received unexpected log record: 
org.objectweb.howl.log.xa.XALogRecord@1f6f27b
11:11:28,957 INFO  [HOWLLog] In doubt transactions recovered from log
11:11:31,254 INFO  [LoginService] Login server has been started
11:11:31,254 INFO  [ThreadPool] Thread pool DefaultThreadPool started
11:11:31,301 INFO  [PropertiesFileSecurityRealm] Properties File Realm - 
geronimo-properties-realm - refresh
11:11:31,301 INFO  [PropertiesFileSecurityRealm] Properties File Realm - 
geronimo-properties-realm - started
11:11:31,582 INFO  [RMIConnectorServer] RMIConnectorServer started at: 
service:jmx:rmi://localhost/jndi/rmi:/JMXConnector
11:11:31,582 INFO  [server:name=localhost,role=JMXService] Started 
JMXConnector service:jmx:rmi://localhost/jndi/rmi:/JMXConnector
11:11:31,613 INFO  [SecurityServiceMBean] Security service started
11:11:31,691 INFO  [ConfigurationManagerImpl] Loaded Configuration 
geronimo.config:name="org/apache/geronimo/SystemDatabase"
11:11:32,129 INFO  [Configuration] Started configuration 
org/apache/geronimo/SystemDatabase
11:11:32,973 INFO  [DerbySystem] Started in 
D:\geronimo-1.0-SNAPSHOT\var\derby
11:11:33,051 INFO  [DerbyNetwork] Started on host 127.0.0.1:1527
11:11:33,176 INFO  [ConfigurationManagerImpl] Loaded Configuration 
geronimo.config:name="org/apache/geronimo/SystemJMS"
11:11:33,207 INFO  [ConfigurationManagerImpl] Loaded Configuration 
geronimo.config:name="org/apache/geronimo/ActiveMQServer"
11:11:33,473 INFO  [Configuration] Started configuration 
org/apache/geronimo/ActiveMQServer
11:11:33,519 INFO  [BrokerContainerImpl] ActiveMQ JMS Message Broker 
(possibly-unique-broker) is starting
11:11:33,535 INFO  [BrokerContainerImpl] For help or more information 
please see: www.protique.com
11:11:33,535 INFO  [JdbmPersistenceAdapter] Creating JDBM based message 
store in directory: D:\geronimo-1.0-SNAPSHOT\var\activemq
11:11:33,691 INFO  [JdbmPreparedTransactionStore] Recovering prepared 
transactions
11:11:33,754 INFO  [BrokerContainerImpl] ActiveMQ JMS Message Broker 
(possibly-unique-broker) has started
11:11:33,785 INFO  [VmTransportServerChannel] Listening for connections 
at: vm://localhost
11:11:33,785 INFO  [BrokerConnectorImpl] ActiveMQ connector started: 
VmTransportServerChannel@vm://localhost
11:11:33,801 INFO  [TcpTransportServerChannel] Listening for connections 
at: tcp://localhost:61616
11:11:33,801 INFO  [BrokerConnectorImpl] ActiveMQ connector started: 
TcpTransportServerChannel@tcp://localhost:61616
11:11:34,097 INFO  [Configuration] Started configuration 
org/apache/geronimo/SystemJMS
11:11:34,129 INFO  [Daemon] Server startup completed
11:21:43,851 INFO  [Daemon] Server shutdown begun
11:21:43,851 INFO  [Kernel] Starting kernel shutdown
11:21:43,851 INFO  [BrokerContainerImpl] ActiveMQ Message Broker 
(possibly-unique-broker) is shutting down
11:21:43,851 INFO  [BrokerConnectorImpl] ActiveMQ connector stopped: 
VmTransportServerChannel@vm://localhost
11:21:43,867 INFO  [BrokerConnectorImpl] ActiveMQ connector stopped: 
TcpTransportServerChannel@tcp://localhost:61616
11:21:44,164 INFO  [BrokerContainerImpl] ActiveMQ JMS Message Broker 
(possibly-unique-broker) stopped
11:21:44,320 INFO  [PersistentConfigurationList] Saved running 
configuration list
11:21:44,320 INFO  [ThreadedServer] Stopping Acceptor 
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080]
11:21:45,242 INFO  [SocketListener] Stopped SocketListener on 0.0.0.0:8080
11:21:45,242 INFO  [Container] Stopped 
org.apache.geronimo.jetty.JettyServer@983d95
11:21:47,101 INFO  [DerbyNetwork] Stopped
11:21:47,133 INFO  [DerbySystem] Stopped
11:21:47,133 INFO  [Configuration] Stopping configuration 
org/apache/geronimo/SystemDatabase
11:21:47,195 INFO  [LoginService] Login server has been stopped
11:21:47,195 INFO  [ThreadPool] Thread pool DefaultThreadPool stopped
11:21:47,195 INFO  [PropertiesFileSecurityRealm] Properties File Realm - 
geronimo-properties-realm - stopped
11:21:47,195 INFO  [BrokerConnectorImpl] ActiveMQ connector stopped: 
VmTransportServerChannel@vm://localhost
11:21:47,195 INFO  [BrokerConnectorImpl] ActiveMQ connector stopped: 
TcpTransportServerChannel@tcp://localhost:61616
11:21:47,211 INFO  [Configuration] Stopping configuration 
org/apache/geronimo/SystemJMS
11:21:47,258 INFO  [Configuration] Stopping configuration 
org/apache/geronimo/ActiveMQServer
11:21:47,289 INFO  [RMIConnectorServer] RMIConnectorServer stopped at: 
service:jmx:rmi://localhost/jndi/rmi:/JMXConnector
11:21:47,289 INFO  [server:name=localhost,role=JMXService] Stopped 
JMXConnector service:jmx:rmi://localhost/jndi/rmi:/JMXConnector
11:21:47,304 INFO  [SecurityServiceMBean] Security service stopped
11:21:47,304 INFO  [Configuration] Stopping configuration 
org/apache/geronimo/Server
11:21:47,367 INFO  [RMIRegistryService] Stopped RMI Registry
11:21:47,367 INFO  [Configuration] Stopping configuration 
org/apache/geronimo/System
11:21:47,367 INFO  [Kernel] Kernel shutdown complete
11:21:47,382 INFO  [Daemon] Server shutdown completed

=========================================================

my-database-plan.xml follows....

<?xml version="1.0" encoding="UTF-8"?>

<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
    version="1.5"
    configId="com/insession/workpoint/MyDatabase"
<!--parentId="org/apache/geronimo/Server" -->
    parentId="org/apache/geronimo/SystemDatabase" <!-- SystemDatabase 
starts embedded Derby -->
>

<!--
    <dependency>
        <uri>derby/jars/derby-47170.jar</uri>
    </dependency>
    <dependency>
        <uri>derby/jars/derbynet-47170.jar</uri>
    </dependency>
    <dependency>
       <uri>geronimo/jars/geronimo-derby-1.0-SNAPSHOT.jar</uri>
    </dependency>
-->

    <resourceadapter>
        <outbound-resourceadapter>
            <connection-definition>
 
<connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
                <connectiondefinition-instance>
                    <name>MyDB</name>
                    <config-property-setting 
name="UserName">myuid</config-property-setting>
                    <config-property-setting 
name="Password">mypass</config-property-setting>
                    <config-property-setting 
name="Driver">org.apache.derby.jdbc.EmbeddedDriver</config-property-setting>
                    <config-property-setting 
name="ConnectionURL">jdbc:derby:MyDB;create=true</config-property-setting>
                    <config-property-setting 
name="ExceptionSorterClass">org.tranql.connector.NoExceptionsAreFatalSorter</config-property-setting>
                    <connectionmanager>
                        <xa-transaction>
                            <transaction-caching/>
                        </xa-transaction>
                        <single-pool>
                            <max-size>10</max-size>
 <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
                            <match-one/>
                        </single-pool>
                    </connectionmanager>
                    <global-jndi-name>MyDB</global-jndi-name>
                </connectiondefinition-instance>
            </connection-definition>
        </outbound-resourceadapter>
    </resourceadapter>

</connector>

Mime
View raw message