File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes JBoss deployment error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss deployment error" Watch "JBoss deployment error" New topic

JBoss deployment error

alper isaac

Joined: May 15, 2009
Posts: 2

I am using JBoss 5.1 RunTime Server, Eclipse Helios and Seam 2.0 in my computer. I can start JBoss server without any problem from Eclipse. I want to view my XHTML page from Eclipse. After selecting mark as deployable to my XHTML page then after clicking Run As - > Run On

Server, I see HTTP Status 404 - /webProject/trial.xhtml type Status report message /webProject/trial.xhtmdescription The requested resource (/webProject/trial.xhtml) is not available.After checking server logs I found out that error :

JBossTools was unable to resume the JBoss deployment scanner. Your deployment may not be recognized by the server. Please ensure your version of JBoss includes an unsecured JMX Could not obtain connection to any of

these urls: localhost:1099 and discovery failed with error: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String

Could you please help me to fix this issue ? I will be appreciated if you can help.

Sai Hegde
security forum advocate
Ranch Hand

Joined: Oct 26, 2010
Posts: 204

Are you doing any resource lookups?
Ajeeth Kumar
Ranch Hand

Joined: Mar 30, 2005
Posts: 56
If you are starting from scratch, JBoss should work fine if you follow the following steps.

Ensure that you have created the correct runtime environment settings and JBoss home settings. Sometimes lengthier folder locations can cause problems. So try keeping the jboss home at C drive.

Ensure that you have the WAR deployed in the corresponding server. You can try to verify it by logging into the JBOss admin console. Double click the server in Eclipse to see the user name and password values that are set.

The admin console link should be http://localhost:8080/admin-console/login.seam?conversationId=4 (though I am not sure if Jboss ver 5.1 support this)
I agree. Here's the link:
subject: JBoss deployment error
It's not a secret anymore!