Maybe the startguide.pdf would do with updating section 4.1.7.1 to add the 
following info:

I found the problem in that there is code in the default hssql-db.xml:
<depends>jboss:service=Hypersonic,database=localDB</depends>

I replace with:
<depends>jboss:service=Hypersonic</depends>


I commented out the section, so there was only one <mbean code="..." ../> :
<mbean code="org.jboss.jdbc.HypersonicDatabase"
  |      name="jboss:service=Hypersonic,database=localDB">
  |      <attribute name="Database">localDB</attribute>
  |      <attribute name="InProcessMode">true</attribute>
  |    </mbean>


Back to the task of deploying Duke's Bank Application, for each EJB (around 7 
in all) I received a similar stack trace like this:

18:37:16,988 WARN  [ServiceController] Problem starting service 
jboss.j2ee:jndiName=ebankAccount,service=EJB
  | javax.naming.CommunicationException: Receive timed out [Root exception is 
java.net.SocketTimeoutException: Receive timed out]
  |         at 
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1302)
  |         at 
org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1382)
  |         at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:469)
  |         at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:462)
  |         at javax.naming.InitialContext.rebind(InitialContext.java:363)
  |         at org.jboss.naming.Util.rebind(Util.java:109)


Then eventually I get:

18:37:42,219 INFO  [EJBDeployer] Deployed: 
file:/opt/jboss-4.0.2RC1/server/default/tmp/deploy/tmp2675JBossDukesBank.ear-contents/bank-ejb.jar
  | 18:37:42,302 INFO  [TomcatDeployer] deploy, ctxPath=/bank, 
warUrl=file:/opt/jboss-4.0.2RC1/server/default/tmp/deploy/tmp2675JBossDukesBank.ear-contents/web-client.war/
  | 18:37:42,604 INFO  [EARDeployer] Started J2EE application: 
file:/opt/jboss-4.0.2RC1/server/default/deploy/JBossDukesBank.ear

That to me means it all working now. :)


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875170#3875170

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875170


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to