Hi Elias, This is the WeSIP log's file, when I run startup.sh:
2007-12-12 10:02:57 HttpConnector Opening server socket on host IP address PROXY_IP 2007-12-12 10:02:57 Starting service Tomcat-Standalone 2007-12-12 10:02:57 HttpConnector[8080] Starting background thread 2007-12-12 10:02:57 HttpProcessor[8080][0] Starting background thread 2007-12-12 10:02:57 HttpProcessor[8080][1] Starting background thread 2007-12-12 10:02:57 HttpProcessor[8080][2] Starting background thread 2007-12-12 10:02:57 HttpProcessor[8080][3] Starting background thread 2007-12-12 10:02:57 HttpProcessor[8080][4] Starting background thread 2007-12-12 10:02:57 ConvergedEngine[Standalone]: Converged Application Server SIP&HTTP-0.1 2007-12-12 10:02:57 HostConfig[PROXY_IP]: Deploying configuration descriptor manager.xml 2007-12-12 10:02:57 WebappLoader[/manager]: Deploying class repositories to work directory /usr/src/wesip/work/Standalone/PROXY_IP/manager 2007-12-12 10:02:57 WebappLoader[/manager]: Deploy JAR /WEB-INF/lib/dwr.jar to /usr/src/wesip/wesipapps/../server/webapps/manager/WEB-INF/lib/dwr.jar 2007-12-12 10:02:57 WebappLoader[/manager]: Deploy JAR /WEB-INF/lib/jrobin-1.4.0.jar to /usr/src/wesip/wesipapps/../server/webapps/manager/WEB-INF/lib/jrobin-1.4.0.jar
2007-12-12 10:02:57 WebappLoader[/manager]: Deploy JAR /WEB-INF/lib/statistics.jar to /usr/src/wesip/wesipapps/../server/webapps/manager/WEB-INF/lib/statistics.jar
2007-12-12 10:02:58 ContextConfig[/manager]: Missing application sip.xml, using defaults only 2007-12-12 10:02:58 ContextConfig[/manager]: Configured an authenticator for method BASIC 2007-12-12 10:02:58 StandardManager[/manager]: Seeding random number generator class java.security.SecureRandom 2007-12-12 10:02:58 StandardManager[/manager]: Seeding of random number generator has been completed 2007-12-12 10:02:58 StandardHttpWrapper[/manager:default]: Loading container servlet default 2007-12-12 10:02:58 default: init 2007-12-12 10:02:58 dwr-invoker: init 2007-12-12 10:02:58 StandardHttpWrapper[/manager:invoker]: Loading container servlet invoker 2007-12-12 10:02:58 invoker: init 2007-12-12 10:02:58 jsp: init 2007-12-12 10:02:58 statistics: init 2007-12-12 10:02:58 StandardHttpContext[/manager]: StandardHttpContext [WeSIP Manager Application] has been started 2007-12-12 10:02:58 HostConfig[PROXY_IP]: Expanding web application archive click2call.sar 2007-12-12 10:02:59 ManagerBase[/click2call]: Seeding random number generator class java.security.SecureRandom 2007-12-12 10:02:59 ManagerBase[/click2call]: Seeding of random number generator has been completed 2007-12-12 10:02:59 ManagerBase[/click2call]: Seeding random number generator class java.security.SecureRandom 2007-12-12 10:02:59 ManagerBase[/click2call]: Seeding of random number generator has been completed 2007-12-12 10:02:59 WebappLoader[/click2call]: Deploying class repositories to work directory /usr/src/wesip/work/Standalone/PROXY_IP/click2call 2007-12-12 10:02:59 WebappLoader[/click2call]: Deploy class files /WEB-INF/classes to /usr/src/wesip/wesipapps/click2call/WEB-INF/classes 2007-12-12 10:02:59 WebappLoader[/click2call]: Deploy JAR /WEB-INF/lib/activation.jar to /usr/src/wesip/wesipapps/click2call/WEB-INF/lib/activation.jar 2007-12-12 10:02:59 WebappLoader[/click2call]: Deploy JAR /WEB-INF/lib/axis-ant.jar to /usr/src/wesip/wesipapps/click2call/WEB-INF/lib/axis-ant.jar 2007-12-12 10:02:59 WebappLoader[/click2call]: Deploy JAR /WEB-INF/lib/axis.jar to /usr/src/wesip/wesipapps/click2call/WEB-INF/lib/axis.jar 2007-12-12 10:02:59 WebappLoader[/click2call]: Deploy JAR /WEB-INF/lib/commons-discovery-0.2.jar to /usr/src/wesip/wesipapps/click2call/WEB-INF/lib/commons-discovery-0.2.jar 2007-12-12 10:02:59 WebappLoader[/click2call]: Deploy JAR /WEB-INF/lib/commons-logging.jar to /usr/src/wesip/wesipapps/click2call/WEB-INF/lib/commons-logging.jar 2007-12-12 10:02:59 WebappLoader[/click2call]: Deploy JAR /WEB-INF/lib/dwr.jar to /usr/src/wesip/wesipapps/click2call/WEB-INF/lib/dwr.jar 2007-12-12 10:02:59 WebappLoader[/click2call]: Deploy JAR /WEB-INF/lib/jaxrpc.jar to /usr/src/wesip/wesipapps/click2call/WEB-INF/lib/jaxrpc.jar 2007-12-12 10:02:59 WebappLoader[/click2call]: Deploy JAR /WEB-INF/lib/log4j-1.2.8.jar to /usr/src/wesip/wesipapps/click2call/WEB-INF/lib/log4j-1.2.8.jar 2007-12-12 10:02:59 WebappLoader[/click2call]: Deploy JAR /WEB-INF/lib/mail.jar to /usr/src/wesip/wesipapps/click2call/WEB-INF/lib/mail.jar 2007-12-12 10:02:59 WebappLoader[/click2call]: Deploy JAR /WEB-INF/lib/saaj.jar to /usr/src/wesip/wesipapps/click2call/WEB-INF/lib/saaj.jar 2007-12-12 10:02:59 WebappLoader[/click2call]: Deploy JAR /WEB-INF/lib/wsdl4j-1.5.1.jar to /usr/src/wesip/wesipapps/click2call/WEB-INF/lib/wsdl4j-1.5.1.jar 2007-12-12 10:02:59 StandardManager[/click2call]: Seeding random number generator class java.security.SecureRandom 2007-12-12 10:02:59 StandardManager[/click2call]: Seeding of random number generator has been completed 2007-12-12 10:02:59 StandardHttpWrapper[/click2call:default]: Loading container servlet default 2007-12-12 10:02:59 default: init 2007-12-12 10:02:59 init 2007-12-12 10:02:59 dwr-invoker: init 2007-12-12 10:02:59 init 2007-12-12 10:02:59 AxisServlet: init 2007-12-12 10:03:00 StandardHttpWrapper[/click2call:invoker]: Loading container servlet invoker 2007-12-12 10:03:00 invoker: init 2007-12-12 10:03:00 jsp: init 2007-12-12 10:03:00 AdminServlet: init 2007-12-12 10:03:00 SOAPMonitorService: init 2007-12-12 10:03:00 ConvergedContext[/click2call]: ConvergedContext [Click2Call SipServlet] has been started 2007-12-12 10:03:00 HostConfig[PROXY_IP]: Deploying web application directory click2call-08_11_06 2007-12-12 10:03:00 ManagerBase[/click2call-08_11_06]: Seeding random number generator class java.security.SecureRandom 2007-12-12 10:03:00 ManagerBase[/click2call-08_11_06]: Seeding of random number generator has been completed 2007-12-12 10:03:00 ManagerBase[/click2call-08_11_06]: Seeding random number generator class java.security.SecureRandom 2007-12-12 10:03:00 ManagerBase[/click2call-08_11_06]: Seeding of random number generator has been completed 2007-12-12 10:03:00 WebappLoader[/click2call-08_11_06]: Deploying class repositories to work directory /usr/src/wesip/work/Standalone/PROXY_IP/click2call-08_11_06 2007-12-12 10:03:00 WebappLoader[/click2call-08_11_06]: Deploy class files /WEB-INF/classes to /usr/src/wesip/wesipapps/click2call-08_11_06/WEB-INF/classes 2007-12-12 10:03:00 WebappLoader[/click2call-08_11_06]: Deploy JAR /WEB-INF/lib/activation.jar to /usr/src/wesip/wesipapps/click2call-08_11_06/WEB-INF/lib/activation.jar 2007-12-12 10:03:00 WebappLoader[/click2call-08_11_06]: Deploy JAR /WEB-INF/lib/axis-ant.jar to /usr/src/wesip/wesipapps/click2call-08_11_06/WEB-INF/lib/axis-ant.jar 2007-12-12 10:03:00 WebappLoader[/click2call-08_11_06]: Deploy JAR /WEB-INF/lib/axis.jar to /usr/src/wesip/wesipapps/click2call-08_11_06/WEB-INF/lib/axis.jar 2007-12-12 10:03:00 WebappLoader[/click2call-08_11_06]: Deploy JAR /WEB-INF/lib/commons-discovery-0.2.jar to /usr/src/wesip/wesipapps/click2call-08_11_06/WEB-INF/lib/commons-discovery-0.2.jar
2007-12-12 10:03:00 WebappLoader[/click2call-08_11_06]: Deploy JAR /WEB-INF/lib/commons-logging.jar to /usr/src/wesip/wesipapps/click2call-08_11_06/WEB-INF/lib/commons-logging.jar
2007-12-12 10:03:00 WebappLoader[/click2call-08_11_06]: Deploy JAR /WEB-INF/lib/dwr.jar to /usr/src/wesip/wesipapps/click2call-08_11_06/WEB-INF/lib/dwr.jar 2007-12-12 10:03:00 WebappLoader[/click2call-08_11_06]: Deploy JAR /WEB-INF/lib/jaxrpc.jar to /usr/src/wesip/wesipapps/click2call-08_11_06/WEB-INF/lib/jaxrpc.jar 2007-12-12 10:03:00 WebappLoader[/click2call-08_11_06]: Deploy JAR /WEB-INF/lib/log4j-1.2.8.jar to /usr/src/wesip/wesipapps/click2call-08_11_06/WEB-INF/lib/log4j-1.2.8.jar 2007-12-12 10:03:00 WebappLoader[/click2call-08_11_06]: Deploy JAR /WEB-INF/lib/mail.jar to /usr/src/wesip/wesipapps/click2call-08_11_06/WEB-INF/lib/mail.jar 2007-12-12 10:03:00 WebappLoader[/click2call-08_11_06]: Deploy JAR /WEB-INF/lib/saaj.jar to /usr/src/wesip/wesipapps/click2call-08_11_06/WEB-INF/lib/saaj.jar 2007-12-12 10:03:00 WebappLoader[/click2call-08_11_06]: Deploy JAR /WEB-INF/lib/wsdl4j-1.5.1.jar to /usr/src/wesip/wesipapps/click2call-08_11_06/WEB-INF/lib/wsdl4j-1.5.1.jar 2007-12-12 10:03:01 StandardManager[/click2call-08_11_06]: Seeding random number generator class java.security.SecureRandom 2007-12-12 10:03:01 StandardManager[/click2call-08_11_06]: Seeding of random number generator has been completed 2007-12-12 10:03:01 StandardHttpWrapper[/click2call-08_11_06:default]: Loading container servlet default 2007-12-12 10:03:01 default: init 2007-12-12 10:03:01 init 2007-12-12 10:03:01 dwr-invoker: init 2007-12-12 10:03:01 init 2007-12-12 10:03:01 AxisServlet: init 2007-12-12 10:03:01 StandardHttpWrapper[/click2call-08_11_06:invoker]: Loading container servlet invoker 2007-12-12 10:03:01 invoker: init 2007-12-12 10:03:01 jsp: init 2007-12-12 10:03:01 AdminServlet: init 2007-12-12 10:03:02 SOAPMonitorService: init 2007-12-12 10:03:02 ConvergedContext[/click2call-08_11_06]: ConvergedContext [Click2Call SipServlet] has been started 2007-12-12 10:03:02 HostConfig[PROXY_IP]: Deploying web application directory ROOT 2007-12-12 10:03:02 ManagerBase[]: Seeding random number generator class java.security.SecureRandom 2007-12-12 10:03:02 ManagerBase[]: Seeding of random number generator has been completed 2007-12-12 10:03:02 ManagerBase[]: Seeding random number generator class java.security.SecureRandom 2007-12-12 10:03:02 ManagerBase[]: Seeding of random number generator has been completed 2007-12-12 10:03:02 WebappLoader[]: Deploying class repositories to work directory /usr/src/wesip/work/Standalone/PROXY_IP/_ 2007-12-12 10:03:02 ContextConfig[]: Missing application sip.xml, using defaults only 2007-12-12 10:03:02 StandardManager[]: Seeding random number generator class java.security.SecureRandom 2007-12-12 10:03:02 StandardManager[]: Seeding of random number generator has been completed 2007-12-12 10:03:02 StandardHttpWrapper[:default]: Loading container servlet default 2007-12-12 10:03:02 default: init 2007-12-12 10:03:02 StandardHttpWrapper[:invoker]: Loading container servlet invoker 2007-12-12 10:03:02 invoker: init 2007-12-12 10:03:02 jsp: init 2007-12-12 10:03:02 ConvergedContext[]: ConvergedContext [Welcome] has been started 2007-12-12 10:03:02
Default Wesip Application ==> http://PROXY_IP:8080/
2007-12-12 10:03:02
In order to access the manager application use default credentials:
- username: wesip - password: wesip
This configuration is defined in wesip-users.xml inside conf folder:
- file: ./conf/wesip-users.xml
I'd like to use " Click to dial " service. I don't write configuration file yet (sip.xml or web.xml). At this point, What should I do? Shouldn't I to access to Manager Wesip Application? (Manager Wesip Application ==> http://PROXY_IP:8080/manager/html?) - If yes, in this case I get an 500 http Error.
My problem is very simple : I'm new in using servlet so I 'd like to know how I have to move (I didn't find no useful guide on this) .
thanks. daniel
-----Messaggio originale----- Da: elias baixas [mailto:elias.baixas@voztele.com] Inviato: mer 12/12/2007 0.40 A: Daniel Grotti Cc: users@lists.openser.org Oggetto: Re: [OpenSER-Users] Could someone help me with WeSIP ?
Hello Daniel, can you provide some WeSIP's logs and openser's logs to gain some more information on the problem ? it's hard to guess what might be wrong with just the configuration. of course, you can substitute your IP addresses with some predefined token for the sake of confidentiality. for example: bash#>sed -i -e "s/192.168.1.1/PRIVATE_PROXY_IP/g" openser.cfg
thanks !
Hi Daniel:
Daniel Grotti 写道:
I'd like to use " Click to dial " service. I don't write configuration file yet (sip.xml or web.xml). At this point, What should I do? Shouldn't I to access to Manager Wesip Application? (Manager Wesip Application ==> http://PROXY_IP:8080/manager/html?) - If yes, in this case I get an 500 http Error.
I met the sample problem "500 http Error" when connect to management web interface. I got "java.lang.NoClassDefFoundError: sun/tools/javac/Main" error in wesip log. So I looked into startup.sh script and found it's classpath problem of tools.jar. I had no JAVA_HOME variable define, so I replaced it with absolute path :/usr/lib/jvm/java-6-sun-1.6.0.03/lib/tools.jar
Restart wesip, then I cound use management web interface and applications were shown in web. For my case, the key is tools.jar classpath.
I hope this will be useful for u.
Regards, Chen Xueqin
Hi Chen, thank you very much! that was the problem. Now the manager web application works!
Regards, Daniel
-----Messaggio originale----- Da: CHEN XUEQIN [mailto:chenxq@star-net.cn] Inviato: gio 13/12/2007 10.44 A: Daniel Grotti Cc: users@lists.openser.org; elias.baixas@voztele.com Oggetto: Re: [OpenSER-Users] Could someone help me with WeSIP ?
Hi Daniel:
Daniel Grotti ??:
I'd like to use " Click to dial " service. I don't write configuration file yet (sip.xml or web.xml). At this point, What should I do? Shouldn't I to access to Manager Wesip Application? (Manager Wesip Application ==> http://PROXY_IP:8080/manager/html?) - If yes, in this case I get an 500 http Error.
I met the sample problem "500 http Error" when connect to management web interface. I got "java.lang.NoClassDefFoundError: sun/tools/javac/Main" error in wesip log. So I looked into startup.sh script and found it's classpath problem of tools.jar. I had no JAVA_HOME variable define, so I replaced it with absolute path :/usr/lib/jvm/java-6-sun-1.6.0.03/lib/tools.jar
Restart wesip, then I cound use management web interface and applications were shown in web. For my case, the key is tools.jar classpath.
I hope this will be useful for u.
Regards, Chen Xueqin