yashprit / inspired-social

Automatically exported from code.google.com/p/inspired-social
1 stars 1 forks source link

HTTP Error: 404 #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I followed your guide exactly. I also tried using Apache instead of Jetty and 
got a 'You do not have authorization' error. Adding wp-index to the 
DirectoryIndex did not fix this, nor did any chmod settings.

What is the expected output? What do you see instead?
"HTTP ERROR: 404

Problem accessing /inspired. Reason:

    Not Found"

What version of the product are you using? On what operating system?
0.0.0.2 for Openfire 3.7.0 on CentOS 5.5

Please provide any additional information below.
It looks like a good idea, otherwise! But I'd like a version that works with an 
existing installation so that I don't have to import my old userdatabase and 
settings.

Original issue reported on code.google.com by aleronse...@gmail.com on 22 Aug 2011 at 5:27

GoogleCodeExporter commented 9 years ago
Additional: Going to just my IP:7070 gives me this:
"Error 404 - Not Found.
No context on this server matched or handled this request.
Contexts known to this server are:

    /http-bind ---> ContextHandler@1826ac5@1826ac5/http-bind,null
    / ---> ContextHandler@1fc9fee@1fc9fee/,null"

Original comment by aleronse...@gmail.com on 22 Aug 2011 at 5:33

GoogleCodeExporter commented 9 years ago
It works with an existing or new Openfire installation. Apache or Jetty is NOT 
required. You only need Openfire with mySQL installed and running ok.

Original comment by olajide....@gmail.com on 22 Aug 2011 at 7:42

GoogleCodeExporter commented 9 years ago
I did it on a new server with only Openfire and MySQL installed. I only used 
Apache when the default installation did not work to see if it was a HTTP 
error. It did not work in either case.

Original comment by aleronse...@gmail.com on 22 Aug 2011 at 8:54

GoogleCodeExporter commented 9 years ago
Take a look at your Openfire log files and see if you have any errors that may 
be responsible for the web service failing on port 7070

Original comment by olajide....@gmail.com on 23 Aug 2011 at 6:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The idea of creating an import tool for existing Openfire users is good. Many 
thanks for that. Openfire has an import/export plugin for exporting user data 
into XML. This could provide a good starting point for converting into SQL for 
the WordPress wp_users table

Original comment by olajide....@gmail.com on 23 Aug 2011 at 7:05

GoogleCodeExporter commented 9 years ago
Error loading plugin: /opt/openfire/plugins/inspired
java.lang.NoClassDefFoundError: org/mortbay/jetty/HandlerContainer

That's the error I have. Any ideas?

Original comment by aleronse...@gmail.com on 24 Aug 2011 at 2:17

GoogleCodeExporter commented 9 years ago
You either used the wrong file or I uploaded the wrong file. There is a zip 
file for Openfire 3.6.4 and below and a different one for 3.7.0 and above. 
Please let me know if the mistake is me as I use a customised version for 
Openfire 3.6.4. I don't have 3.7.0 installed to test with

Original comment by olajide....@gmail.com on 24 Aug 2011 at 4:27

GoogleCodeExporter commented 9 years ago
I use 3.7.0 and uploaded the correct version of your file. I think it may be 
your mistake, as I tried twice.

Original comment by aleronse...@gmail.com on 24 Aug 2011 at 4:29

GoogleCodeExporter commented 9 years ago
My bad, sorry for that. I have uploaded latest version for 3.7.0

Original comment by olajide....@gmail.com on 24 Aug 2011 at 7:44

GoogleCodeExporter commented 9 years ago
Thanks! I'm getting a new error now, though:
/inspired ---> 
WebAppContext@560086@560086/inspired,null,/opt/openfire/plugins/inspired 
[stopped]
Shows up in the browser, and:
error in opening zip file
java.util.zip.ZipException: error in opening zip file
Shows up in the logs.

Original comment by aleronse...@gmail.com on 25 Aug 2011 at 9:12

GoogleCodeExporter commented 9 years ago
I downloaded OF 3.7.0 and tried it myself and it works for me. 
java.util.zip.ZipException suggests that your inspired.war file could be 
corrupted or broken

Original comment by olajide....@gmail.com on 25 Aug 2011 at 1:26

GoogleCodeExporter commented 9 years ago
I re-downloaded and now have a new error in my log:
GET / HTTP/1.1
:GenericURI, Bad URI format
java.text.ParseException: GET / HTTP/1.1
:GenericURI, Bad URI format

Original comment by aleronse...@gmail.com on 25 Aug 2011 at 2:27

GoogleCodeExporter commented 9 years ago
I just created a fresh server (CentOS 5.6) with only MySQL and Openfire 
installed. I still have the error, and it's a new server so it can't be 
anything else. I can give you access to the server if you like? Then you can 
see if anything is wrong with your script with Openfire 3.7.0.

