Now I’m getting this issue again, but this time, on a server environment, not in a development environment
I’m running the streaming engine with startup.sh and I’m doing this:
PutObjectRequest p = new PutObjectRequest(videoBucket,flvName, new File(dir+flvName));
p.setRequestCredentials(getCredentials());
p.setCannedAcl(CannedAccessControlList.BucketOwnerFullControl);
getLogger().info("attempting to upload " + flvName + " to " + videoBucket);
s3.putObject(p);
It crashes at that last line with a similar error:
ERROR server comment - invoke(doSave): java.lang.reflect.InvocationTargetException|at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)|at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)|at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)|at java.lang.reflect.Method.invoke(Method.java:606)|at com.wowza.wms.module.ModuleFunction.invoke(ModuleFunction.java:293)|
This code:
s3 = new AmazonS3Client()
runs successfully inside of the onAppStart method, so I can at least initialize the object.
In case this is an issue with the libraries that I have, here are all of the files in the lib directory. Note that the aws sdk 1.4.7 and the commons codec 1.9 are there.
aws-java-sdk-1.4.7.jar wms-drm.jar wms-plugin-bwcheck.jar
bcprov-jdk15on-149.jar wms-dvr.jar wms-plugin-loadbalancer.jar
commons-codec-1.9.jar wms-httpstreamer-cupertinostreaming.jar wms-plugin-streamnamealias.jar
commons-lang-2.6.jar wms-httpstreamer-directstreaming.jar wms-pushpublish.jar
jackson-annotations-2.1.1.jar wms-httpstreamer-mpegdashstreaming.jar wms-release-tools.jar
jackson-core-2.1.1.jar wms-httpstreamer-sanjosestreaming.jar wms-rest.jar
jackson-databind-2.1.1.jar wms-httpstreamer-smoothstreaming.jar wms-restlet-2.1.6.jar
jid3lib-0.5.4.jar wms-jax.validation.jar wms-restlet-2.1.6.org.restlet.ext.simple.jar
joda-time-2.3.jar wms-jlayer.jar wms-server.jar
log4j-1.2.17.jar wms-license-rest.jar wms-stats.jar
Recorder modules.jar wms-mediacache.jar wms-stream-file.jar
slf4j-api-1.6.4.jar wms-mediareader-flv.jar wms-stream-live.jar
slf4j-log4j12-1.6.4.jar wms-mediareader-h264.jar wms-stream-publish.jar
wms-amazonutil.jar wms-mediareader-mp3.jar wms-stream-record.jar
wms-ant.jar wms-mediareader-smil.jar wms-stream-rtp.jar
wms-bootstrap.jar wms-mediawriter-flv.jar wms-stream-shoutcast.jar
wms-commons-modeler.jar wms-mediawriter-h264.jar wms-transcoder.jar
wms-core.jar wms-plugin-amazonaws.jar wms-xstream-1.4.7.jar