aspose file tools*
The moose likes JBoss/WildFly and the fly likes Exploded deployment not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Exploded deployment not working" Watch "Exploded deployment not working" New topic
Author

Exploded deployment not working

naveen gandham
Greenhorn

Joined: Oct 15, 2008
Posts: 8
HI I am trying to work with joss server for my simple servlet application and when i satrt the server i can find the error messages as follows, can any one help me--------


JAVA_HOME is not set. Unexpected results may occur.
Set JAVA_HOME to the directory of your local JDK to avoid this message.
===============================================================================

JBoss Bootstrap Environment

JBOSS_HOME: C:\jboss-4.0.5.GA\bin\\..

JAVA: java

JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.cli
ent.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

CLASSPATH: \lib\tools.jar;C:\jboss-4.0.5.GA\bin\\run.jar

===============================================================================

10:38:02,766 INFO [Server] Starting JBoss (MX MicroKernel)...
10:38:02,766 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Bra
nch_4_0 date=200610162339)
10:38:02,766 INFO [Server] Home Dir: C:\jboss-4.0.5.GA
10:38:02,766 INFO [Server] Home URL: file:/C:/jboss-4.0.5.GA/
10:38:02,813 INFO [Server] Patch URL: null
10:38:02,813 INFO [Server] Server Name: default
10:38:02,813 INFO [Server] Server Home Dir: C:\jboss-4.0.5.GA\server\default
10:38:02,813 INFO [Server] Server Home URL: file:/C:/jboss-4.0.5.GA/server/defa
ult/
10:38:02,813 INFO [Server] Server Log Dir: C:\jboss-4.0.5.GA\server\default\log

10:38:02,813 INFO [Server] Server Temp Dir: C:\jboss-4.0.5.GA\server\default\tm
p
10:38:02,813 INFO [Server] Root Deployment Filename: jboss-service.xml
10:38:03,422 INFO [ServerInfo] Java version: 1.4.2_04,Sun Microsystems Inc.
10:38:03,438 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.2_04-b05
,Sun Microsystems Inc.
10:38:03,438 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
10:38:04,688 INFO [Server] Core system initialized
10:38:09,049 INFO [WebService] Using RMI server codebase: http://osi-d-rkollepa
ra:8083/
10:38:09,080 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:log4j.xml
10:38:18,551 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date
=200609291417)
10:38:21,333 INFO [Embedded] Catalina naming disabled
10:38:21,411 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in
the classpath. Will load the default rule set.
10:38:21,411 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in
the classpath. Will load the default rule set.
10:38:22,130 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0
.0.0-8080
10:38:22,192 INFO [Catalina] Initialization processed in 781 ms
10:38:22,192 INFO [StandardService] Starting service jboss.web
10:38:22,192 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.2
0
10:38:22,348 INFO [StandardHost] XML validation disabled
10:38:22,427 INFO [Catalina] Server startup in 235 ms
10:38:23,224 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
http-invoker.sar/invoker.war/
10:38:24,536 INFO [WebappLoader] Dual registration of jndi stream handler: fact
ory already defined
10:38:25,771 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbosswe
b-tomcat55.sar/ROOT.war/
10:38:26,209 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/dep
loy/tmp30405jbossws-context-exp.war/
10:38:26,521 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
10:38:29,819 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
loy/management/console-mgr.sar/web-console.war/
10:38:31,178 INFO [MailService] Mail Service bound to java:/Mail
10:38:32,007 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-local-jdbc.rar
10:38:32,147 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-xa-jdbc.rar
10:38:32,210 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-local-jdbc.rar
10:38:32,319 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-xa-jdbc.rar
10:38:32,413 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jms/jms-ra.rar
10:38:32,522 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/mail-ra.rar
10:38:34,257 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca
:name=DefaultDS,service=DataSourceBinding' to JNDI name 'java efaultDS'
10:38:34,882 INFO [A] Bound to JNDI name: queue/A
10:38:34,882 INFO [B] Bound to JNDI name: queue/B
10:38:34,882 INFO [C] Bound to JNDI name: queue/C
10:38:34,882 INFO [D] Bound to JNDI name: queue/D
10:38:34,898 INFO [ex] Bound to JNDI name: queue/ex
10:38:34,929 INFO [testTopic] Bound to JNDI name: topic/testTopic
10:38:34,929 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
10:38:34,945 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

