Yancy, Eunissa wrote:

This worked!



Great!

Thank you very much!


You're welcome :)

-- Eunissa Yancy

Eunissa Yancy Center for Information Technology Services
IT Senior Specialist
University of Maryland, Baltimore 601 W. Lombard St. Baltimore, MD 20101 voice: (410) 706-5022
fax: (717) 757-1201 email: [EMAIL PROTECTED]



-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Brandon Sent: Thursday, May 05, 2005 8:17 PM To: [email protected] Subject: Re: [Andromda-user] RE: None of the examples are working for me (Chad Brandon)


Yancy, Eunissa wrote:



Well, we are making progress ... I changed the property
"animalQuiz.services.port" in the


samples/animal-quiz/project.properties


file to point to 8080 and then I rebuilt and deployed the animal-quiz.

Now I get the following error when I click on the "Got one" button:

  * javax.ejb.EJBException: DecisionServiceBean.getFirstQuestion:
javax.ejb.EJBException: null; CausedByException is: Could not execute
query (java.lang.Exception)

In the instructions for this sample, it mentions executing the
create-schema goal. When should this be done ... before building? Also,
how do I make sure JBoss is configured to run TCP/IP?




You need to uncomment the following 2 sections:

     <!-- for tcp connection, allowing other processes to use the
hsqldb
     database. This requires the org.jboss.jdbc.HypersonicDatabase
mbean.
     <connection-url>jdbc:hsqldb:hsql://localhost:1701</connection-url>
-->

<!-- This mbean should be used only when using tcp connections.
Uncomment
when the tcp based connection-url is used. <mbean code="org.jboss.jdbc.HypersonicDatabase"
name="jboss:service=Hypersonic">
<attribute name="Port">1701</attribute>
<attribute name="Silent">true</attribute>
<attribute name="Database">default</attribute>
<attribute name="Trace">false</attribute>
<attribute name="No_system_exit">true</attribute>
</mbean>
-->


from the hsqldb-ds.xml file in the $JBOSS_HOME/server/default/deploy directory. And then you should run the create-schema goal to create the

schema.



-- Eunissa

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chad
Brandon
Sent: Thursday, May 05, 2005 6:42 PM
To: [email protected]
Subject: Re: [Andromda-user] RE: None of the examples are working for


me


(Chad Brandon)


Yancy, Eunissa wrote:





Chad,

I downloaded JBoss 4.0.1sp1. This solved the problem with the
OnlineStore example. I can now run the OnlineStore without any




problems.




Thank you!






You're welcome...glad its working.





However, I am still having a problem running the AnimalQuiz example. I
undeployed the "jboss-ws4ee.sar from the $JBOSS_HOME/server/deploy
directory but I am still getting the same results when I click on the
"Got one" button:


 * Connection refused: connect (java.lang.Exception)






Ah it looks like the default port is 8085 in the samples/animal-quiz/project.properties, change the property "animalQuiz.services.port" in that file to point to 8080 and then rebuild and deploy the animal-quiz again.





Eunissa Yancy Center for Information Technology Services
IT Senior Specialist
University of Maryland, Baltimore


Message: 6
Date: Thu, 05 May 2005 13:56:00 -0600
From: Chad Brandon <[EMAIL PROTECTED]>
To: andromda-user <[email protected]>
Subject: [Fwd: Re: [Andromda-user] None of the examples are working


for


me]
Reply-To: [email protected]

Hi Eunissa,

Hmmm, we haven't yet tested the samples with 4.0.2 (and it looks like they upgraded the tomcat version in that one)..have you tried with 4.0.1sp1?:, the online store should work for sure with that version.




In




order for the animal-quiz to work, you'll need to undeploy the "jboss-ws4ee.sar" from the $JBOSS_HOME/server/deploy directory (it causes class loading issues with the axis libraries within the animal quiz ear). The car rental system URL is http://localhost:8080/car-rental-system (however that application




hasn't




be implemented yet)...just modeled....so it'll deploy but there is no logic really.

Chad

P.S. Here's a few links to the samples runing on our server:

- Animal Quiz: http://team.andromda.org:8080/AnimalQuiz
- Online Store: http://team.andromda.org:8080/OnlineStore




-------------------------------------------------------
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 _______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user









-------------------------------------------------------
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
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user


-------------------------------------------------------
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 _______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user









------------------------------------------------------- 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 _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user


-------------------------------------------------------
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 _______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user







------------------------------------------------------- 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 _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to