publishing problem

57 views
Skip to first unread message

gyang

unread,
May 14, 2013, 3:55:53 AM5/14/13
to enter...@googlegroups.com
hallo,

I am trying to publish media data. There is no problem during publishing with local file copy, but when I use sftp to publish media data, it is not working. How to use sftp publishing?

Christopher Burkey

unread,
May 14, 2013, 10:27:23 AM5/14/13
to enter...@googlegroups.com
sftp should be working. Perhaps there is a firewall or user issue?

You might want to turn logs on by editing the tomcat/conf/logging.properties file. .level = INFO, restart tomcat

Then monitor the tomcat/logs/catalina.out file while you are publishing.



On Tue, May 14, 2013 at 3:55 AM, gyang <gyan...@gmail.com> wrote:
hallo,

I am trying to publish media data. There is no problem during publishing with local file copy, but when I use sftp to publish media data, it is not working. How to use sftp publishing?

--
You received this message because you are subscribed to the Google Groups "EnterMedia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

gyang

unread,
May 15, 2013, 7:17:44 AM5/15/13
to enter...@googlegroups.com
Hallo Christopher,

as you said that I closed firewall and set user to root, then monitored the tomcat logs that shows below:

SEVERE: publishassets.groovy Problem publishing fw-pic2.jpg to 1365751824445
4:
    at com.jcraft.jsch.ChannelSftp.mkdir(ChannelSftp.java:1703)
    at org.openedit.entermedia.util.ssh.SftpUtil.makeDirs(SftpUtil.java:212)
    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:616)
    at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:230)
    at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
    at publishing.publishers.sftppublisher.publish(sftppublisher:46)
    at org.openedit.entermedia.publishing.Publisher$publish.call(Unknown Source)
    at publishing.publishassets.init(publishassets.groovy:94)
    at publishing.publishassets.run(publishassets.groovy:157)
    at groovy.util.GroovyScriptEngine.run(GroovyScriptEngine.java:551)
    at com.openedit.entermedia.scripts.GroovyScriptRunner.exec(GroovyScriptRunner.java:152)
    at com.openedit.entermedia.scripts.ScriptManager.execScript(ScriptManager.java:125)
    at com.openedit.modules.scriptrunner.ScriptModule.run(ScriptModule.java:120)
    at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at com.openedit.ModuleManager.execMethod(ModuleManager.java:107)
    at com.openedit.ModuleManager.executePageAction(ModuleManager.java:61)
    at com.openedit.ModuleManager.executePathActions(ModuleManager.java:182)
    at com.openedit.servlet.BaseOpenEditEngine.executePathActions(BaseOpenEditEngine.java:204)
    at org.openedit.events.PathEvent.runNow(PathEvent.java:335)
    at org.openedit.events.PathEvent.execute(PathEvent.java:284)
    at org.openedit.events.TaskRunner.executeNow(TaskRunner.java:195)
    at org.openedit.events.TaskRunner.runBlocking(TaskRunner.java:156)
    at org.openedit.events.TaskRunner$1.run(TaskRunner.java:132)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at java.lang.String.charAt(String.java:694)
    at com.jcraft.jsch.ChannelSftp.remoteAbsolutePath(ChannelSftp.java:2357)
    at com.jcraft.jsch.ChannelSftp.mkdir(ChannelSftp.java:1681)
    ... 31 more
Reply all
Reply to author
Forward
0 new messages