Burt Fischer
unread,Jul 27, 2011, 4:09:38 PM7/27/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to razuna-testers
Hi,
I was testing 1.4.5 and had some problems that I could not decipher
since nothing is logged to catalina.out. One of the problems is with
upload that stopped working without explanation. Looks like it
completes the upload process but the image does not show up in the
folder. And no error is displayed.
So I tried to upgrade to 1.4.6-rc1. I did exactly what the wiki said
to do, but it did not worked. I don't even bothered to take note
because it was only a testing environment, so I decided to do a fresh
install.
So I deleted all traces of Razuna 1.4.5 from my server and started
installing it from zero.
I'm using default tomcat6 install from Ubuntu Server.
I copied the "razuma" webapp dir to the tomcat6/webapps folder and
accessed it through browser:
# cp -Rpv ~/razuna_tomcat_1_4_6/tomcat/webapps/razuna/ /var/lib/
tomcat6/webapps/
So when I accessed Razuna with browser I got the error bellow:
java.lang.NullPointerException
com.nary.util.Localization.convertCharSetToCharEncoding(Unknown
Source)
com.naryx.tagfusion.cfm.engine.cfEngine.getDefaultEncoding(Unknown
Source)
com.naryx.tagfusion.cfm.engine.cfFormData.<init>(Unknown Source)
com.naryx.tagfusion.cfm.engine.cfFormData.<init>(Unknown Source)
com.naryx.tagfusion.cfm.engine.variableStore.<init>(Unknown Source)
com.naryx.tagfusion.cfm.engine.cfSession.<init>(Unknown Source)
com.naryx.tagfusion.cfm.engine.cfEngine.service(Unknown Source)
com.naryx.tagfusion.cfm.cfServlet.service(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
So I tried a few things:
This one specially is abominable to security folks:
# chown -R tomcat6:tomcat6 /var/lib/tomcat6/webapps/razuna/
So I accessed it and voilá... looks like something worked, but... I
got another error with the "clean" install:
CFML Runtime Error...
Table "RAZUNA_CONFIG" already exists; SQL statement: CREATE TABLE
razuna_config ( conf_database VARCHAR(100), conf_schema
VARCHAR(100), conf_datasource VARCHAR(100), conf_setid VARCHAR(100),
conf_storage VARCHAR(100), conf_aws_access_key VARCHAR(100),
conf_aws_secret_access_key VARCHAR(100), conf_nirvanix_appkey
VARCHAR(100), conf_nirvanix_master_name VARCHAR(100),
conf_nirvanix_master_pass VARCHAR(100), conf_nirvanix_url_services
VARCHAR(100), conf_isp VARCHAR(100), conf_firsttime BOOLEAN )
[42101-147]
Oops... looks like there is some problem with default razuna's H2
database.
So I tried to delete db dir contents, to force Razuna to create new
empty ones...
# service tomcat6 stop
# rm -rf .../webapps/razuna/db/*
# service tomcat6 start
So, in the browser, it looks to work. I could get the setup wizard
page. So I choose "Custom Installation" because I want to use it with
MySQL. So a few thing came up. Is "database name" the same as
"database schema"?
I created the database:
"create database razuna146 character set utf8;"
...and tried to use it in setup wizard.
"Check connection" worked and I clicked in the button "Finalized
Setup". Everything stopped in the obscure message "Setting up your
server. Please wait...". So I took some coffee and nothing changed. So
I looked into catalina.out and nothing. Damn. So I started searching
for logs in everywhere. So I found out razuna/WEB-INF/bluedragon/work/
bluedragon.log.
The last few lines was:
27/07/11 15:48.55: Error decoding CLIENT data:
java.lang.ArrayIndexOutOfBoundsException: 1742
27/07/11 15:48.57: Error decoding CLIENT data:
java.lang.ArrayIndexOutOfBoundsException
27/07/11 15:49.00: Error decoding CLIENT data:
java.lang.ArrayIndexOutOfBoundsException
27/07/11 15:49.00: Error decoding CLIENT data:
java.lang.ArrayIndexOutOfBoundsException
27/07/11 15:49.00: Error decoding CLIENT data:
java.lang.ArrayIndexOutOfBoundsException
27/07/11 15:49.02: Error decoding CLIENT data:
java.lang.ArrayIndexOutOfBoundsException
27/07/11 15:49.17: Error decoding CLIENT data:
java.lang.ArrayIndexOutOfBoundsException
27/07/11 15:49.20: -] RunTimeError written to: [/var/lib/tomcat6/
webapps/razuna/WEB-INF/bluedragon/work/temp/rtelogs/
bderror-2011-07-27-154920_6296087619044775263.html
So, besides that "ArrayIndexOutOfBoundsException" I opened that HTML
file and got the error:
Query error: Table 'mysql.hosts' doesn't exist.
What?? Why razuna is trying to access this database? Ow... I thinks
"database name" should be the same as "database schema" and not
"mysql". I think the "Check database connection" fooled me. Maybe I
was a fool to use "mysql", maybe razuna could be more smart to not ask
twice for the same information. So I deleted the database and started
all over the setup wizard.
I got the setup wizard to finish!! Nice. Now I tried to login and got
the eternal "Loading Razuna" feedback after I press "Login". So I
looked into the bluedragon logs and found out the error:
"The datasource h2 could not be found or was invalid."
So... what am I doing wrong? I really tried a lot... :(
Please, help.
tks