I'm having the same troubles as with MySQL. I used exactly the example files for Oracle and used my Oracle installation on my second PC.
I get the same error as with mySQL:
22:04:07,296 WARN [ServiceController] Problem starting service jboss.j2ee:jndiN
ame=CustomerHomeRemote,service=EJB
org.jboss.deployment.DeploymentException: Error: can't find data source: java:/O
racleDS; - nested throwable: (javax.naming.NameNotFoundException: OracleDS not b
ound)
Why does this error occur? How can one check if the titan.jar has been deployed correctly, because this seems to be the only reason for me why the JNDI error could occur.
thx
johannes
in more detail:
22:04:06,828 INFO [MainDeployer] Starting deployment of package: file:/E:/jboss
/server/default/deploy/titan.jar
22:04:06,937 INFO [EjbModule] Creating
22:04:06,953 INFO [EjbModule] Deploying CustomerEJB
22:04:07,109 INFO [EjbModule] Created
22:04:07,109 INFO [EjbModule] Starting
22:04:07,296 WARN [ServiceController] Problem starting service jboss.j2ee:jndiN
ame=CustomerHomeRemote,service=EJB
org.jboss.deployment.DeploymentException: Error: can't find data source: java:/O
racleDS; - nested throwable: (javax.naming.NameNotFoundException: OracleDS not b
ound)
it seems that your datasource is not bound under the good name (or not deployed at all).
Check under http://localhost:8080/jmx-console/ with the JNDIView MBean (there is a list operation that lists the JNDI tree)