[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2006-01-10 Thread babaxter1
I solved it.
As  mentioned,

jboss:service=Hypersonic,database=localDB

must be replaced by

jboss:service=Hypersonic

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3916773#3916773

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916773


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2006-01-10 Thread babaxter1
I solved it.
As [mrj] mentioned,
 
  | dependsjboss:service=Hypersonic,database=localDB/depends
  | 
must be replaced by

  | dependsjboss:service=Hypersonic/depends
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3916774#3916774

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916774


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-11-07 Thread jplenhart
Hello,

Came across this thread when I was helping out a colleague that is just now 
getting started on JBoss. Unfortunately I am not at her desk ... she is doing 
this after hours at her home.

But when she is deploying Dukes Bank she sees the following (any ideas) - I see 
the EOFException ... maybe an entry is missing in a config file?:

2005-11-02 22:18:15,500 DEBUG [org.jboss.deployment.MainDeployer] Begin
deployment start
file:/C:/devel/jboss-4.0.3/server/default/tmp/deploy/tmp12507JBossDukesBank.ear-contents/app-client.jar
2005-11-02 22:18:15,531 DEBUG [org.jnp.interfaces.NamingContext] Failed to
connect to localhost:1099
javax.naming.CommunicationException: Failed to retrieve stub from server
localhost:1099 [Root exception is java.io.EOFException]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:248)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1370)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:579)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.jboss.util.naming.Util.createSubcontext(Util.java:54)
at org.jboss.util.naming.Util.createSubcontext(Util.java:37)
at
org.jboss.deployment.ClientDeployer.setupEnvironment(ClientDeployer.java:206)
at org.jboss.deployment.ClientDeployer.start(ClientDeployer.java:152)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:979)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy9.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:428)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at

[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-11-07 Thread jplenhart
Found out the problem was Norton Firewall running on her pc.

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3905764#3905764

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905764


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-11-02 Thread heinz500
Hello all,
I had the same missing-datasource-problem due to the incorrect entry in 
hsqldb-ds.xml file.
After I fixed it, the deployment of the bank ear file worked. But I still got 
some errors. 
Here is a part of the log file:

 
  | 2005-11-02 17:04:54,613 ERROR [org.jboss.ejb.EntityContainer] Starting 
failed jboss.j2ee:jndiName=ebankNextId,service=EJB
  | org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 
'select object(t) from TxBean t 
  | where t.account.accountId = ?3 and (t.timeStamp = ?1 
and  t.timeStamp = ?2)'; - nested throwable: 
(org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered t.timeStamp = 
at line 2, column 59.
  | Was expecting one of:
  | ABS ...
  | LENGTH ...
  | LOCATE ...
  | SQRT ...
  | MOD ...
  | ( ...
  | + ...
  | - ...
  | INTEGER_LITERAL ...
  | FLOATING_POINT_LITERAL ...
  | NUMERIC_VALUED_PARAMETER ...
  | NUMERIC_VALUED_PATH ...
  | NOT ...
  | COLLECTION_VALUED_PATH ...
  | STRING_VALUED_PATH ...
  | CONCAT ...
  | SUBSTRING ...
  | BOOLEAN_VALUED_PATH ...
  | DATETIME_VALUED_PATH = ...
  | DATETIME_VALUED_PATH  ...
  | DATETIME_VALUED_PATH  ...
  | DATETIME_VALUED_PATH  ...
  | ENTITY_VALUED_PATH ...
  | IDENTIFICATION_VARIABLE ...
  | )
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.init(JDBCEJBQLQuery.java:52)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:60)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:271)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:498)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:396)
  | at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
  | at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:348)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:230)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:844)
  | at $Proxy18.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:369)
  | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:230)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy51.start(Unknown Source)
  | at org.jboss.ejb.EjbModule.startService(EjbModule.java:394)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:230)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:844)
  | at $Proxy18.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:369)
  | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown 

