|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Upgrading from Tiger blojsom to 3.2Hi,
finally I will have to retire an old Mac OS X 10.4 server that only is used for blojsom. I have managed to get 3.2 with MySQL working on a 10.6 server. I'm still having problem to get the jk_module thing working, so presently I use the proxy module to be able to run on port 80. Will dive into that later. Another problem was the transfer of the actual blogs. The script recommended in http://wiki.blojsom.com/wiki/display/blojsom3/Upgrading+from+blojsom+2+to+blojsom+3 doesn't seem to work with Apple's version, so I wrote a shell script that gets the content of the .html and .meta files into an SQL import file. I spend some time trying to use one of the Apple provided templates that we had customized, but it doesn't look like it has the same format in 3.2. My user (yes mainly one user with tons of stuff) will miss the easy way that that template handled creation of new blog entries. First of all it was very convenient not to be forced to log into a special admin environment. Secondly it took care of new lines by just using the return key - no need for any coding whatsoever. But the main problem is that the automatic link creation is gone -and there are thousands of URLs that used to show up as links. I could probably write a script to take care of the old links but I know there will be problems to get the user to accept a ore clumsy way to publish blogs. Has anybody else gone this path and has some tips and tricks to share? Unfortunately my java skills are very limited.. Tycho _______________________________________________ Tycho Sjögren Certified Trainer | ACSA | ACTC | ACSP | ACHDS | ACMT | ACP-FCP7 | Apoio AB • Gamla Riksvägen 51 • 428 32 Kållered • Sweden +46 31 795 43 51 • +46 706 75 10 22 • http://appletraining.se ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Blojsom-users mailing list Blojsom-users@... https://lists.sourceforge.net/lists/listinfo/blojsom-users |
|
|
Re: Upgrading from Tiger blojsom to 3.2You might be able to use an existing plugin to convert existing links into clickable links. Would the following work? http://wiki.blojsom.com/wiki/display/blojsom3/Hyperlink+URL+Plugin On 11/4/09 8:12 PM, "Tycho Sjögren" <tycho@...> wrote: Hi, ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Blojsom-users mailing list Blojsom-users@... https://lists.sourceforge.net/lists/listinfo/blojsom-users |
|
|
Re: Upgrading from Tiger blojsom to 3.2-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 David Czarnecki replied with one option. Please let us know if it works. On 11/4/09 8:12 PM, Tycho Sjögren wrote: > Hi, > finally I will have to retire an old Mac OS X 10.4 server that only is > used for blojsom. > I have managed to get 3.2 with MySQL working on a 10.6 server. I'm still > having problem to get the jk_module thing working, so presently I use > the proxy module to be able to run on port 80. Will dive into that later. mod_jk is deprecated in Apache 2.2, now the default Apache builds on Snow Leopard, in favor of mod_proxy_ajp. % /usr/sbin/httpd -V Server version: Apache/2.2.11 (Unix) ... Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/usr" -D SUEXEC_BIN="/usr/bin/suexec" -D DEFAULT_PIDLOG="/private/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/private/var/run/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="/private/etc/apache2/mime.types" -D SERVER_CONFIG_FILE="/private/etc/apache2/httpd.conf" Looking at the configuration file in /etc/apache2, we see this is available: % less /etc/apache2/httpd.conf ... LoadModule proxy_module libexec/apache2/mod_proxy.so LoadModule proxy_connect_module libexec/apache2/mod_proxy_connect.so LoadModule proxy_ftp_module libexec/apache2/mod_proxy_ftp.so LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so LoadModule proxy_ajp_module libexec/apache2/mod_proxy_ajp.so LoadModule proxy_balancer_module libexec/apache2/mod_proxy_balancer.so ... I would use this option since it is available. A configuration might look like: ProxyPass / ajp://localhost:8009/ ProxyPassReverse / ajp://localhost:8009/ > > Another problem was the transfer of the actual blogs. The script > recommended > in http://wiki.blojsom.com/wiki/display/blojsom3/Upgrading+from+blojsom+2+to+blojsom+3 doesn't > seem to work with Apple's version, so I wrote a shell script that gets > the content of the .html and .meta files into an SQL import file. > > I spend some time trying to use one of the Apple provided templates that > we had customized, but it doesn't look like it has the same format in 3.2. Did Apple load the JSP Dispatcher in the 2.32 codeline? Blojsom 3 deprecates the JSP view for Velocity (http://velocity.apache.org/). The JSPDispatcher is still available however. http://wiki.blojsom.com/wiki/display/blojsom3/JSP+Dispatcher I cannot speak to the compatibility of 2.32 JSP views with features of the 3.0 codeline. It's something I should look at though in the maven-spike. Hope this helps in getting started. > > My user (yes mainly one user with tons of stuff) will miss the easy way > that that template handled creation of new blog entries. > First of all it was very convenient not to be forced to log into a > special admin environment. > Secondly it took care of new lines by just using the return key - no > need for any coding whatsoever. > But the main problem is that the automatic link creation is gone -and > there are thousands of URLs that used to show up as links. > I could probably write a script to take care of the old links but I know > there will be problems to get the user to accept a ore clumsy way to > publish blogs. > > Has anybody else gone this path and has some tips and tricks to share? > Unfortunately my java skills are very limited.. > > Tycho -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Anyone wanna play D&D for the next quadrillion years? Comment: -- Gary Gygax to the Vice Presidential Action Rangers Comment: Get my public key at http://bit.ly/3H7qS6 iEYEARECAAYFAkrzfUIACgkQ5ypOrCMXsT1ScwCfRI91B1CBgX30wOaozt82cx9/ zd8An3OIjcrFZclpbu1MYJyWsr7gd+XI =lJX2 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Blojsom-users mailing list Blojsom-users@... https://lists.sourceforge.net/lists/listinfo/blojsom-users |
|
|
Re: Upgrading from Tiger blojsom to 3.2Hi,
it looks like the plugin does exactly what I want it to do. But I could not get it working. I created a file in /Library/Tomcat/webapps/blojsom/WEB-INF/ called plugin.properties containing the following line: href-hyperlinks=org.blojsom.plugin.hyperlink.HyperlinkURLPlugin I also created a subfolder in WEB-INF called the blogid of the blog that I'm testing at. In that folder i put another plugin.properties file containing one line as well: blojsom-plugin-chain=href-hyperlinks I did also check that the entry <bean id="href-hyperlinks" class="org.blojsom.plugin.hyperlink.HyperlinkURLPlugin" init-method="init" destroy-method="destroy"/> was in WEB-INF/classes/blojsom-plugins.xml Am I missing something? Another plugin that I will use when I get this working is the line breaks plugin. I saw that Apple had made one of their own - any idea what's changed? Tycho _______________________________________________ Tycho Sjögren Certified Trainer | ACSA | ACTC | ACSP | ACHDS | ACMT | ACP-FCP7 | Apoio AB • Gamla Riksvägen 51 • 428 32 Kållered • Sweden +46 31 795 43 51 • +46 706 75 10 22 • http://appletraining.se 6 nov 2009 kl. 01.40 skrev David Czarnecki:
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Blojsom-users mailing list Blojsom-users@... https://lists.sourceforge.net/lists/listinfo/blojsom-users |
|
|
Re: Upgrading from Tiger blojsom to 3.2On 11/6/09 5:28 AM, "Tycho Sjögren" <tycho@...> wrote: Hi, ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Blojsom-users mailing list Blojsom-users@... https://lists.sourceforge.net/lists/listinfo/blojsom-users |
| Free embeddable forum powered by Nabble | Forum Help |