aspose file tools*
The moose likes JBoss/WildFly and the fly likes JBoss as 7.1.1 Server starts but deployment does not work - Have to reboot machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss as 7.1.1 Server starts but deployment does not work - Have to reboot machine " Watch "JBoss as 7.1.1 Server starts but deployment does not work - Have to reboot machine " New topic
Author

JBoss as 7.1.1 Server starts but deployment does not work - Have to reboot machine

Veena Sarolkar
Greenhorn

Joined: Nov 06, 2012
Posts: 5
Hi,

I am trying to migrate my application from jboss4 to jboss 7. 2 days back it was deploying the application. To add JMS support I added queues to standalone-full.xml.
Now I am facing a weird problem. My Jboss starts, I can see the admin control. Queues are also created but no application, even a simple one gets deployed.
It is also not giving any error in the server.log file.
If I reboot the server and start jboss deployment happens. At one place I am getting NPE and hence stopping server using ctrl+c. After that if I try to run server again deployment does not work.
Not sure if any binding remains and not getting cleaned.

Please find below the log when deployment is not happening.

22:47:22,942 INFO [org.jboss.as.messaging] (MSC service thread 1-16) JBAS011601: Bound messaging object to jndi name java:/UpdateTranscodeStructureJobs
22:47:22,943 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-12) trying to deploy queue jms.queue.FileReplicationFactorJobs
22:47:22,944 INFO [org.jboss.as.messaging] (MSC service thread 1-12) JBAS011601: Bound messaging object to jndi name java:/queue/FileReplicationFactorJobs
22:47:22,945 INFO [org.jboss.as.messaging] (MSC service thread 1-12) JBAS011601: Bound messaging object to jndi name java:/FileReplicationFactorJobs
22:47:22,946 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-12) trying to deploy queue jms.queue.FileChangeNotificationJobs
22:47:22,947 INFO [org.jboss.as.messaging] (MSC service thread 1-12) JBAS011601: Bound messaging object to jndi name java:/queue/FileChangeNotificationJobs
22:47:22,949 INFO [org.jboss.as.messaging] (MSC service thread 1-12) JBAS011601: Bound messaging object to jndi name java:/FileChangeNotificationJobs
22:47:22,950 INFO [org.jboss.as.messaging] (MSC service thread 1-6) JBAS011601: Bound messaging object to jndi name java:/ConnectionFactory
22:47:22,950 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-11) trying to deploy queue jms.queue.PreStageJobs
22:47:22,952 INFO [org.jboss.as.messaging] (MSC service thread 1-11) JBAS011601: Bound messaging object to jndi name java:/PreStageJobs
22:47:22,953 INFO [org.jboss.as.messaging] (MSC service thread 1-11) JBAS011601: Bound messaging object to jndi name java:/queue/PreStageJobs
22:47:22,953 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-14) trying to deploy queue jms.queue.RsyncJobs
22:47:22,954 INFO [org.jboss.as.messaging] (MSC service thread 1-14) JBAS011601: Bound messaging object to jndi name java:/RsyncJobs
22:47:22,955 INFO [org.jboss.as.messaging] (MSC service thread 1-14) JBAS011601: Bound messaging object to jndi name java:/queue/RsyncJobs
22:47:22,955 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-5) trying to deploy queue jms.queue.FileDeletionJobs
22:47:22,956 INFO [org.jboss.as.messaging] (MSC service thread 1-5) JBAS011601: Bound messaging object to jndi name java:/queue/FileDeletionJobs
22:47:22,957 INFO [org.jboss.as.messaging] (MSC service thread 1-5) JBAS011601: Bound messaging object to jndi name java:/FileDeletionJobs
22:47:22,958 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-5) trying to deploy queue jms.queue.UpdateClosedCaptionStructureJobs
22:47:22,959 INFO [org.jboss.as.messaging] (MSC service thread 1-5) JBAS011601: Bound messaging object to jndi name java:/queue/UpdateClosedCaptionStructureJobs
22:47:22,960 INFO [org.jboss.as.messaging] (MSC service thread 1-5) JBAS011601: Bound messaging object to jndi name java:/UpdateClosedCaptionStructureJobs
22:47:22,961 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-15) trying to deploy queue jms.queue.TranscodeJobs
22:47:22,962 INFO [org.jboss.as.messaging] (MSC service thread 1-15) JBAS011601: Bound messaging object to jndi name java:/queue/TranscodeJobs
22:47:22,963 INFO [org.jboss.as.messaging] (MSC service thread 1-15) JBAS011601: Bound messaging object to jndi name java:/TranscodeJobs
22:47:22,963 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-7) trying to deploy queue jms.queue.FileMoveJobs
22:47:22,965 INFO [org.jboss.as.messaging] (MSC service thread 1-7) JBAS011601: Bound messaging object to jndi name java:/queue/FileMoveJobs
22:47:22,966 INFO [org.jboss.as.messaging] (MSC service thread 1-7) JBAS011601: Bound messaging object to jndi name java:/FileMoveJobs
22:47:22,966 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) trying to deploy queue jms.queue.QCJobs
22:47:22,967 INFO [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:/queue/QCJobs
22:47:22,968 INFO [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:/QCJobs
22:47:22,968 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-8) trying to deploy queue jms.queue.StorageWatcherJobs
22:47:22,970 INFO [org.jboss.as.messaging] (MSC service thread 1-8) JBAS011601: Bound messaging object to jndi name java:/queue/StorageWatcherJobs
22:47:22,971 INFO [org.jboss.as.messaging] (MSC service thread 1-8) JBAS011601: Bound messaging object to jndi name java:/StorageWatcherJobs
22:47:22,971 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-9) trying to deploy queue jms.queue.SynchronizeFolderJobs
22:47:22,973 INFO [org.jboss.as.messaging] (MSC service thread 1-9) JBAS011601: Bound messaging object to jndi name java:/SynchronizeFolderJobs
22:47:22,974 INFO [org.jboss.as.messaging] (MSC service thread 1-9) JBAS011601: Bound messaging object to jndi name java:/queue/SynchronizeFolderJobs
22:47:22,975 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) trying to deploy queue jms.topic.Notification
22:47:23,004 INFO [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:/topic/Notification
22:47:23,005 INFO [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:/Notification
22:47:23,006 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-10) trying to deploy queue jms.queue.HPFileChangeNotificationJobs
22:47:23,007 INFO [org.jboss.as.messaging] (MSC service thread 1-10) JBAS011601: Bound messaging object to jndi name java:/HPFileChangeNotificationJobs
22:47:23,008 INFO [org.jboss.as.messaging] (MSC service thread 1-10) JBAS011601: Bound messaging object to jndi name java:/queue/HPFileChangeNotificationJobs
22:47:23,009 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) trying to deploy queue jms.queue.MirrorJobs
22:47:23,010 INFO [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:/queue/MirrorJobs
22:47:23,011 INFO [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:/MirrorJobs
22:47:23,012 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-15) trying to deploy queue jms.queue.TransferJobs
22:47:23,013 INFO [org.jboss.as.messaging] (MSC service thread 1-15) JBAS011601: Bound messaging object to jndi name java:/queue/TransferJobs
22:47:23,015 INFO [org.jboss.as.messaging] (MSC service thread 1-15) JBAS011601: Bound messaging object to jndi name java:/TransferJobs
22:47:23,015 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-5) trying to deploy queue jms.queue.HPMirrorJobs
22:47:23,016 INFO [org.jboss.as.messaging] (MSC service thread 1-5) JBAS011601: Bound messaging object to jndi name java:/queue/HPMirrorJobs
22:47:23,017 INFO [org.jboss.as.messaging] (MSC service thread 1-5) JBAS011601: Bound messaging object to jndi name java:/HPMirrorJobs
22:47:23,019 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-14) trying to deploy queue jms.queue.GridAppNodeJobs
22:47:23,021 INFO [org.jboss.as.messaging] (MSC service thread 1-14) JBAS011601: Bound messaging object to jndi name java:/queue/GridAppNodeJobs
22:47:23,022 INFO [org.jboss.as.messaging] (MSC service thread 1-14) JBAS011601: Bound messaging object to jndi name java:/GridAppNodeJobs
22:47:23,022 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-11) trying to deploy queue jms.queue.ProxyJobs
22:47:23,023 INFO [org.jboss.as.messaging] (MSC service thread 1-11) JBAS011601: Bound messaging object to jndi name java:/ProxyJobs
22:47:23,024 INFO [org.jboss.as.messaging] (MSC service thread 1-11) JBAS011601: Bound messaging object to jndi name java:/queue/ProxyJobs
22:47:23,025 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-6) trying to deploy queue jms.queue.ClosedCaptionJobs
22:47:23,026 INFO [org.jboss.as.messaging] (MSC service thread 1-6) JBAS011601: Bound messaging object to jndi name java:/queue/ClosedCaptionJobs
22:47:23,028 INFO [org.jboss.as.messaging] (MSC service thread 1-6) JBAS011601: Bound messaging object to jndi name java:/ClosedCaptionJobs
22:47:23,029 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-8) JBAS010406: Registered connection factory java:/JmsXA
22:47:23,029 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-12) trying to deploy queue jms.queue.UpdateProxyStructureJobs
22:47:23,030 INFO [org.jboss.as.messaging] (MSC service thread 1-12) JBAS011601: Bound messaging object to jndi name java:/queue/UpdateProxyStructureJobs
22:47:23,031 INFO [org.jboss.as.messaging] (MSC service thread 1-12) JBAS011601: Bound messaging object to jndi name java:/UpdateProxyStructureJobs
22:47:23,032 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-16) trying to deploy queue jms.queue.UpdateQCStructureJobs
22:47:23,033 INFO [org.jboss.as.messaging] (MSC service thread 1-16) JBAS011601: Bound messaging object to jndi name java:/UpdateQCStructureJobs
22:47:23,034 INFO [org.jboss.as.messaging] (MSC service thread 1-16) JBAS011601: Bound messaging object to jndi name java:/queue/UpdateQCStructureJobs
22:47:23,034 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) trying to deploy queue jms.queue.testQueue
22:47:23,036 INFO [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:/queue/test
22:47:23,037 INFO [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/queue/test
22:47:23,037 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-13) trying to deploy queue jms.queue.RestoreJobs
22:47:23,039 INFO [org.jboss.as.messaging] (MSC service thread 1-13) JBAS011601: Bound messaging object to jndi name java:/queue/RestoreJobs
22:47:23,040 INFO [org.jboss.as.messaging] (MSC service thread 1-13) JBAS011601: Bound messaging object to jndi name java:/RestoreJobs
22:47:23,041 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) trying to deploy queue jms.topic.testTopic
22:47:23,043 INFO [org.hornetq.ra.HornetQResourceAdapter] (MSC service thread 1-8) HornetQ resource adaptor started
22:47:23,049 INFO [org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-8) IJ020002: Deployed: file://RaActivatorhornetq-ra
22:47:23,053 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-9) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]
22:47:23,054 INFO [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:/topic/test
22:47:23,055 INFO [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/topic/test
22:47:23,094 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://0.0.0.0:9990
22:47:23,094 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 2587ms - Started 202 of 282 services (78 services are passive or on-demand)

After this statement nothing happens.

Regards,
Veena
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

What exact changes have you done to your standalone configuration file and what exactly are the contents of the deployment directory?

[My Blog] [JavaRanch Journal]
Veena Sarolkar
Greenhorn

Joined: Nov 06, 2012
Posts: 5
Hi,

My deployment directory contains ear file for the application, mysql connector jar file.
In standalone-full.xml, in JMS section I have added the queues in standalone-xml file under jms section as
<jms-queue name="SynchronizeFolderJobs">
<entry name="queue/SynchronizeFolderJobs"/>
<entry name="java:/SynchronizeFolderJobs"/>
</jms-queue>

These queues are getting created after which deployment does not proceed further.

For deployment scanner scan interval is 1000 and deployment timeout is 2000.
scan-interval="1000" deployment-timeout="2000"

No other change is done.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

Can you post the entire logs that you see on the console when you start the server? Wrap that log in code blocks before posting here.
Veena Sarolkar
Greenhorn

Joined: Nov 06, 2012
Posts: 5
Veena Sarolkar
Greenhorn

Joined: Nov 06, 2012
Posts: 5
One more thing. I found a similar issue on net where in the log it is showing that scanning directory for deployment but starts services and do not deploy.
There conclusion was a space issue.
I checked my server. /home directory is 73% filled. My jboss is running from /home/sdeshpande/jboss7.1
Do you think that space can be a problem where after first deployment it is not cleaning some of the resources which get cleaned after server reboot and it starts working?

Regards,
Veena
Veena Sarolkar
Greenhorn

Joined: Nov 06, 2012
Posts: 5
Missed to point you to the link
https://community.jboss.org/thread/199495
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss as 7.1.1 Server starts but deployment does not work - Have to reboot machine