[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-10-10 Thread darojasp
Hi, I have tried to follow the Getting Started Guide, I'm using JBoss 4.0.2 and 
everything goeas all right until I make the deploy, where I get the following 
error:

12:10:01,046 INFO  [EARDeployer] Init J2EE application: 
file:/C:/JBoss/jboss-4.0.2/server/default/deploy/JBossDukesBank.ear
  | 12:10:02,296 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must be defined as public and abstract.
  | 
  | 12:10:02,312 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a get accessor for each CMP 
field.
  | Info   : Field: customerId
  | 
  | 12:10:02,312 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a set accessor for each CMP 
field.
  | Info   : Field: customerId
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a get accessor for each CMP 
field.
  | Info   : Field: lastName
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a set accessor for each CMP 
field.
  | Info   : Field: lastName
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a get accessor for each CMP 
field.
  | Info   : Field: firstName
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a set accessor for each CMP 
field.
  | Info   : Field: firstName
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a get accessor for each CMP 
field.
  | Info   : Field: middleInitial
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a set accessor for each CMP 
field.
  | Info   : Field: middleInitial
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a get accessor for each CMP 
field.
  | Info   : Field: street
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a set accessor for each CMP 
field.
  | Info   : Field: street
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a get accessor for each CMP 
field.
  | Info   : Field: city
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a set accessor for each CMP 
field.
  | Info   : Field: city
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a get accessor for each CMP 
field.
  | Info   : Field: state
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a set accessor for each CMP 
field.
  | Info   : Field: state
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a get accessor for each CMP 
field.
  | Info   : Field: zip
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a set accessor for each CMP 
field.
  | Info   : Field: zip
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a get accessor for each CMP 
field.
  | Info   : Field: phone
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a set accessor for each CMP 
field.
  | Info   : Field: phone
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a get accessor for each CMP 
field.
  | Info   : Field: email
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must define a set accessor for each CMP 
field.
  | Info   : Field: email
  | 
  | 12:10:02,328 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: CMP entity beans may not define the implementation of a finder.
  | 
  | 

[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-09-27 Thread mrj
I have had the SAME Problem.

And I Have solved it. IT IS  QUITE SIMPLE. 

GO to ...\deploy\hsqldb-ds.xml file.

Look Inside and serach for that:

  dependsjboss:service=Hypersonic,database=localDB/depends
  | 


and replace it with :


  | dependsjboss:service=Hypersonic/depends
  | 



It will work, Beleave me ! :)))
You will probably even now get an Exception that says that DefaultDS ist 
already existing. DO not pay attention to that. It is because you have already 
deployed it.


Just re-deploy The Duke's Bank and it will work :)


  | ant -f jboss-build.xml deploy
  | 




WOrks Doesn't ?


Regards

Georgi Dimitrov




View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897492#3897492

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897492


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-08-02 Thread mortenhaugen
I experienced the same problem, had to change
jboss:service=Hypersonic,database=localDB
to
jboss:service=Hypersonic
as stated in chapter 4.1.7.1 (in the very last paragraph of the chapter).

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887867#3887867

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887867


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-07-14 Thread janoholm
I don?t  think that gunderson3 and later jonghun95 ever get an answer to their  
problem ? did they? I am also a newbie and a first-timer on this subject, and I 
got the exact same error running the installation of Duke?s Bank.
No errors or problem until the last deploy of the application to Jboss, and the 
errors appear on the Jboss console. Errors still appears each time Jboss is 
starting.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3884841#3884841

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884841


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-05-06 Thread jonghun95
I also have a similar problem. I am using default HSQL DB and deployed Duke's 
bank. When I restarted server, I am getting the following error.
11:08:10,963 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=ebankCu
stomer,service=EJB
org.jboss.deployment.DeploymentException: Error: can't find data source: java:/D
efaultDS; - nested throwable: (javax.naming.NameNotFoundException: DefaultDS not
 bound)
at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntit
yBridge.java:139)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBC
StoreManager.java:420)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManage
r.java:353)
at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManag
er.java:157)
at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:272)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy41.start(Unknown Source)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:394)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:272)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch


I went JMX console and list the jndi. There was no DefaultDS. Please advise.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3876823#3876823

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3876823


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-04-21 Thread [EMAIL PROTECTED]
You didn't describe what the state of the application is, so we can only guess. 
 Some questions:

Does JBoss restart cleanly?  Does the application work after restart?  I don't 
know what you could have done that would cause that, but it is something 
important to check.  

Go service=JNDIView in the JMX Console and invoke the list() operation.  Do you 
see DefaultDS in the java: context?  

If not, go back and redeploy hsqldb-ds.xml.  What does JBoss say on 
redeployment?  Look at server.log if the console log doesn't show enough detail.
 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874826#3874826

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874826


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-04-21 Thread rosonsandy
yes,i do see DefaultDS after i invoked the list() , well , i use ant to run a 
simple example,InitialContext ctx=new InitialContext();
DataSource ds=(DataSource)ctx.lookup(java:/DefaultDS);

but the result is :
javax.naming.NameNotFoundException: DefaultDS not bound


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874829#3874829

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874829


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-04-21 Thread darranl
You can not access items bound to the 'java:' namespace from outside JBoss.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874832#3874832

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874832


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-04-21 Thread rosonsandy
i studied jboss-EJB-3.0_Preview_5 and just added 
DataSource ds=(DataSource)ctx.lookup(java:/DefaultDS); 
in the client.java ,is it inside or outside jboss?
well, with the code above , it runs quite well

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874837#3874837

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874837


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-04-21 Thread rosonsandy
i studied jboss-EJB-3.0_Preview_5 and just added 
DataSource ds=(DataSource)ctx.lookup(java:/DefaultDS); 
in the client.java ,is it inside or outside jboss? 
well, without the code above , it runs quite well 
 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874840#3874840

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874840


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-04-21 Thread darranl
Inside JBoss means that the code is running within the JBoss JVM and the 
InitialContext has not been configured to connect over the network.

Outside JBoss means that the code is running in a different JVM or the 
InitialContext has been configured to connect over the network. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874841#3874841

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874841


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-04-21 Thread rosonsandy
darranl
thanks very much, i solved my problem  .

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874844#3874844

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874844


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user