Original comment by aleronse...@gmail.com on 25 Aug 2011 at 5:49

GoogleCodeExporter commented 9 years ago
ok. send me an personal email with your SSH details and I will login and check

Original comment by olajide....@gmail.com on 29 Aug 2011 at 8:41

GoogleCodeExporter commented 9 years ago
Hi,
a quick fix about step 5:
instead of: "http://your_openfire-server:7070/wp-admin"
use : "http://your_openfire-server:7070/inspired/wp-admin"

hope that helps,

Original comment by jaime.d...@gmail.com on 2 Sep 2011 at 5:21

GoogleCodeExporter commented 9 years ago
Hi,
i more less make it work (it displays) 
http://social.sisdipe.com.br:7070/inspired/groups/create/step/group-details/

but i cant make friendship and or groups to test the minichat.

my idea was do exactly what you did, but using statusnet (heavilly based on 
betwittered) instead of wordpress+buddypress.

i could launch japix as well, but now i have 2 options to play with.

the idea is to create a social enviroment for www.sisdipe.com.br

im not sure what will be our roadmap, but the overall is there. we will use 
fastpath,jappix and some streaming support.

...customization here we go again.
as you may see here: http://blog.sisdipe.com.br/?page_id=274 , we allready 
glued wordpress with the system and we do use sip stuff, that we would like to 
extend to use redfire and in the future big blue button.

we had a hook https://www.sisdipe.com.br/para/pages/site/var/login_check.jsp 
that gave me all i would like to grap from the loged user in json format, and i 
alllready know how to externally create a wordpress user. (i still lost atm, 
but erverything seems to be feasiable, i will need to study buddypress theme 
layout better.

congrats for all yo have done so far, and any sugestions you may have is 
welcomed.

for the momemnt, i wonder how much is not working from the sip+xmmp stuff.

and what would be the best way of glue all this togheter. (i will miss 
statusnet thought, but i feel much more confortable with wordpress)

i didnt changed the permanlink as i allready have another server at port 80.
but i think my sleep will be with mind sponning. THANKS!

ps: dunno if i could use this also for ads comments like:
http://participantes.sisdipe.com.br/site/anuncios.php?conta=60918&ad_id=11

atm we are using diqus for that, but the long term idea was use statusnet.

Original comment by jaime.d...@gmail.com on 2 Sep 2011 at 5:55

GoogleCodeExporter commented 9 years ago
ps3: that is the bettwiterd that i mentio, it shows statusnet potential (sadly 
the author didnt opened the sources) and off-topic, i get a little worry using 
erverything as openfire plugin, as i dont know how robust jetty is. i do use 
tomcat as my main container (but never tried to put openfire there, deploy), 
and im allready looking over glassfish (the resin java container seems to be 
very good from the spec i read).
i preffer have the cross-host stuff working correctly (and, as you metioned, 
the openfire bosh design update).
i had a long way till i can use openfire as i would lke (mostly i was thinking 
of tweak directly the database as it doesnt have api for that [dont using the 
console] and your new project will be a good study to see how did you glue 
muc->groups and roster->friends [this sencond case would be a little diferent 
as statusnet dont have friend, but followers], and as possible make sip stuff 
open sip wide and xmmp open for google talk and facebook, msn i think it would 
be imposible, but i would like to have at least one msn bot on the, so people 
could msn me and it transport for my jabber account, though)

Original comment by jaime.d...@gmail.com on 2 Sep 2011 at 6:48

GoogleCodeExporter commented 9 years ago
@jamie, thanks for correcting step 5
Jetty is a very good web server and scales very well. It is probably better 
than Tomcat. I have used both in commercial applications. The glue I have used 
is Quercus which allows PHP to run in Java. This enables me to connect 
WordPress to Openfire.

Original comment by olajide....@gmail.com on 2 Sep 2011 at 7:36

GoogleCodeExporter commented 9 years ago
i was aware about quercus (a very handy find, btw), i will study how you make 
wordpress talk to openfire (i mean link group and user creations). a still very 
obscure thing to me is the fastpath workgroup, as fas as i could see it a 
private muc, but not sure, as i said i have enough files to play with, let see 
how it envolve in the next months. (testing as standalone versus plugin). the 
idea/concept i would like is quite exactly like your, mostly instead of 
wordpress+buddypress i would like to use statusnet. (and all the main users and 
stuff is from our site db, that will expose any needed info for external app 
logins, transparent for the user, i hope) :)

again, very thanks for show me the path.
best wishes,

Original comment by jaime.d...@gmail.com on 2 Sep 2011 at 7:45

GoogleCodeExporter commented 9 years ago
I followed your guide exactly. But i'm still seeing below error:

HTTP ERROR 404

Problem accessing /admin. Reason:

    Not Found

Original comment by hariom.m...@gmail.com on 4 Oct 2014 at 9:47