This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ejb tutorial problem

 
Kyle Brochek
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have banged my head against the wall for days on this, and need some help, normally I try to figure things out myself but on this I am just stuck...

I am trying to complete the tutorial at this lnk: http://www.netbeans.org/kb/60/javaee/ejb30.html. Just trying to get a handle on Java and Enterprise Java. Once complete I tried to deploy the project on glassfishv2 and failed receiving the error below.

Additionally, I have found that I am unable to ping DerbyPool and SamplePool from the glassfish administrator access. I believe my issue is in the installation and setup of the software which was a somewhat daunting task. Anyway, i appreciate any help.

Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : org.apache.derby.jdbc.ClientDataSource
Error Code: 0
Deployment error:
The module has not been deployed.
See the server log for details.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:163)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor272.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(Unknown Source)
at org.apache.tools.ant.module.run.TargetExecutor.run(Unknown Source)
at org.netbeans.core.execution.RunClassThread.run(Unknown Source)
Caused by: The module has not been deployed.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:157)
... 16 more
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!