roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edd Grant <...@eddgrant.com>
Subject Re: Error deploying Roller on a plesk page
Date Mon, 28 Feb 2011 13:41:55 GMT
 Hi Marcos,

 Afraid I've never used plesk - I must say I thought it was purely a 
 control panel typically used in virtually hosted environments. Do you 
 have ssh/ shell access to the underlying OS? If so you should just be 
 able to create and then chmod the appropriate directory. Is roller 
 running as the 'tomcat' user? If so it might be as simple as creating 
 the missing search directory.

 Cheers,

 Edd

 On Mon, 28 Feb 2011 14:36:58 +0100, Marcos Soler <msolerm@gmail.com> 
 wrote:
> Hi Edd,
>
> Thanks for your reply. At this moment
> It seems those errors dont allow roller to be recognisable as
> correctly depoyed by plesk/tomcat. Normally I can pass with the mail
> error but the other two are new to me and seem fatal.
> Maybe addressing the last one...do you, or anyone have any experience
> deploying roller on a shared environment like plesk?
>
> El 28/02/2011, a las 13:03, Edd Grant <edd@eddgrant.com> escribió:
>
>>
>>
>> Hi Marcos,
>>
>> Looking at the logs snippets you provided I can see the
>> following 3 issues:
>>
>>    * The smtp server hostname you have specified:
>> smtp-smtp.gmail.com is not recognised as a valid hostname.
>>    * The
>> theme.xml that is being sought
>> 
>> (/usr/share/tomcat5/psa-webapps/applicationroller/applicationroller/themes/themesbackup/theme.xml)
>> doesn't seem to exist on the filesystem.
>>    * The search cache directory
>> specified (/usr/share/tomcat5/roller_data/search-index) doesn't 
>> appear
>> to be writable by the process which Roller is running as, this is
>> generating an IOExeception.
>>
>> I'm not immediately clear on whether these
>> exceptions should render Roller usable or not but it might be a good
>> idea to address them and then see see if you get an error free
>> initialisation on startup as this might give you a better idea of 
>> what's
>> going on.
>>
>> Hope that helps,
>>
>> Edd
>>
>> On Mon, 28 Feb 2011 12:55:36 +0100,
>> Marcos Soler wrote:
>>> I am attaching the roller.log with more
>> information about the problem. Seems
>>> that roller is not capable of
>> finding several other paths to the files or
>>> something similar.
>>>
>>>
>> Please, any clue?
>>>
>>>
>>> INFO 2011-02-28 12:07:28,137
>> DatabaseProvider:successMessage - SUCCESS: Got
>>> parameters. Using
>> configuration type JDBC_PROPERTIES
>>> INFO 2011-02-28 12:07:28,139
>> DatabaseProvider:successMessage - -- Using
>>> JDBC driver class:
>> com.mysql.jdbc.Driver
>>> INFO 2011-02-28 12:07:28,139
>> DatabaseProvider:successMessage - -- Using
>>> JDBC connection URL:
>> jdbc:mysql://localhost:3306/rollerdb
>>> INFO 2011-02-28 12:07:28,140
>> DatabaseProvider:successMessage - -- Using
>>> JDBC username: dpd
>>> INFO
>> 2011-02-28 12:07:28,140 DatabaseProvider:successMessage - -- Using
>>>
>> JDBC password: [hidden]
>>> INFO 2011-02-28 12:07:28,141
>> DatabaseProvider:successMessage - SUCCESS:
>>> loaded JDBC driver class
>> [com.mysql.jdbc.Driver]
>>> WARN 2011-02-28 12:07:28,243
>> WebloggerStartup:prepare - Failed to setup
>>> mail provider, continuing
>> anways.
>>> Reason: ERROR connecting to mail server
>>>
>> org.apache.roller.weblogger.business.startup.StartupException: ERROR
>>>
>> connecting to mail server
>>> at
>>>
>> 
>> org.apache.roller.weblogger.business.MailProvider.(MailProvider.java:99)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:179)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
>>>
>> at
>>>
>> 
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
>>>
>> at
>>>
>> 
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
>>>
>> at
>>>
>> 
>> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1173)
>>>
>> at
>>>
>> 
>> org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:369)
>>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
>>> at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>>> at
>>>
>> 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>>>
>> 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:172)
>>>
>> at
>>>
>> 
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
>>>
>> 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:875)
>>>
>> 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(Thread.java:595)
>>> --- ROOT CAUSE ---
>>>
>> javax.mail.MessagingException: Unknown SMTP host: 
>> smtp-smtp.gmail.com;
>>>
>> nested exception is:
>>> java.net.UnknownHostException:
>> smtp-smtp.gmail.com
>>> at
>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1704)
>>>
>> at
>>>
>> 
>> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:525)
>>>
>> at javax.mail.Service.connect(Service.java:291)
>>> at
>> javax.mail.Service.connect(Service.java:172)
>>> at
>>>
>> 
>> org.apache.roller.weblogger.business.MailProvider.getTransport(MailProvider.java:126)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.MailProvider.(MailProvider.java:96)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:179)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
>>>
>> at
>>>
>> 
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
>>>
>> at
>>>
>> 
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
>>>
>> at
>>>
>> 
>> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1173)
>>>
>> at
>>>
>> 
>> org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:369)
>>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
>>> at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>>> at
>>>
>> 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>>>
>> 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:172)
>>>
>> at
>>>
>> 
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
>>>
>> 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:875)
>>>
>> 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(Thread.java:595)
>>> Caused by:
>> java.net.UnknownHostException: smtp-smtp.gmail.com
>>> at
>> java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>>> at
>> java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>>> at
>> java.net.Socket.connect(Socket.java:520)
>>> at
>> java.net.Socket.connect(Socket.java:470)
>>> at
>> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:284)
>>>
>> at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:227)
>>>
>> at 
>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1672)
>>>
>> ... 28 more
>>> INFO 2011-02-28 12:07:28,538 WebloggerFactory:bootstrap -
>> Bootstrapping
>>> Roller Weblogger business tier
>>> INFO 2011-02-28
>> 12:07:28,539 WebloggerFactory:bootstrap - Weblogger
>>> Provider =
>> org.apache.roller.weblogger.business.GuiceWebloggerProvider
>>> INFO
>> 2011-02-28 12:07:28,541 DatabaseProvider:successMessage - SUCCESS: 
>> Got
>>>
>> parameters. Using configuration type JDBC_PROPERTIES
>>> INFO 2011-02-28
>> 12:07:28,542 DatabaseProvider:successMessage - -- Using
>>> JDBC driver
>> class: com.mysql.jdbc.Driver
>>> INFO 2011-02-28 12:07:28,543
>> DatabaseProvider:successMessage - -- Using
>>> JDBC connection URL:
>> jdbc:mysql://localhost:3306/rollerdb
>>> INFO 2011-02-28 12:07:28,543
>> DatabaseProvider:successMessage - -- Using
>>> JDBC username: uss
>>> INFO
>> 2011-02-28 12:07:28,544 DatabaseProvider:successMessage - -- Using
>>>
>> JDBC password: [hidden]
>>> INFO 2011-02-28 12:07:28,544
>> DatabaseProvider:successMessage - SUCCESS:
>>> loaded JDBC driver class
>> [com.mysql.jdbc.Driver]
>>> INFO 2011-02-28 12:07:28,551
>> JPAPersistenceStrategy: - openjpa.Log:
>>> commons
>>> INFO 2011-02-28
>> 12:07:28,834 IndexManagerImpl: - search enabled: true
>>> INFO 2011-02-28
>> 12:07:28,835 IndexManagerImpl: - index dir:
>>>
>> /usr/share/tomcat5/roller_data/search-index
>>> INFO 2011-02-28
>> 12:07:28,847 ReferrerQueueManagerImpl: -
>>> Instantiating Referrer Queue
>> Manager
>>> INFO 2011-02-28 12:07:28,848 ReferrerQueueManagerImpl: -
>> Asynchronous
>>> referrer processing = false
>>> INFO 2011-02-28
>> 12:07:28,849 ThreadManagerImpl: - Instantiating
>>> Thread Manager
>>> INFO
>> 2011-02-28 12:07:28,853 WebloggerFactory:bootstrap - Roller 
>> Weblogger
>>>
>> business tier successfully bootstrapped
>>> INFO 2011-02-28 12:07:28,853
>> WebloggerFactory:bootstrap - Version: 4.0.1
>>> INFO 2011-02-28
>> 12:07:28,854 WebloggerFactory:bootstrap - Revision:
>>> 729109
>>> INFO
>> 2011-02-28 12:07:28,854 WebloggerImpl:initialize - Initializing 
>> Roller
>>>
>> Weblogger business tier
>>> INFO 2011-02-28 12:07:29,749
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property site.name ... setting value to [Roller Site]
>>> INFO 2011-02-28
>> 12:07:29,749
>>> JPAPropertiesManagerImpl:initializeMissingProps - Found
>> uninitialized
>>> property site.shortName ... setting value to [Front
>> Page]
>>> INFO 2011-02-28 12:07:29,750
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property site.description ... setting value to [A default install of
>> the
>>> Roller Weblogger open source blog server]
>>> INFO 2011-02-28
>> 12:07:29,750
>>> JPAPropertiesManagerImpl:initializeMissingProps - Found
>> uninitialized
>>> property site.frontpage.weblog.handle ... setting value
>> to []
>>> INFO 2011-02-28 12:07:29,750
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property site.frontpage.weblog.aggregated ... setting value to 
>> [false]
>>>
>> INFO 2011-02-28 12:07:29,751
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property site.adminemail ... setting value to []
>>> INFO 2011-02-28
>> 12:07:29,751
>>> JPAPropertiesManagerImpl:initializeMissingProps - Found
>> uninitialized
>>> property site.absoluteurl ... setting value to []
>>> INFO
>> 2011-02-28 12:07:29,751
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property pings.suspendPingProcessing ... setting value to [false]
>>> INFO
>> 2011-02-28 12:07:29,752
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property site.debugMode ... setting value to [false]
>>> INFO 2011-02-28
>> 12:07:29,752
>>> JPAPropertiesManagerImpl:initializeMissingProps - Found
>> uninitialized
>>> property users.registration.enabled ... setting value to
>> [true]
>>> INFO 2011-02-28 12:07:29,752
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property user.account.activation.enabled ... setting value to 
>> [false]
>>>
>> INFO 2011-02-28 12:07:29,753
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property user.account.activation.mail.from ... setting value to []
>>>
>> INFO 2011-02-28 12:07:29,753
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property users.registration.url ... setting value to []
>>> INFO
>> 2011-02-28 12:07:29,753
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property users.editor.pages ... setting value to
>>>
>> [editor-text.jsp,editor-rte.jsp,editor-xinha.jsp]
>>> INFO 2011-02-28
>> 12:07:29,754
>>> JPAPropertiesManagerImpl:initializeMissingProps - Found
>> uninitialized
>>> property site.pages.maxEntries ... setting value to
>> [30]
>>> INFO 2011-02-28 12:07:29,754
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property site.newsfeeds.defaultEntries ... setting value to [30]
>>> INFO
>> 2011-02-28 12:07:29,754
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property site.newsfeeds.styledFeeds ... setting value to [true]
>>> INFO
>> 2011-02-28 12:07:29,755
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property users.comments.enabled ... setting value to [true]
>>> INFO
>> 2011-02-28 12:07:29,755
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property comments.ignoreSpam.enabled ... setting value to [false]
>>> INFO
>> 2011-02-28 12:07:29,755
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property users.trackbacks.enabled ... setting value to [true]
>>> INFO
>> 2011-02-28 12:07:29,756
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property trackbacks.ignoreSpam.enabled ... setting value to [true]
>>>
>> INFO 2011-02-28 12:07:29,756
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property users.comments.htmlenabled ... setting value to [true]
>>> INFO
>> 2011-02-28 12:07:29,756
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property users.comments.plugins ... setting value to []
>>> INFO
>> 2011-02-28 12:07:29,757
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property users.comments.emailnotify ... setting value to [false]
>>> INFO
>> 2011-02-28 12:07:29,757
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property users.moderation.required ... setting value to [false]
>>> INFO
>> 2011-02-28 12:07:29,757
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property site.trackbackVerification.enabled ... setting value to
>> [false]
>>> INFO 2011-02-28 12:07:29,758
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property site.linkbacks.enabled ... setting value to [false]
>>> INFO
>> 2011-02-28 12:07:29,758
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property uploads.enabled ... setting value to [true]
>>> INFO 2011-02-28
>> 12:07:29,758
>>> JPAPropertiesManagerImpl:initializeMissingProps - Found
>> uninitialized
>>> property uploads.types.allowed ... setting value to []
>>>
>> INFO 2011-02-28 12:07:29,759
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property uploads.types.forbid ... setting value to [exe]
>>> INFO
>> 2011-02-28 12:07:29,759
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property uploads.file.maxsize ... setting value to [1.00]
>>> INFO
>> 2011-02-28 12:07:29,759
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property uploads.dir.maxsize ... setting value to [4.00]
>>> INFO
>> 2011-02-28 12:07:29,760
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property users.themes.path ... setting value to [/themes]
>>> INFO
>> 2011-02-28 12:07:29,760
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property themes.customtheme.allowed ... setting value to [true]
>>> INFO
>> 2011-02-28 12:07:29,760
>>>
>> JPAPropertiesManagerImpl:initializeMissingProps - Found 
>> uninitialized
>>>
>> property spam.blacklist ... setting value to []
>>> ERROR 2011-02-28
>> 12:07:29,770 ThemeManagerImpl:loadAllThemesFromDisk -
>>> Problem reading
>> theme themesbackup
>>>
>> 
>> org.apache.roller.weblogger.business.themes.ThemeInitializationException:
>>>
>> Unable to parse theme descriptor for theme
>>>
>> 
>> /usr/share/tomcat5/psa-webapps/applicationroller/applicationroller//themes/themesbackup
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.themes.SharedThemeFromDir.loadThemeFromDisk(SharedThemeFromDir.java:200)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.themes.SharedThemeFromDir.(SharedThemeFromDir.java:81)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.themes.ThemeManagerImpl.loadAllThemesFromDisk(ThemeManagerImpl.java:323)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.themes.ThemeManagerImpl.initialize(ThemeManagerImpl.java:101)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.WebloggerImpl.initialize(WebloggerImpl.java:302)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:159)
>>>
>> at
>>>
>> 
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
>>>
>> at
>>>
>> 
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
>>>
>> at
>>>
>> 
>> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1173)
>>>
>> at
>>>
>> 
>> org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:369)
>>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
>>> at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>>> at
>>>
>> 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>>>
>> 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:172)
>>>
>> at
>>>
>> 
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
>>>
>> 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:875)
>>>
>> 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(Thread.java:595)
>>> --- ROOT CAUSE ---
>>>
>> java.io.FileNotFoundException:
>>>
>> 
>> /usr/share/tomcat5/psa-webapps/applicationroller/applicationroller/themes/themesbackup/theme.xml
>>>
>> (No such file or directory)
>>> at java.io.FileInputStream.open(Native
>> Method)
>>> at java.io.FileInputStream.(FileInputStream.java:106)
>>> at
>> java.io.FileInputStream.(FileInputStream.java:66)
>>> at
>>>
>> 
>> org.apache.roller.weblogger.business.themes.SharedThemeFromDir.loadThemeFromDisk(SharedThemeFromDir.java:197)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.themes.SharedThemeFromDir.(SharedThemeFromDir.java:81)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.themes.ThemeManagerImpl.loadAllThemesFromDisk(ThemeManagerImpl.java:323)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.themes.ThemeManagerImpl.initialize(ThemeManagerImpl.java:101)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.WebloggerImpl.initialize(WebloggerImpl.java:302)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:159)
>>>
>> at
>>>
>> 
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
>>>
>> at
>>>
>> 
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
>>>
>> at
>>>
>> 
>> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1173)
>>>
>> at
>>>
>> 
>> org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:369)
>>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
>>> at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>>> at
>>>
>> 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>>>
>> 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:172)
>>>
>> at
>>>
>> 
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
>>>
>> 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:875)
>>>
>> 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(Thread.java:595)
>>> INFO 2011-02-28 12:07:29,782
>> ThemeManagerImpl:initialize - Loaded 2 themes
>>> from disk.
>>> INFO
>> 2011-02-28 12:07:29,782 ThreadManagerImpl:initialize - Initializing
>>>
>> task: ScheduledEntriesTask
>>> INFO 2011-02-28 12:07:29,813
>> ThreadManagerImpl:initialize - Initializing
>>> task: ResetHitCountsTask
>>>
>> INFO 2011-02-28 12:07:29,821 ThreadManagerImpl:initialize -
>> Initializing
>>> task: TurnoverReferersTask
>>> INFO 2011-02-28 12:07:29,829
>> ThreadManagerImpl:initialize - Initializing
>>> task: PingQueueTask
>>>
>> ERROR 2011-02-28 12:07:29,840 IndexManagerImpl:initialize -
>>>
>> java.io.IOException: No such file or directory
>>> ERROR 2011-02-28
>> 12:07:29,847 IndexManagerImpl:getFSDirectory - Problem
>>> accessing index
>> directory
>>> java.io.IOException: Cannot create directory:
>>>
>> /usr/share/tomcat5/roller_data/search-index
>>> at
>> org.apache.lucene.store.FSDirectory.create(FSDirectory.java:138)
>>> at
>> org.apache.lucene.store.FSDirectory.(FSDirectory.java:128)
>>> at
>>>
>> 
>> org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:102)
>>>
>> at
>> 
>> org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:83)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.search.IndexManagerImpl.getFSDirectory(IndexManagerImpl.java:295)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.search.IndexManagerImpl.initialize(IndexManagerImpl.java:164)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.WebloggerImpl.initialize(WebloggerImpl.java:304)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:159)
>>>
>> at
>>>
>> 
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
>>>
>> at
>>>
>> 
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
>>>
>> at
>>>
>> 
>> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1173)
>>>
>> at
>>>
>> 
>> org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:369)
>>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
>>> at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>>> at
>>>
>> 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>>>
>> 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:172)
>>>
>> at
>>>
>> 
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
>>>
>> 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:875)
>>>
>> 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(Thread.java:595)
>>> ERROR 2011-02-28
>> 12:07:29,861 StandardContext:listenerStart - Exception
>>> sending context
>> initialized event to listener instance of class
>>>
>> org.apache.roller.weblogger.ui.core.RollerContext
>>>
>> java.lang.NullPointerException
>>> at
>> org.apache.lucene.index.IndexWriter.(IndexWriter.java:222)
>>> at
>> org.apache.lucene.index.IndexWriter.(IndexWriter.java:213)
>>> at
>>>
>> 
>> org.apache.roller.weblogger.business.search.IndexManagerImpl.createIndex(IndexManagerImpl.java:307)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.search.IndexManagerImpl.initialize(IndexManagerImpl.java:164)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.WebloggerImpl.initialize(WebloggerImpl.java:304)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:159)
>>>
>> at
>>>
>> 
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
>>>
>> at
>>>
>> 
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
>>>
>> at
>>>
>> 
>> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1173)
>>>
>> at
>>>
>> 
>> org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:369)
>>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
>>> at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>>> at
>>>
>> 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>>>
>> 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:172)
>>>
>> at
>>>
>> 
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
>>>
>> 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:875)
>>>
>> 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(Thread.java:595)
>>> INFO 2011-02-28 12:07:29,926
>> HitCountQueue:shutdown - stopping worker
>>> HitCountQueueProcessor
>>> INFO
>> 2011-02-28 12:07:29,927 ContinuousWorkerThread:run -
>>>
>> HitCountQueueProcessor Started.
>>> INFO 2011-02-28 12:07:29,928
>> ContinuousWorkerThread:run -
>>> HitCountQueueProcessor INTERRUPT: sleep
>> interrupted
>>> INFO 2011-02-28 12:07:29,930 CacheManager: - Cache
>> Manager
>>> Initialized.
>>> INFO 2011-02-28 12:07:29,930 CacheManager: -
>> Cache Factory =
>>>
>> org.apache.roller.weblogger.util.cache.ExpiringLRUCacheFactoryImpl
>>>
>>>
>> ---------- Forwarded message ----------
>>> From: Marcos Soler
>>> Date:
>> 2011/2/28
>>> Subject: Error deploying Roller on a plesk page
>>> To:
>> user@roller.apache.org
>>>
>>>
>>> Hi,
>>>
>>> I am trying to deploy a roller
>> installation (deployed succesfully first
>>> locally in tomcat and then in
>> websphere) in a tomcat plesk controlled
>>> server.
>>>
>>> At first I was
>> having some issues with roller not finding
>>> roller-startup.log. After
>> setting it to the complete absolute path this
>>> error has disappeared.
>>>
>>
>>> But at the moment I am getting this:
>>>
>>> eb 28, 2011 11:56:36 AM
>> org.apache.catalina.core.StandardContext start
>>> SEVERE: Error
>> listenerStart
>>> Feb 28, 2011 11:56:36 AM
>> org.apache.catalina.core.StandardContext start
>>> SEVERE: Context
>> [/XXXXX] startup failed due to previous errors
>>> Exception in thread
>> "HitCountQueueProcessor"
>>>
>> org.apache.openjpa.persistence.PersistenceException: null
>>> at
>>>
>> 
>> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
>>>
>> at
>>>
>> 
>> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:142)
>>>
>> at
>>>
>> 
>> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:190)
>>>
>> at
>>>
>> 
>> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:143)
>>>
>> at
>>>
>> 
>> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:55)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getThreadLocalEntityManager(JPAPersistenceStrategy.java:252)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getEntityManager(JPAPersistenceStrategy.java:239)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.release(JPAPersistenceStrategy.java:148)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.jpa.JPAWebloggerImpl.release(JPAWebloggerImpl.java:106)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.runnable.WorkerThread.run(WorkerThread.java:78)
>>>
>> at
>>>
>> 
>> org.apache.roller.weblogger.business.runnable.ContinuousWorkerThread.run(ContinuousWorkerThread.java:76)
>>>
>> Caused by: java.lang.NullPointerException
>>> at
>>>
>> 
>> org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:425)
>>>
>> at
>>>
>> 
>> org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:375)
>>>
>> at
>> 
>> org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:102)
>>>
>> at
>> 
>> org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:79)
>>>
>> at
>>>
>> 
>> org.apache.openjpa.conf.OpenJPAConfigurationImpl.newBrokerInstance(OpenJPAConfigurationImpl.java:557)
>>>
>> at
>>>
>> 
>> org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.newBrokerInstance(JDBCConfigurationImpl.java:693)
>>>
>> at
>>>
>> 
>> org.apache.openjpa.kernel.AbstractBrokerFactory.newBrokerImpl(AbstractBrokerFactory.java:416)
>>>
>> at
>>>
>> 
>> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:121)
>>>
>> at
>>>
>> 
>> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:174)
>>>
>> ... 10 more
>>> Feb 28, 2011 11:56:37 AM
>> org.apache.catalina.core.ApplicationContext log
>>>
>>> Please, any clue
>> about what does it mean or its cause?
>>>
>>> Thanks.
>>>
>>> Best
>> regards.
>>
>> --
>> Web: http://www.eddgrant.com
>> Email:
>> edd@eddgrant.com
>> Mobile: +44 (0) 7861 394 543

-- 
 Web: http://www.eddgrant.com
 Email: edd@eddgrant.com
 Mobile: +44 (0) 7861 394 543

Mime
View raw message