This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes CommunicationException in war file deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "CommunicationException in war file deployment" Watch "CommunicationException in war file deployment" New topic
Author

CommunicationException in war file deployment

chaitanya kiran pvn
Greenhorn

Joined: Nov 01, 2007
Posts: 25
hai

please tell me why this exception is throws in jboss server running.




this is going on......

thanks in advance
chaitanya
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10059
    
163

java.net.MalformedURLException: no protocol: Files/jboss-4.0.3SP1/server/default/deploy/casinoreality-ear.ear/casinoreality-war.war/WEB-INF/classes/


Looks like you have installed JBoss in C:/Program Files/jboss-4.0.3SP1 folder. JBoss (or for that matter Java related installations) are known to have issues when they are installed in a folder which has a space in its path. Move JBoss installation to some other folder which doesn't have a space in its path (Ex: C:/jboss-4.0.3SP1). And then start JBoss. That should solve this issue. I would also recommend moving your Java installation (if it too is installed in folder with a space in its path) to a folder without a space in its path.


[My Blog] [JavaRanch Journal]
chaitanya kiran pvn
Greenhorn

Joined: Nov 01, 2007
Posts: 25
hai

i am very thankfull to you for the quick response for my query and i changed my jboss instalation into D ath and then i run the server my application ear is deployed and war also deployed but it is stand for long time.
hear i post the stack hear

[B]
from hear it is standing not fully deployed the war file .
thankyou very much

chaitanya kiran
[/B]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10059
    
163

Does the server.log file in D:\jboss-4.0.3SP1\server\default\log folder tell anything more? Also, you can get the thread dumps and see which operation is being blocked.
chaitanya kiran pvn
Greenhorn

Joined: Nov 01, 2007
Posts: 25
hai

hear iam posted the server log. pleace see and tel me why war is not deployed .


thanks in advance.

chaitanya
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10059
    
163

Chaitanya,

I don't see any obvious problems in the logs. Did you try taking the thread dumps around 3-4 times at 2 minute intervals? Did you also try accessing the application from the browser to check whether its being deployed?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: CommunicationException in war file deployment