Alex Grönholm wrote:
Ok, just make sure you add any and all the jars in that directory to
the project classpath, and not just a fixed set.
Will do.
Also, it seems that the publish functionality is broken (nothing
happens when you try to publish). Can you verify this?
Just done a test with a fresh install of the plugin on both Eclipse
Europa and Ganymede, and done a deploy of our simple-stateless project,
and it deployed ok. You should see something like the following in your
openejb.log file:
2008-10-06 20:55:02,765 - INFO - Configuring enterprise application:
C:\Documents and Settings\Jon\Local Settings\Temp\oejb21426.jar
2008-10-06 20:55:02,781 - INFO - Enterprise application "C:\Documents
and Settings\Jon\Local Settings\Temp\oejb21426.jar" loaded.
2008-10-06 20:55:02,812 - INFO - Assembling app: C:\Documents and
Settings\Jon\Local Settings\Temp\oejb21426.jar
2008-10-06 20:55:02,812 - INFO - Jndi(name=CalculatorImplLocal) -->
Ejb(deployment-id=CalculatorImpl)
2008-10-06 20:55:02,812 - INFO - Jndi(name=CalculatorImplRemote) -->
Ejb(deployment-id=CalculatorImpl)
2008-10-06 20:55:02,812 - INFO - Created
Ejb(deployment-id=CalculatorImpl, ejb-name=CalculatorImpl, container=My
Stateless Container)
2008-10-06 20:55:02,812 - INFO - Deployed Application(path=C:\Documents
and Settings\Jon\Local Settings\Temp\oejb21426.jar)
Unfortunately nothing is echoed to the console at the moment. When we
deploy, we create a temp file, and deploy by calling one of OpenEJBs own
EJBs (if the server is running when the publish is done, this happens
right away, otherwise it happens when the server starts). We don't copy
anything to the openejb/apps folder as we've found suffers from locking
issues when trying to undeploy / redeploy.
If you don't see any output in your log (or you have an exception)
please let us know as it might be a bug.
Jon