Two Laptop Bag
The moose likes JBoss/WildFly and the fly likes A Little Debug Help?  Please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "A Little Debug Help?  Please" Watch "A Little Debug Help?  Please" New topic

A Little Debug Help? Please

Russell Ray
Ranch Hand

Joined: Apr 25, 2005
Posts: 116
I am trying to start my JBoss 4.0.5 Server. However, the log freezes after it gets pass the loading of the DB Source entry. This -ds.xml entry has not changed. Previously, we were able to start the server and complete the startup, so I am thinking there is something wrong with the deployed project. I need some help on where to look in the server area to figure out where the server is sticking. I am so new to JBOSS, I would appricate some kind words and suggestions :-)

Thank you for taking the time to read my post.

Andrew Och
Ranch Hand

Joined: Mar 19, 2004
Posts: 32
I am pretty new to JBoss myself, but ran into similar problems with deploying datasource xml files (e.g. in my current project when I would deploy a new rdcs-mysqldb-ds.xml file, just changing the IP address of the Database server it would not switch).

I found that removing the datasource file and deleting the tmp and work directories, then starting JBoss, and then putting the datasource file into the deployment directory and watching the command prompt/logs to see if the data source would bind correctly. Its a bit drastic I guess, but it worked for me.

Actually the best thing we did in our project was write an Ant deployment script that packaged everything into an .ear and also copied the -ds.xml file in the correct place and then we gained a lot of stability in our project development.
Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855
Can you post some log?

I agree. Here's the link:
subject: A Little Debug Help? Please
It's not a secret anymore!