Deploy a Sip Servet WAR using Jboss 5.1 remote container support agains MSS
sri.narayanan.gce Apr 24, 2011 3:50 AMI created a simple sip war , that accepts the invite and sends an OK .This war was successfully deployed and tested in MSS .
Now I tried using the createFromZipFile to deploy the War from arquillian .
public static WebArchive createTestArchive() {
return ShrinkWrap.createFromZipFile(WebArchive.class, new File("G:/workspaces/arq/demo_ws/sip_failover/sip_failover/target/sip_failover.war"));
}
But I guess the deployment fails with the log
java.lang.IllegalArgumentException: org.jboss.arquillian.protocol.servlet.v_2_5.ServletProtocolDeploymentPackager can not handle archive of type org.jboss.shrinkwrap.sip.impl.spec.ConvergedSipWebArchiveImpl
at org.jboss.arquillian.protocol.servlet.v_2_5.ServletProtocolDeploymentPackager.generateDeployment(ServletProtocolDeploymentPackager.java:79)
at
The server log seems to show that the app is actually deployed
13:18:10,661 INFO [DeployHandler] Handle stream, deploymentTarget: names=[sip_f
ailover.war], copyContent=true, description=file:/C:/Users/narayant/AppData/Loca
l/Temp/arquillian6316202379303981542sip_failover.war/sip_failover.war
13:18:10,857 INFO [DeployHandler] End handle stream, repositoryName: vfszip:/G:
/server/mss/server/default/deploy/sip_failover.war/
13:18:10,887 INFO [DeployHandler] Begin start, [sip_failover.war]
13:18:11,805 INFO [TomcatConvergedDeployment] deploy, ctxPath=/sip_failover
13:18:11,807 INFO [SipStandardContext] Initializing the sip context
13:18:11,825 INFO [SipStandardContext] sip context Initialized
13:18:11,825 INFO [SipStandardContext] Starting the sip context
13:18:11,852 INFO [SipStandardContext] Concurrency Control set to None for appl
ication com.demo.arq.sipservlet.SimpleSipUAS
13:18:11,852 INFO [SipApplicationDispatcherImpl] No concurrency control mode fo
r application com.demo.arq.sipservlet.SimpleSipUAS , defaulting to the container
wide one : None
13:18:11,853 INFO [ProxyTimerServiceImpl] Started proxy timer service org.mobic
ents.servlet.sip.core.timers.ProxyTimerServiceImpl@ecab30c
13:18:11,854 INFO [StandardSipApplicationSessionTimerService] Started timer ser
vice org.mobicents.servlet.sip.core.timers.StandardSipApplicationSessionTimerSer
vice@1db0e06a
13:18:11,854 WARNING [SimpleSipUAS] !!!============Failed Injection=============
======= > sipFactory!!!!null
13:18:11,855 WARNING [SimpleSipUAS] !!!============Failed Injection=============
=======>sessionsUtil!!!!null
13:18:11,855 INFO [SipApplicationDispatcherImpl] the following sip servlet appl
ication has been added : com.demo.arq.sipservlet.SimpleSipUAS
13:18:11,855 INFO [SipApplicationDispatcherImpl] It contains the following Sip
Servlets :
13:18:11,856 INFO [SipApplicationDispatcherImpl] SipApplicationName : com.demo.
arq.sipservlet.SimpleSipUAS/ServletName : SimpleSipUAS
13:18:11,856 INFO [SipStandardContext] sip application session timeout for this
context is 3 minutes
13:18:11,856 INFO [SipStandardContext] http session timeout for this context is
30 minutes
13:18:11,856 INFO [SipStandardContext] sip context started
13:18:11,858 WARN [TomcatConvergedDeployment] Failed to setup clustering, clust
ering disabled. NoClassDefFoundError: org/jboss/cache/pojo/jmx/PojoCacheJmxWrapp
erMBean
13:18:11,859 INFO [DeployHandler] End start, [vfszip:/G:/server/mss/server/defa
ult/deploy/sip_failover.war/]
13:18:12,100 WARN [AbstractManagedObjectPopulator] Cannot create String name fr
om non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaTyp
e:java.lang.String}, value=null
13:18:12,108 WARN [AbstractManagedObjectPopulator] Cannot create String name fr
om non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaTyp
e:java.lang.String}, value=null
13:18:13,664 INFO [DeployHandler] Stop, [sip_failover.war]
13:18:13,665 INFO [TomcatDeployment] undeploy, ctxPath=/sip_failover
13:18:13,667 INFO [SipStandardContext] Stopping the sip context
13:18:13,667 WARN [SipStandardContext] number of active sip sessions : 0
13:18:13,667 WARN [SipStandardContext] number of active sip application session
s : 0
13:18:13,671 INFO [SipApplicationDispatcherImpl] the following sip servlet appl
ication has been removed : com.demo.arq.sipservlet.SimpleSipUAS
13:18:13,671 INFO [StandardSipApplicationSessionTimerService] Stopped timer ser
vice org.mobicents.servlet.sip.core.timers.StandardSipApplicationSessionTimerSer
vice@1db0e06a
13:18:13,673 INFO [TimerServiceImpl] Stopped timer service org.mobicents.servle
t.sip.core.timers.TimerServiceImpl@65281828
13:18:13,673 INFO [ProxyTimerServiceImpl] Stopped proxy timer service org.mobic
ents.servlet.sip.core.timers.ProxyTimerServiceImpl@ecab30c
13:18:13,674 INFO [SipStandardContext] sip context stopped
13:18:13,724 INFO [DeployHandler] End stop, [vfszip:/G:/server/mss/server/defau
lt/deploy/sip_failover.war/]
13:18:13,767 INFO [DeployHandler] Remove, [sip_failover.war]
-
servler.log.zip 1.3 KB
-
eclipse.junit.error.txt.zip 1,009 bytes