From: anituarun <do-...@jb...> - 2005-12-12 20:07:03
|
I am using the wiki portlet from http://www.portletswap.com. I am using JBoss Portal v 2.0.1RC1 with MySQL database. I have 2 questions: 1. When I tried adding an attachment, I get the following error: 11:35:03,041 INFO [[/wiki]] serverFileName : C:\DOCUME~1\abc\LOCALS~1\Temp\/file_up-portlet.tmp filename: C:\Documents and Settings\abc\My Documents\3_eeApp.pdf 11:35:03,041 INFO [STDOUT] Cannot read attachment.properties for attachement: /tmp/wiki/Page2-att/C:\Documents and Settings\abc\My Documents\3_eeApp.pdf-dir/attach java.io.FileNotFoundException: \tmp\wiki\Page2-att\C:\Documents and Settings\abc\My Documents\3_eeApp.pdf-dir\attachment.properties (The filename, directory name, or volume label syntax is incorrect) 11:35:03,041 INFO [STDOUT] java.io.FileNotFoundException: \tmp\wiki\Page2-att\C:\Documents and Settings\abc\My Documents\3_eeApp.pdf-dir\1.pdf (The filename, directory name, or volume label syntax is incorrect) 11:35:03,041 ERROR [[/wiki]] Exception: null java.lang.NullPointerException at org.jboss.wiki.FileDataSource.addAtachement(FileDataSource.java:518) at org.jboss.wiki.WikiPage.addAttachement(WikiPage.java:382) at org.jboss.wiki.WikiPortlet.processAction(WikiPortlet.java:107) at org.jboss.portlet.JBossPortlet.processAction(JBossPortlet.java:342) at org.jboss.portal.portlet.invocation.DispatcherInterceptor.invokeAction(DispatcherInterceptor.java:110) at org.jboss.portal.portlet.invocation.DispatcherInterceptor.invoke(DispatcherInterceptor.java:191) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.portlet.invocation.PreferencesInterceptor.invoke(PreferencesInterceptor.java:93) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:94) at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:49) at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:58) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.core.invocation.AccessControlInterceptor.invoke(AccessControlInterceptor.java:125) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.server.invocation.component.CacheInterceptor.invoke(CacheInterceptor.java:74) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:238) at org.jboss.portal.server.Component.invoke(Component.java:130) at org.jboss.portal.server.invocation.portal.TargetInterceptor.invokeWindow(TargetInterceptor.java:167) at org.jboss.portal.server.invocation.portal.TargetInterceptor.invoke(TargetInterceptor.java:67) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.core.invocation.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:117) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.core.invocation.UserContextInterceptor.invoke(UserContextInterceptor.java:92) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:238) at org.jboss.portal.server.PortalServer.invoke(PortalServer.java:186) at org.jboss.portal.server.servlet.AbstractMainServlet.invoke(AbstractMainServlet.java:78) at org.jboss.portal.server.servlet.AbstractMainServlet.doGet(AbstractMainServlet.java:71) at org.jboss.portal.server.servlet.AbstractMainServlet.doPost(AbstractMainServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:79) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) -------------------------------------------------------------------------------- 2. How do delete an added attachment? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912186#3912186 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912186 |