PDA

View Full Version : Unable to save file metadata.xmi



avyaktha
06-19-2007, 09:26 PM
Hi,
I am trying to publish my metadata to the server. I am using the RepositoryFilePublisher servlet and have configured a publish password.

But it still says unable to save metadata.xml to server check ur id , server, password. I am using OCI so using joe and password

wseyler
06-21-2007, 01:26 PM
The Metadata editor publishes to the platform using the publish architecture. In order to publish anything to the platform you need to configure the publish password (a separate password from the users). This is done in pentaho-solutions/system/publisher_config.xml. Simple provide a password for the <publisher-password> node.

To publish from the Metdata Editor you need the following (examples provided)

1. Server url (http://localhost:8080/pentaho)
2. Userid (Joe)
3. User Password (password)
4. Server Password (whatever you put in the <publisher-password> node.
5. Solution (samples) - This is the name of the solution the metadata will apply to. Samples is the only solution provided in the PCI

Let me know if you have any more problems.

Bill

karthikeyan
04-08-2009, 04:12 AM
am getting the same error while trying to publish metadata into the server.

says unable to save file (metadata.xmi) to server. Correct any server, id or password errors and try again.

Details given.

publish location: samples
Web Publish URL: http://localhost:8080/pentaho/RepositoryFilePublisher
Publish Password: password ( as provided in biserver-ce\pentaho-solutions\system\publisher_config.xml )
Server Userid: joe ( tried both joe and admin )
Server Password: password


Pls. help how to publish metadata to BI Server.

Many Thanks,

Regards,
Karthik

am getting the below error while trying to publish.

java.lang.NullPointerException
at java.io.FileOutputStream.write(Unknown Source)
at org.pentaho.platform.repository.solution.dbbased.DbBasedSolutionRepository.publishIcon(DbBasedSolutionRepository.java:733)
at org.pentaho.platform.repository.solution.dbbased.DbBasedSolutionRepository.addIndexToRepository(DbBasedSolutionRepository.java:521)
at org.pentaho.platform.repository.solution.dbbased.DbBasedSolutionRepository.processDir(DbBasedSolutionRepository.java:322)
at org.pentaho.platform.repository.solution.dbbased.DbBasedSolutionRepository.loadSolutionPath(DbBasedSolutionRepository.java:233)
at org.pentaho.platform.repository.solution.dbbased.DbBasedSolutionRepository.getCachedSolutionDocument(DbBasedSolutionRepository.java:279)
at org.pentaho.platform.repository.solution.dbbased.DbBasedSolutionRepository.getSolutions(DbBasedSolutionRepository.java:748)
at org.pentaho.platform.repository.solution.SolutionRepositoryBase.getSolutions(SolutionRepositoryBase.java:517)
at org.pentaho.platform.engine.services.metadata.MetadataPublisher.loadAllMetadata(MetadataPublisher.java:102)
at org.pentaho.platform.engine.services.metadata.MetadataPublisher.publish(MetadataPublisher.java:76)
at org.pentaho.platform.engine.core.system.BasePublisher.publish(BasePublisher.java:36)
at org.pentaho.platform.engine.core.system.PentahoSystem.publish(PentahoSystem.java:796)
at org.apache.jsp.jsp.Publish_jsp._jspService(Publish_jsp.java:88)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.pentaho.platform.web.http.security.SecurityStartupFilter.doFilter(SecurityStartupFilter.java:85)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:169)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:134)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.pentaho.platform.web.http.filters.ProxyTrustingFilter.doFilter(ProxyTrustingFilter.java:192)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.pentaho.platform.web.http.filters.SystemStatusFilter.doFilter(SystemStatusFilter.java:60)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:113)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)

suryaig
12-17-2009, 04:17 AM
Hi,

I've faced same message when i tried to publish. But, I did it successfully just by matching public location with it's case sensitiveness. I don't know whether it helps or not.

regards
Surya