Not sure where the problem lies, code or server
This is my first attempt at creating and using EJBs. I've created a session bean which I had no problems deloying with deploytool. My bean can be found at http://spoonserver.com/Examples.jar. I'm using J2EE 1.3.1., I have not modified any of the configs. This is the message I get when I start it up.
J2EE server listen port: 1050
Redirecting the output and error streams to the following files:
/opt/java/j2sdkee1.3.1/logs/knife.spoonserver.com/j2ee/j2ee/system.out
/opt/java/j2sdkee1.3.1/logs/knife.spoonserver.com/j2ee/j2ee/system.err
J2EE server startup complete.
When I try to execute the client code, I get ...
javax.naming.NameNotFoundException: CountHome not found
at tyrex.naming.MemoryContext.internalLookup(MemoryContext.java:348)
at tyrex.naming.MemoryContext.lookup(MemoryContext.java:271)
at javax.naming.InitialContext.lookup(InitialContext.java:345)
at examples.CountClient.main(CountClient.java:16)
From the server side, everthing looks good. From the code side it also looks good to me. I'm missing something. Any thoughts?
[1124 byte] By [
jwalstra] at [2007-9-27 18:48:42]

The verbose log
J2EE server listen port: 1050
Naming service started:1050
Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.core.RemoteXaDataSource@595da8
Starting JMS service...
Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties >
Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties >
Starting web service at port: 8000
Starting secure web service at port: 7000
J2EE SDK/1.3.1
Starting web service at port: 9191
J2EE SDK/1.3.1
Loading jar:/opt/java/j2sdkee1.3.1/repository/knife.spoonserver.com/applications/Examples1031983364313Server.jar
J2EE server startup complete.