Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to set up a Glassfish cluster (1 DAS with a cluster that has an instance running on an ssh-node).

This is where I am:

  • DAS running
  • Cluster created

    asadmin create-cluster cluster
    
  • Node created

    asadmin create-node-ssh --nodehost apphost --installdir /opt/glassfish3 node-apphost
    
  • Instance installed and configured

    asadmin create-instance --node node-apphost --cluster cluster cluster-instance-apphost
    

When I try to start the remote instance, I get these exceptions in server.log

[#|2013-02-05T12:42:28.603-0500|WARNING|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=10;_ThreadName=Thread-2;|Cannot deploy or load EJBTimerService: 
java.lang.RuntimeException: javax.naming.NamingException: Lookup failed for 'jdbc/__TimerPool' in SerialContext[myEnv={com.sun.enterprise.connectors.jndisuffix=__pm, java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NameNotFoundException: jdbc]
        at org.glassfish.

The instance does start but my application deployment fails with

Exception while loading the app : EJB Timer Service is not available

I tried to set the configs.config.cluster-config.ejb-container.ejb-timer-service.timer-datasource configuration property to "jdbc/__ default" ( after wiping the node, even re-created the cluster ) as a test, per the GF docs - although at this point i'm quite sure that wont yield an actual connection to any remotely accessible database as i don't have one set up - the point is, no matter what i do i still see the remote instance trying to look up "jdbc/__ TimerService" ..

How do I get my remote instance to use the timer-datasource defined in its cluster configuration?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.