I followed you tip:
1) made jar file tls-network-layer.jar file and put in TOMCAT_HOME/lib
2) Added to catalina.bat this line: ;%CATALINA_HOME%\lib\tls-network-
layer.jar (into line set "CLASSPATH=...")
3) Alot other similar experiments;
In all cases I got the trace:
--------------------------------------------------------------------------------------------------------------
Jan 19 15:58:43,434 [main]
org.mobicents.servlet.sip.startup.SipStandardService INFO: Pretty
encoding of headers enabled ? true
Jan 19 15:58:43,437 [main]
org.mobicents.servlet.sip.startup.SipStandardService INFO: Sip Stack
path name : gov.nist
Jan 19 15:58:43,829 [main]
org.mobicents.servlet.sip.startup.SipStandardService DEBUG:
Initializing SIP stack
Jan 19 15:58:43,830 [main]
org.mobicents.servlet.sip.startup.SipStandardService DEBUG: Loading
SIP stack properties from following file :
file:///D:/Dev/trunk/build/Debug/callcontrol/runtime/tomcat/../../conf/mss-sip-stack.properties
Jan 19 15:58:43,831 [main]
org.mobicents.servlet.sip.startup.SipStandardService INFO: Mobicents
Sip Servlets sip stack properties :
{gov.nist.javax.sip.PASS_INVITE_NON_2XX_ACK_TO_LISTENER=true,
gov.nist.javax.sip.LOG4J_LOGGER_NAME=gov.nist,
javax.sip.AUTOMATIC_DIALOG_SUPPORT=off,
gov.nist.javax.sip.TLS_CLIENT_PROTOCOLS=TLSv1,
gov.nist.javax.sip.REENTRANT_LISTENER=true,
gov.nist.javax.sip.MAX_FORK_TIME_SECONDS=0,
org.mobicents.ha.javax.sip.REPLICATE_APPLICATION_DATA=false,
gov.nist.javax.sip.RECEIVE_UDP_BUFFER_SIZE=256000,
javax.sip.STACK_NAME=Mobicents-SIP-Servlets,
gov.nist.javax.sip.NETWORK_LAYER=com.avistar.callcontrol.security.TLSNetworkLayer,
gov.nist.javax.sip.TCP_POST_PARSING_THREAD_POOL_SIZE=30,
gov.nist.javax.sip.LOOSE_DIALOG_VALIDATION=true,
org.mobicents.ha.javax.sip.REPLICATION_STRATEGY=ConfirmedDialog,
gov.nist.javax.sip.AGGRESSIVE_CLEANUP=false,
gov.nist.javax.sip.TRACE_LEVEL=LOG4J,
gov.nist.javax.sip.MAX_MESSAGE_SIZE=8192,
gov.nist.javax.sip.AUTOMATIC_DIALOG_ERROR_HANDLING=false,
gov.nist.javax.sip.TLS_CLIENT_AUTH_TYPE=Want,
gov.nist.javax.sip.SEND_UDP_BUFFER_SIZE=256000,
gov.nist.javax.sip.LOG_MESSAGE_CONTENT=false,
gov.nist.javax.sip.THREAD_POOL_SIZE=64,
gov.nist.javax.sip.DELIVER_UNSOLICITED_NOTIFY=true}
Jan 19 15:58:43,888 [main] gov.nist.javax.sip.SipStackImpl WARN: using
default tls security policy
Jan 19 15:58:43,937 [main] gov.nist.javax.sip.SipStackImpl INFO: using
Want tls auth policy
Jan 19 15:58:43,954 [main] org.apache.catalina.startup.Catalina ERROR:
Catalina.start
LifecycleException: A problem occured while initializing the SIP
Stack: javax.sip.PeerUnavailableException: The Peer SIP Stack:
gov.nist.javax.sip.SipStackImpl could not be instantiated. Ensure the
Path Name has been set.
at
org.mobicents.servlet.sip.startup.SipStandardService.initSipStack(SipStandardService.java:
521)
at
org.mobicents.servlet.sip.startup.SipStandardService.initialize(SipStandardService.java:
242)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:
795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jan 19 15:58:44,621 [main]
org.mobicents.servlet.sip.startup.SipHostConfig DEBUG: WEB-INF/sip.xml
found in D:\Dev\trunk\build\Debug\callcontrol\webapps\ROOT. Enabling
sip servlet archive deployment
Jan 19 15:58:44,640 [main]
org.mobicents.servlet.sip.startup.SipStandardContext INFO: Starting
the sip context
Jan 19 15:58:44,640 [main]
org.mobicents.servlet.sip.startup.SipStandardContext DEBUG:
Configuring default Resources
Jan 19 15:58:44,658 [main]
org.mobicents.servlet.sip.startup.SipStandardContext INFO:
Initializing the sip context
Jan 19 15:58:44,682 [main]
org.mobicents.servlet.sip.startup.SipStandardContext INFO: sip context
Initialized
Jan 19 15:58:44,717 [main]
org.mobicents.servlet.sip.startup.SipContextConfig DEBUG: starting
sipContextConfig
-------------------------------------------------------------------------------------------------------------
Which way I can upload my jar file and full logs...?
Thanks for reply!
On Jan 19, 12:14 pm, Jean Deruelle <
jean.derue...@gmail.com> wrote:
> You need to put the jar into
> $TOMCAT_HOME/lib
>
> And provide the server.log if that fails to see what the exception is.
>
> Jean
>