|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Help for first time user, first time installationHi all,
It appears that blojsom is a great tool to look into - so I am giving it a try. After following all the installations steps, I get a 404 when looking for "http://[hostname]/blojsom/blog/default/". Any clues appreciated XP SP2, Jetty6, H2 1.0.74 (2008-06-21) db server mode. STEP 1) H2 db initialized from: blojsom-full-initial-data-h2.sql STEP 2) Blojsom.xml configuration file: <!-- Initial database creation bean --> <bean id="dbloader" class="org.blojsom.util.database.DatabaseLoader" init-method="init"> <property name="sessionFactory"> <ref bean="hibernateSessionFactory"/> </property> <property name="dbScript" value="/WEB-INF/classes/blojsom-full-initial-data-h2.sql"/> <property name="upgrading" value="false"/> <property name="servletConfig"> <ref bean="servletConfigFactoryBean"/> </property> <property name="detectBlojsomSQL"> <value>select * from blog;</value> </property> </bean> <!-- END: Helper beans --> STEP 3: blojsom-helper-beans-include.tml: <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <property name="driverClassName" value="org.h2.Driver"/> <!--<property name="url" value="jdbc:mysql://localhost:3306/blojsom?autoReconnect=true&useUnicode=true&characterEncoding=utf-8"/>--> <property name="url" value="jdbc:h2:tcp://localhost/C:/projects/blojsom/WEB-INF/db/dlocks"/> <property name="username" value="blojsom"/> <property name="password" value="blojsom"/> </bean> ... <prop key="hibernate.dialect">org.hibernate.dialect.H2Dialect</prop> ... STEP 4) jetty context (../contexts/blojsom.xml): <Configure class="org.mortbay.jetty.webapp.WebAppContext"> <Set name="contextPath">/</Set> <!--<Set name="war"><SystemProperty name="jetty.home" default="../../"/>/projects/delaneylocks/web</Set>--> <Set name="war">c:/projects/blojsom</Set> <Set name="extractWAR">false</Set> <Set name="copyWebDir">false</Set> <Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/etc/webdefault.xml</Set> <!--<Set name="overrideDescriptor"><SystemProperty name="jetty.home" default="."/>/contexts/test.d/override-web.xml</Set>--> <Set name="virtualHosts"> <Array type="String"> <Item>bytenotes.com</Item> </Array> </Set> ... STEP 5) Check console output: C:\opt\jetty-6.1.11>startj C:\opt\jetty-6.1.11>java -noverify -javaagent:c:/projects/javarebel.jar -DSTOP.PORT=8079 -DSTOP.KEY=aha -jar start.jar etc/jetty.xml ########################################################## ZeroTurnaround JavaRebel 1.1.2 (c) Copyright Webmedia, Ltd, 2007. All rights reserved. This product is licensed to Florin Gheorghies (Sharper Group LLC) ########################################################## 2008-07-24 10:16:26.438::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2008-07-24 10:16:27.709::INFO: jetty-6.1.11 2008-07-24 10:16:27.799::INFO: Deploy C:\opt\jetty-6.1.11\contexts\javadoc.xml -> org.mortbay.jetty.handler.ContextHandler@2bd3a{/javadoc,f ile:/C:/opt/jetty-6.1.11/javadoc/} 2008-07-24 10:16:27.879::INFO: Deploy C:\opt\jetty-6.1.11\contexts\blojsom.xml -> org.mortbay.jetty.webapp.WebAppContext@2c35e{/,c:/project s/blojsom} 2008-07-24 10:16:27.899::INFO: Deploy C:\opt\jetty-6.1.11\contexts\delaneylocks.xml -> org.mortbay.jetty.webapp.WebAppContext@701a27{/,c:/p rojects/delaneylocks/web} Jul 24 10:16:27 DEBUG [main] filter.PageFilter - Initialized page filter (Root blog compatability: false) Jul 24 10:16:27 DEBUG [main] filter.FeedFilter - Initialized feed filter using default feed type: rss2 Jul 24 10:16:30 DEBUG [main] resources.ResourceBundleResourceManager - Loaded resource bundle: org.blojsom.plugin.admin.resources.messages Jul 24 10:16:30 DEBUG [main] resources.ResourceBundleResourceManager - Initialized resource bundle resource manager Jul 24 10:16:30 DEBUG [main] event.SimpleEventBroadcaster - Initialized simple event broadcaster Jul 24 10:16:30 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.fetcher.database.DatabaseFetcher with process all events filter Jul 24 10:16:30 DEBUG [main] database.DatabaseFetcher - Initialized database fetcher Jul 24 10:16:30 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.plugin.moderation.IPAddressModerationPlugin wi th process all events filter Jul 24 10:16:30 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.plugin.language.LanguageSelectionPlugin with p rocess all events filter Jul 24 10:16:30 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.plugin.moderation.LinkSpamModerationPlugin wit h process all events filter Jul 24 10:16:30 ERROR [main] markdown.MarkdownPlugin - No Markdown execution string provided. Use initialization parameter: plugin-markdown- execution Jul 24 10:16:30 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.plugin.moderation.OpenProxyModerationPlugin wi th process all events filter Jul 24 10:16:30 DEBUG [Thread-16] moblog.MoblogPlugin - Moblog plugin waking up and looking for new messages Jul 24 10:16:30 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.plugin.common.RSSEnclosurePlugin with process all events filter Jul 24 10:16:30 DEBUG [main] common.RSSEnclosurePlugin - Initialized RSS enclosures plugin Jul 24 10:16:31 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.plugin.moderation.SpamPhraseModerationPlugin w ith process all events filter Jul 24 10:16:31 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.plugin.technorati.TechnoratiTagsPlugin with pr ocess all events filter Jul 24 10:16:31 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.plugin.twitter.TwitterNotificationPlugin with process all events filter Jul 24 10:16:31 DEBUG [main] twitter.TwitterNotificationPlugin - Initialized Twitter notification plugin Jul 24 10:16:31 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.plugin.weblogsping.WeblogsPingPlugin with filt er: org.blojsom.plugin.weblogsping.WeblogsPingPlugin$1 Jul 24 10:16:31 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.plugin.filter.XSSFilterPlugin with process all events filter Jul 24 10:16:31 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.plugin.widget.admin.WidgetAdministrationPlugin with filter: org.blojsom.plugin.widget.admin.WidgetAdministrationPlugin$1 Jul 24 10:16:31 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.plugin.widget.ip.IPAddressWidget with filter: org.blojsom.plugin.widget.ip.IPAddressWidget$1 Jul 24 10:16:31 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.plugin.comment.CommentPlugin with process all events filter Jul 24 10:16:31 DEBUG [Thread-17] admin.WidgetAdministrationPlugin - Registered widget: ip-widgetwith display name: Display Request IP Addre ss Jul 24 10:16:31 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.plugin.trackback.TrackbackPlugin with process all events filter Jul 24 10:16:31 DEBUG [main] event.SimpleEventBroadcaster - Added event listener: org.blojsom.plugin.pingback.PingbackPlugin with process al l events filter Jul 24 10:16:31 DEBUG [main] pingback.PingbackPlugin - Initialized pingback plugin Jul 24 10:16:31 DEBUG [main] admin.FileUploadPlugin - Using temporary directory: /tmp Jul 24 10:16:31 DEBUG [main] admin.FileUploadPlugin - Using maximum upload size: 25000000 Jul 24 10:16:31 DEBUG [main] admin.FileUploadPlugin - Using maximum memory size: 50000 Jul 24 10:16:31 DEBUG [main] admin.FileUploadPlugin - Using accepted file types: image/jpeg, image/gif, image/png, video/x-msvideo, video/x- ms-asf, , audio/x-mpegurl, audio/x-midi, video/quicktime, audio/mpeg, audio/x-mpeg, audio/wav, video/mpeg, , application/vnd.rn-realmedia Jul 24 10:16:31 DEBUG [Thread-16] moblog.MoblogPlugin - Moblog plugin off to take a nap Jul 24 10:16:31 DEBUG [main] admin.FileUploadPlugin - Using resources directory: /resources/ Jul 24 10:16:31 DEBUG [main] admin.FileUploadPlugin - Using invalid file extensions: .jsp, .jspf, .jspi, .jspx, .php, .cgi Jul 24 10:16:31 INFO [main] database.DatabaseLoader - About to create blojsom database Jul 24 10:16:31 INFO [main] database.DatabaseLoader - blojsom database already created Jul 24 10:16:31 DEBUG [main] servlet.BlojsomServlet - blojsom: All Your Blog Are Belong To Us Jul 24 10:16:32 DEBUG [main] event.SimpleEventBroadcaster - Using shared listeners map Jul 24 10:16:32 DEBUG [main] event.SimpleEventBroadcaster - Using shared listener to handler map Jul 24 10:16:32 DEBUG [main] event.SimpleEventBroadcaster - Initialized simple event broadcaster Jul 24 10:16:32 DEBUG [main] database.DatabaseFetcher - Initialized database fetcher Jul 24 10:16:32 DEBUG [main] resources.ResourceBundleResourceManager - Loaded resource bundle: org.blojsom.plugin.admin.resources.messages Jul 24 10:16:32 DEBUG [main] resources.ResourceBundleResourceManager - Initialized resource bundle resource manager Jul 24 10:16:32 DEBUG [main] xmlrpc.BlojsomXMLRPCServlet - blojsom XML-RPC: All Your Blog Are Belong To Us Jul 24 10:16:32 DEBUG [main] event.SimpleEventBroadcaster - Using shared listeners map Jul 24 10:16:32 DEBUG [main] event.SimpleEventBroadcaster - Using shared listener to handler map Jul 24 10:16:32 DEBUG [main] event.SimpleEventBroadcaster - Initialized simple event broadcaster Jul 24 10:16:32 DEBUG [main] database.DatabaseFetcher - Initialized database fetcher Jul 24 10:16:32 DEBUG [main] comment.CommentAPIServlet - blojsom Comment API: All Your Blog Are Belong To Us [Click] ... some CLICK framework messages related to a second webapp... *** Main database opened. 2008-07-24 10:16:36.490:/:INFO: QuartzInitializer: Quartz Initializer Servlet loaded, initializing Scheduler... INFO - SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl INFO - QuartzScheduler - Quartz Scheduler v.1.6.1-RC1 created. INFO - JobStoreTX - Using thread monitor-based data access locking (synchronization). INFO - JobStoreTX - Removed 0 Volatile Trigger(s). INFO - JobStoreTX - Removed 0 Volatile Job(s). INFO - JobStoreTX - JobStoreTX initialized. INFO - StdSchedulerFactory - Quartz scheduler 'DelaneyScheduler' initialized from the specified file : 'quartz.properties' from the class resource path. INFO - StdSchedulerFactory - Quartz scheduler version: 1.6.1-RC1 INFO - JobStoreTX - Freed 0 triggers from 'acquired' / 'blocked' state. INFO - JobStoreTX - Recovering 0 jobs that were in-progress at the time of the last shut-down. INFO - JobStoreTX - Recovery complete. INFO - JobStoreTX - Removed 0 'complete' triggers. INFO - JobStoreTX - Removed 0 stale fired job entries. INFO - QuartzScheduler - Scheduler DelaneyScheduler_$_NON_CLUSTERED started. 2008-07-24 10:16:36.035:/:INFO: QuartzInitializer: Scheduler has been started... 2008-07-24 10:16:36.035:/:INFO: QuartzInitializer: Storing the Quartz Scheduler Factory in the servlet context at key: org.quartz.impl.StdS chedulerFactory.KEY 2008-07-24 10:16:36.065::INFO: Extract jar:file:/C:/opt/jetty-6.1.11/webapps/cometd.war!/ to C:\DOCUME~1\florin\LOCALS~1\Temp\Jetty_0_0_0_0 _80_cometd.war__cometd__mgg3qr\webapp 2008-07-24 10:16:37.645::WARN: Unknown realm: Test JAAS Realm 2008-07-24 10:16:37.716::INFO: Opened C:\opt\jetty-6.1.11\logs\2008_07_24.request.log 2008-07-24 10:16:37.726::INFO: Started SocketConnector@0.0.0.0:80 Jul 24 10:28:31 DEBUG [Thread-16] moblog.MoblogPlugin - Moblog plugin waking up and looking for new messages Jul 24 10:28:31 DEBUG [Thread-16] moblog.MoblogPlugin - Moblog plugin off to take a nap -------------------------------------------------------------------------------------------- So, it appears that installation goes all right. The default /index.html is displayed correctly suggesting to redirect to ../blojsom/blog/default/ etc. Any clues? Thanks for the help. Regards, Florin Atlanta GA |
|
|
Re: Help for first time user, first time installationIt was not mentioned that I did update the sql script for port (8080 -> 80) and hostname (localhost -> bytenotes.com).
Updated ../drivers/etc/host file: 127.0.0.1 bytenotes.com Placed h2.jar file into jetty6/lib/ext directory. |
|
|
Re: Help for first time user, first time installationHave you tried with:
<Set name="extractWAR">true</Set> I haven't tried setting up blojsom on Jetty, but did these installation instructions help at all? http://www.xclu.com/blojsom/blog/default/Java/Blojsom-Jetty-Postgres Or http://wiki.claudius.com.br/wiki/InstalacaoBlojsom3ComJetty6DerbyEmbedded On 7/24/08 10:58 AM, "florin.g" <florin@...> wrote: > > It was not mentioned that I did update the sql script for port (8080 -> 80) > and hostname (localhost -> bytenotes.com). > > Updated ../drivers/etc/host file: 127.0.0.1 bytenotes.com > > Placed h2.jar file into jetty6/lib/ext directory. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Blojsom-users mailing list Blojsom-users@... https://lists.sourceforge.net/lists/listinfo/blojsom-users |
|
|
Re: Help for first time user, first time installationI did unpack the war file per instructions. Jetty does recognize the webapp, the index.html is displayed.
The instructions recommended confirm that the steps taken where ok. I suspect it's a path issue yet cannot put my finger on it. Florin
|
| Free embeddable forum powered by Nabble | Forum Help |