Wowza Community

How can I solve this startup problem?

I have met this problem when I start up my wowza1.5.3 server.

root@u2:/usr/local/WowzaMediaServerPro/bin# ./startup.sh
Configure logging: file:///usr/local/WowzaMediaServerPro/conf/log4j.properties
Error starting: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Method.invoke(libgcj.so.81)
   at com.wowza.wms.bootstrap.Bootstrap.startServer(Bootstrap.java:246)
   at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:47)
Caused by: java.lang.ExceptionInInitializerError
   at org.apache.mina.transport.socket.nio.SocketSessionConfigImpl.initialize(Unknown Source)
   at org.apache.mina.transport.socket.nio.SocketSessionConfigImpl.<clinit>(Unknown Source)
   at java.lang.Class.initializeClass(libgcj.so.81)
   at java.lang.Class.initializeClass(libgcj.so.81)
   at com.wowza.wms.vhost.HostPort.<init>(Unknown Source)
   at com.wowza.wms.util.VHostUtils.loadHostPort(Unknown Source)
   at com.wowza.wms.util.VHostUtils.loadHostPort(Unknown Source)
   at com.wowza.wms.util.ServerUtils.loadConfigFile(Unknown Source)
   at com.wowza.wms.server.Server.loadConfig(Unknown Source)
   at com.wowza.wms.server.Server.start(Unknown Source)
   at java.lang.reflect.Method.invoke(libgcj.so.81)
   ...2 more
Caused by: java.net.SocketException: No such file or directory
   at gnu.java.net.PlainSocketImpl.getOption(libgcj.so.81)
   at java.net.Socket.getReuseAddress(libgcj.so.81)
   at org.apache.mina.transport.socket.nio.SocketSessionConfigImpl.initialize(Unknown Source)
   ...12 more
 

Can anybody tell me how can I solve it? Thank you very much!

can you give us your server details please and what version of java do you have installed

java.lang.reflect.InvocationTargetException

i think this is a java problem rather than a wowza problem and it isnt wowza that is failing to start but your java, that will then prevent wowza from starting.

I would suggest that you update your java and try starting wowza after that

Maybe an update has switch the default java command back to the incorrect version of Java. See if this post helps:

http://www.wowza.com/community/t/-/48

Charlie

can you give us your server details please and what version of java do you have installed

OS: Ubuntu 8.04

Java 1.6 Environment

I have runned the wowza server for several months, but It failed to startup these days.

thanks mr-webcam and charlie, after upgrading the wowza version to 1.6.0, my application runs correctly!