This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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: 9956
    
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: 9956
    
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: 9956
    
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?
 
 
subject: CommunicationException in war file deployment
 
Similar Threads
Jboss Upgradation
SEVERE: Context initialization failed org.springframework.beans.factory.BeanCreationException
mssqlds not bound and throws NameNotFoundException
DeploymentException: Error cant find datasource:
Twist on server/packaged library problem - Jboss/Packaging