Wowza Community

Compile problem mac os lion

Hi, When I updated the mac OS to LION - online problems.

When flash client connect to wowza.

before the upgrade everything was fine :frowning:

INFO server comment - Wowza Media Server is started!
Exception in thread "VHostHandler._defaultVHost_.16" java.lang.Error: Unresolved compilation problems: 
	The type java.util.List cannot be resolved. It is indirectly referenced from required .class files
	The type java.lang.Throwable cannot be resolved. It is indirectly referenced from required .class files
	The type java.lang.Integer cannot be resolved. It is indirectly referenced from required .class files
	The type java.util.Date cannot be resolved. It is indirectly referenced from required .class files
	The import java.text cannot be resolved
	The import java.util.Date cannot be resolved
	The import java.util.Iterator cannot be resolved
	The import java.util.List cannot be resolved
	The import java.util.TimeZone cannot be resolved
	The import java.lang.Integer cannot be resolved
	The import org.w3c cannot be resolved
	The import java.util.Vector cannot be resolved
	The hierarchy of the type Start is inconsistent
	Vector cannot be resolved to a type
	Vector cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	The method getName() from the type IApplication refers to the missing type String
	The method getName() from the type IApplicationInstance refers to the missing type String
	System cannot be resolved
	String cannot be resolved to a type
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	Boolean cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	Vector<Autor> cannot be resolved to a type
	System cannot be resolved
	The method call(String, IModuleCallResult, Object...) from the type IClient refers to the missing type String
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	Vector<Autor> cannot be resolved to a type
	Boolean cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	Vector<Autor> cannot be resolved to a type
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	Vector<Autor> cannot be resolved to a type
	The method call(String, IModuleCallResult, Object...) from the type IClient refers to the missing type String
	The type java.util.HashMap cannot be resolved. It is indirectly referenced from required .class files
	The method put(String, IMediaStreamActionNotify2) is undefined for the type WMSProperties
	The hierarchy of the type StreamListener is inconsistent
	Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
	String cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	The method getParamUsers(String, IClient) from the type Start refers to the missing type String
	The method getParamUsers(String, IClient) from the type Start refers to the missing type String
	The method getParamUsers(String, IClient) from the type Start refers to the missing type String
	Vector<Autor> cannot be resolved to a type
	String cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	SuppressWarnings cannot be resolved to a type
	SuppressWarnings cannot be resolved to a type
	The method get(String) is undefined for the type WMSProperties
	SuppressWarnings cannot be resolved to a type
	SuppressWarnings cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	Node cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	The hierarchy of the type MyResult is inconsistent
	Implicit super constructor Object() is undefined. Must explicitly invoke another constructor
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	at com.itbom.webCam.Start.<init>(Start.java:1)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at java.lang.Class.newInstance0(Class.java:355)
	at java.lang.Class.newInstance(Class.java:308)
	at com.wowza.wms.util.ModuleUtils.addModuleToApp(Unknown Source)
	at com.wowza.wms.util.ApplicationUtils.loadModules(Unknown Source)
	at com.wowza.wms.util.ApplicationUtils.loadConfigFile(Unknown Source)
	at com.wowza.wms.application.ApplicationInstance.loadConfig(Unknown Source)
	at com.wowza.wms.application.ApplicationInstance.<init>(Unknown Source)
	at com.wowza.wms.application.Application.getAppInstance(Unknown Source)
	at com.wowza.wms.module.ModuleConnect.connect(Unknown Source)
	at com.wowza.wms.request.RequestProcessFunctions.processFunctions(Unknown Source)
	at com.wowza.wms.request.RTMPRequestAdapter.service(Unknown Source)
	at com.wowza.wms.server.ServerHandler.serviceRequest(Unknown Source)
	at com.wowza.wms.server.ServerHandler.handleMessageReceived(Unknown Source)
	at com.wowza.wms.server.ServerHandler.messageReceived(Unknown Source)
	at com.wowza.wms.server.ServerHandlerThreadedSession.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)

It looks like Java is not installed correctly. Try downloading and installing the latest Java.

If Linux, take look at this article:

https://www.wowza.com/docs/how-to-manually-install-and-troubleshoot-java-on-your-wowza-media-server)

If Windows, check which version of Java JAVA_HOME is pointing to, and update if neccessary.

Richard

Can you zip up and send us the conf and logs folders from this server to support@wowza.com

Include a link to this thread for reference.

Richard

It looks like Java is not installed correctly. Try downloading and installing the latest Java.

did not help java 1.6.26-b03-383

If Linux, take look at this article:

https://www.wowza.com/docs/how-to-manually-install-and-troubleshoot-java-on-your-wowza-media-server)

If Windows, check which version of Java JAVA_HOME is pointing to, and update if neccessary.

Richard

did not help mac os x lion

did not help mac os x lion

and install http://support.apple.com/kb/DL1421

The application works fine on mac os x 10.6, after updating to 10.7 problems not only in this but in other wowza projects. I tried to recreate the result is the same. The process of compiling the application runs perfectly, and the import java package true test. The above error appears when a flash client connect to wowza, ie when it begins to work and wowza called to handle java.

So, was this resolved. I ran into the same issue and downgraded back to OS X 10.6 Server because of the issue.

But, I would like to upgrade to Mac OS X 10.7 Server, if there is a fix.

pid,

I have not heard of anyone having problems with Wowza and OSX 10.7. You’re going to have to do some systematic troubleshooting. Try instaling a fresh copy of Wowza to a different directory. Run it. Do you still see the Java errors? If not, then your problem relates to something else, probably your custom modules.

Hi pidboretskyy,

Since your errors are occuring after this line: “Wowza Media Server is started!”, this tells me Java/Wowza are running. It looks like you are running custom modules which are missing the correct import lines such as: import java.util.*;

Check your modules. And/or try with a fresh install of Wowza and then add your modules in.

pid,

I have not heard of anyone having problems with Wowza and OSX 10.7. You’re going to have to do some systematic troubleshooting. Try instaling a fresh copy of Wowza to a different directory. Run it. Do you still see the Java errors? If not, then your problem relates to something else, probably your custom modules.