| Author |
Jboss deployment error - help for a beginner
|
Ayyappan Selvaraj
Ranch Hand
Joined: Sep 20, 2004
Posts: 63
|
|
Heloo friends, I'm new to Jboss. I have an appfuse application working on Tomcat and trying to switch over to Jboss. I have placed the files as follows : "lis.war" inside D:\tools\jboss\jboss-4.0.0\server\default\deploy "lis-ds.xml" inside D:\tools\jboss\jboss-4.0.0\server\default\deploy\data. When I restart the Jboss application I get an error like this.. 04:52:46,474 INFO [NamingService] Started jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076 04:52:46,942 ERROR [URLDeploymentScanner] Incomplete Deployment listing: Packages waiting for a deployer: org.jboss.deployment.DeploymentInfo@8e7a425e { url=file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/data/lis-ds.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/data/lis-ds.xml altDD: null lastDeployed: 1158727966770 lastModified: 1158727966770 mbeans: org.jboss.deployment.DeploymentInfo@1038d01a { url=file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/lis.war } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/lis.war altDD: null lastDeployed: 1158727966942 lastModified: 1158727966942 mbeans: Incompletely deployed packages: org.jboss.deployment.DeploymentInfo@8e7a425e { url=file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/data/lis-ds.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/data/lis-ds.xml altDD: null lastDeployed: 1158727966770 lastModified: 1158727966770 mbeans: org.jboss.deployment.DeploymentInfo@1038d01a { url=file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/lis.war } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/lis.war altDD: null lastDeployed: 1158727966942 lastModified: 1158727966942 mbeans: 04:52:47,161 INFO [Server] JBoss (MX MicroKernel) [4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418)] Started in 9s:885ms Please Help!!!
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8209
|
|
"lis-ds.xml" inside D:\tools\jboss\jboss-4.0.0\server\default\deploy\data.
You have to place the lis-ds.xml in the D:\tools\jboss\jboss-4.0.0\server\default\deploy directory.
|
[My Blog] [JavaRanch Journal]
|
 |
Ayyappan Selvaraj
Ranch Hand
Joined: Sep 20, 2004
Posts: 63
|
|
|
Thanks for responding, even with that I get the same error with the path for the lis-ds.xml file changed...
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8209
|
|
Please post the exception stacktrace that you are seeing after doing the changes. Also this might appear a silly question, but did you delete the lis-ds.xml file present in the data directory? If not delete that file from the data directory and place it in deploy directory. Let us know if you still see the exceptions.
|
 |
Ayyappan Selvaraj
Ranch Hand
Joined: Sep 20, 2004
Posts: 63
|
|
I have deleted the lis-ds.xml in the older location and tried.. The Exception track is 05:34:52,531 INFO [NamingService] Started jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076 05:34:52,984 ERROR [URLDeploymentScanner] Incomplete Deployment listing: Packages waiting for a deployer: org.jboss.deployment.DeploymentInfo@a217615b { url=file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/lis-ds.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/lis-ds.xml altDD: null lastDeployed: 1158730492812 lastModified: 1158730492812 mbeans: org.jboss.deployment.DeploymentInfo@1038d01a { url=file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/lis.war } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/lis.war altDD: null lastDeployed: 1158730492984 lastModified: 1158730492984 mbeans: Incompletely deployed packages: org.jboss.deployment.DeploymentInfo@a217615b { url=file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/lis-ds.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/lis-ds.xml altDD: null lastDeployed: 1158730492812 lastModified: 1158730492812 mbeans: org.jboss.deployment.DeploymentInfo@1038d01a { url=file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/lis.war } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/D:/tools/jboss/jboss-4.0.0/server/default/deploy/lis.war altDD: null lastDeployed: 1158730492984 lastModified: 1158730492984 mbeans: 05:34:53,234 INFO [Server] JBoss (MX MicroKernel) [4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418)] Started in 9s:953ms
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8209
|
|
Ok, now this looks fine as far as placing them in the correct folders is concerned. What are the contents of the lis-ds.xml file. Please post the same(Remember to use the "Code" button for the wrapping the lis-ds.xml contents, while posting). Also, how is the lis.war deployed? Is it placed as a folder or as an archive? If it placed as an folder, then from the command prompt, move to D:/tools/jboss/jboss-4.0.0/server/default/deploy folder and run: Else, if it is deployed as an archive, use: Post the output of these commands here(Again, remember to use the Code button while posting). These commands will show the contents of the war
|
 |
Ayyappan Selvaraj
Ranch Hand
Joined: Sep 20, 2004
Posts: 63
|
|
This is the content of the lis-ds.xml I have placed the appln as .war file and so run the jar -tf lis.war command and in the promt, numerous files within the war is just listed and nothing else happened...
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8209
|
|
Your datasource file looks fine. And as you mention that your war was working fine Tomcat, i am assuming that even the war file is packaged properly. Are you seeing any other exception while JBoss is starting, other than what you have posted so far. There might be some exception stacktrace mentioning the exact cause of all this incomplete deployment listing. If so post the same.
|
 |
Ayyappan Selvaraj
Ranch Hand
Joined: Sep 20, 2004
Posts: 63
|
|
This is my full log when I start Jboss server
|
 |
 |
|
|
subject: Jboss deployment error - help for a beginner
|
|
|