Print  
Gray star Gray star Gray star Gray star Gray star --Not rated--
666 Visits 10 Comments
Created
Andrew Borowski Andrew Borowski
Kablink Component
  • Teaming

Has anyone had issues with viewing images on Teaming V2.

I uploaded a photo in various different formats .tif .png .jpg .gif and they all show just a blank box.

Any ideas please.....

Workflow
Process State Action
Discussion workflow Active
This entry is currently active
Attachments(0)
Entry History
Tags
 
Replies
Thumbnail Image
Marcel Dekker Marcel Dekker
I have uploaded several image formats (like the ones you mention) and they all show fine. Are there any errors in the logs?
Thumbnail Image
Matthew P Harman Matthew P Harman

The error message we get is shown below.

 

I think this is because we can not seem to get the Open Office Listener working correctly.  Any pointers on this?

 

Thanks

Matthew

------------------

HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError 	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:920) 	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) 	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) 	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501) 	javax.servlet.http.HttpServlet.service(HttpServlet.java:617) 	javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 	org.kablink.teaming.web.servlet.filter.LoginFilter.doFilter(LoginFilter.java:102) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:359) 	org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) 	org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:271) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.kablink.teaming.spring.security.ZoneGrabbingFilter.doFilterHttp(ZoneGrabbingFilter.java:26) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:174) 	org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) 	org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) 	org.kablink.teaming.asmodule.servlet.filter.ResponseHeaderFilter.doFilter(ResponseHeaderFilter.java:57) 

 

root cause

java.lang.NoClassDefFoundError 	java.lang.Class.forName0(Native Method) 	java.lang.Class.forName(Class.java:164) 	java.awt.Toolkit$2.run(Toolkit.java:821) 	java.security.AccessController.doPrivileged(Native Method) 	java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804) 	javax.swing.ImageIcon.<init>(ImageIcon.java:207) 	org.kablink.teaming.util.Thumbnail.createThumbnail(Thumbnail.java:71) 	org.kablink.teaming.docconverter.impl.ImageOpenOfficeConverter.convert(ImageOpenOfficeConverter.java:146) 	org.kablink.teaming.docconverter.impl.ImageOpenOfficeConverter.convert(ImageOpenOfficeConverter.java:69) 	org.kablink.teaming.docconverter.Converter.createCachedFile(Converter.java:134) 	org.kablink.teaming.docconverter.Converter.convert(Converter.java:97) 	org.kablink.teaming.docconverter.ImageConverter.convertToScaledImage(ImageConverter.java:55) 	org.kablink.teaming.module.file.impl.ConvertedFileModuleImpl.readScaledFile(ConvertedFileModuleImpl.java:93) 	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 	java.lang.reflect.Method.invoke(Method.java:585) 	org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) 	org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) 	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) 	org.kablink.teaming.module.interceptor.EventListenerManagerInterceptor.invoke(EventListenerManagerInterceptor.java:58) 	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 	org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 	$Proxy22.readScaledFile(Unknown Source) 	org.kablink.teaming.servlet.forum.ReadScaledFileController.handleRequestAfterValidation(ReadScaledFileController.java:84) 	org.kablink.teaming.web.servlet.SAbstractController.handleRequestInternal(SAbstractController.java:244) 	org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) 	org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) 	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) 	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) 	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) 	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501) 	javax.servlet.http.HttpServlet.service(HttpServlet.java:617) 	javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 	org.kablink.teaming.web.servlet.filter.LoginFilter.doFilter(LoginFilter.java:102) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:359) 	org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) 	org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:271) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.kablink.teaming.spring.security.ZoneGrabbingFilter.doFilterHttp(ZoneGrabbingFilter.java:26) 	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 	org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371) 	org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:174) 	org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) 	org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) 	org.kablink.teaming.asmodule.servlet.filter.ResponseHeaderFilter.doFilter(ResponseHeaderFilter.java:57) 

 

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.


Apache Tomcat/6.0.18

 

 

Thumbnail Image
Marcel Dekker Marcel Dekker
Can you post your catalina.out log. That will tell me a little bit more. Looks like something isn't loaded. It won't complain if OpenOffice isn't running, so I think it's something else.
Thumbnail Image
Matthew P Harman Matthew P Harman

Strange, I have restarted teaming this morning and the images are now present.

 

However, we don't have the ability to preview an uploaded attachment.   I attach the catalina.out log

 

Thanks

 

Matthew

Attachments
  File Name Version Status Date Size Modified by Actions Edit
catalina.out V1.0
Mar 27, 2009  8:38 AM 11KB Matthew P Harman  
Thumbnail Image
Dennis R Foster Dennis R Foster

I have a shell script setup that executes the following:

cd $OO_HOME
./$OO_APP "-accept=socket,port=8100;urp" &

where OO_HOME points to my OpenOffice installation and OO_APP is the main OpenOffice application (ooffice or soffice depending on version and/or platform.)  I then run this shell script, which invokes OO listening for requests from Teaming.

Dennis Foster

drfoster@novell.com

Thumbnail Image
Marcel Dekker Marcel Dekker
It looks like OpenOffice is not listening or refusing the connection. Check if it's listening by executing the command netstat -ltnup. That will give you all the ports and addresses in use. If it's not, try the script by Dennis or the directions from Brent in the wiki
Thumbnail Image
Matthew Harman Matthew Harman

Hi,

Have now gone back to Brents document and restarted openoffice with the correct command line:

/usr/bin/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless &

It is then bound to the 8100 port:

netstat -an|grep 8100

tcp         0           0    127.0.0.1:8100     0.0.0.0:*            LISTEN

When I then upload a .doc or .txt file I get the following in the catalina.out log file:

2009-03-30 10:33:56,918 ERROR [http-8080-1] [org.kablink.teaming.module.folder.impl.DefaultFolderCoreProcessor] - org.kablink.teaming.docconverter.DocConverterException: com.sun.star.task.ErrorCodeIOException:

When I upload a txt file I get the attached in the catalina.out log file.

None of these file types are producing a preview of the file?

Any more ideas?

Thanks

Matthew

 

Attachments
  File Name Version Status Date Size Modified by Actions Edit
catalina_txt_file_output.txt V1.0
Mar 30, 2009  10:40 AM 23KB Matthew Harman  
Thumbnail Image
Matthew Harman Matthew Harman

After reseting the forms and re-indexing the previews are now working.

 

We can see all file types except pdf's.

 

Any ideas on how to get the pdfs to work?

Thanks

 

Matthew

Thumbnail Image
Marcel Dekker Marcel Dekker
PDF's aren't working on the opensource version. We are looking for a solutions for this.
Thumbnail Image
Andrew Borowski Andrew Borowski

Powerpoint files appear not to work also.  I'm going to check out different versions though and if its a MS Office to Open Office thing....

Skip Footer Toolbar