10:38:34,945 INFO [testQueue] Bound to JNDI name: queue/testQueue
10:38:35,039 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
0.0:8093
10:38:35,132 INFO [DLQ] Bound to JNDI name: queue/DLQ
10:38:35,648 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:name=JmsXA,service=ConnectionFactoryBinding' to JNDI name 'java:JmsXA'
10:38:35,836 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca
:name=posds,service=DataSourceBinding' to JNDI name 'posds'
10:38:36,039 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca
:name=posorads,service=DataSourceBinding' to JNDI name 'posorads'
10:38:36,258 INFO [TomcatDeployer] deploy, ctxPath=/NewPOS, warUrl=.../deploy/N
ewPOS.war/
10:38:36,727 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@180ba759 { url=file:/C:/jboss-4.0.5.GA/serve
r/default/deploy/iapp/WEB-INF/classes/HelloWorld.class }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.5.GA/server/default/deploy/iapp/WEB-INF/classes/Hell
oWorld.class
altDD: null
lastDeployed: 1224133716695
lastModified: 1224133716695
mbeans:

org.jboss.deployment.DeploymentInfo@84f2d2db { url=file:/C:/jboss-4.0.5.GA/serve
r/default/deploy/iapp/WEB-INF/src/HelloWorld.class }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.5.GA/server/default/deploy/iapp/WEB-INF/src/HelloWor
ld.class
altDD: null
lastDeployed: 1224133716711
lastModified: 1224133716695
mbeans:

org.jboss.deployment.DeploymentInfo@805a4eb5 { url=file:/C:/jboss-4.0.5.GA/serve
r/default/deploy/iapp/WEB-INF/src/HelloWorld.java }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.5.GA/server/default/deploy/iapp/WEB-INF/src/HelloWor
ld.java
altDD: null
lastDeployed: 1224133716711
lastModified: 1224133716711
mbeans:

org.jboss.deployment.DeploymentInfo@c19d0d8d { url=file:/C:/jboss-4.0.5.GA/serve
r/default/deploy/iapp/WEB-INF/web.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.5.GA/server/default/deploy/iapp/WEB-INF/web.xml
altDD: null
lastDeployed: 1224133716727
lastModified: 1224133716727
mbeans:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@180ba759 { url=file:/C:/jboss-4.0.5.GA/serve
r/default/deploy/iapp/WEB-INF/classes/HelloWorld.class }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.5.GA/server/default/deploy/iapp/WEB-INF/classes/Hell
oWorld.class
altDD: null
lastDeployed: 1224133716695
lastModified: 1224133716695
mbeans:

org.jboss.deployment.DeploymentInfo@84f2d2db { url=file:/C:/jboss-4.0.5.GA/serve
r/default/deploy/iapp/WEB-INF/src/HelloWorld.class }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.5.GA/server/default/deploy/iapp/WEB-INF/src/HelloWor
ld.class
altDD: null
lastDeployed: 1224133716711
lastModified: 1224133716695
mbeans:

org.jboss.deployment.DeploymentInfo@805a4eb5 { url=file:/C:/jboss-4.0.5.GA/serve
r/default/deploy/iapp/WEB-INF/src/HelloWorld.java }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.5.GA/server/default/deploy/iapp/WEB-INF/src/HelloWor
ld.java
altDD: null
lastDeployed: 1224133716711
lastModified: 1224133716711
mbeans:

org.jboss.deployment.DeploymentInfo@c19d0d8d { url=file:/C:/jboss-4.0.5.GA/serve
r/default/deploy/iapp/WEB-INF/web.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.5.GA/server/default/deploy/iapp/WEB-INF/web.xml
altDD: null
lastDeployed: 1224133716727
lastModified: 1224133716727
mbeans:


10:38:36,930 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0
-8080
10:38:37,258 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
10:38:37,305 INFO [JkMain] Jk running ID=0 time=0/282 config=null
10:38:37,352 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Bran
ch_4_0 date=200610162339)] Started in 34s:539ms

Thanks
naveen
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3855

Have you try setting JAVA_HOME environment variable to your JDK installed location (like C:\java\jdk1.5) ?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

You deployed your app as an exploded directory with the name iapp. Change the name to iapp.war - JBossAS uses the extension to determine the type of app so that it can properly deploy it. (Note that Tomcat does not require extensions because it deploys only WAR files, but JBossAS can deploy WAR, EAR, HAR, SAR, RAR, and so on, therefore the extension is required so that it knows what type of app to deploy.)

Also, please take a minute to come up with a decent topic for this post. Ask yourself this: if someone already mentioned your problem in another post, and they used the same topic text you used, would you know that that post already contains information about your question? You can use the edit icon (paper with pencil) to edit the topic.

[ October 16, 2008: Message edited by: Peter Johnson ]
[ October 16, 2008: Message edited by: Peter Johnson ]

JBoss In Action
ravi grk
Greenhorn

Joined: Aug 19, 2009
Posts: 7
It very simple solution provided by Peter on issue INIT_Deployer issue. I have serched on lot of site for this

I very thankful.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exploded deployment not working