Mugshot Server Setup in local

0 views
Skip to first unread message

Selva

unread,
Feb 21, 2008, 3:05:26 PM2/21/08
to Mugshot Community
Hi,

I am evaluating mugshot features. I have deployed it in my fedora 8
linux. I have set up my base.conf with disableAuthentication=true, to
make sure I can log in. But when I log in, I get this error....


at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:
527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:
112)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at
com.dumbhippo.server.impl.PersonViewerBean.initOnline(PersonViewerBean.java:
339)
at
com.dumbhippo.server.impl.PersonViewerBean.constructPersonView(PersonViewerBean.java:
355)
at
com.dumbhippo.server.impl.PersonViewerBean.getPersonView(PersonViewerBean.java:
388)
at
com.dumbhippo.server.impl.PersonViewerBean.getPersonView(PersonViewerBean.java:
396)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)


I tried to play with the code, nothing helps.

1. Which jar file has the PersonViewerBean? I tried to search, but
couldn't find out.
2. The Mugshot Wiki is very general and not helpful for issues fixing
during the setup and understating the codebase, is there any other
links/docs or discussion group might help? or you guys planning to
improve the Wiki near future?
3. How easy to strip the components of Mugshot (Web Swarm, Group Chat,
OpenId) and use them in other projects?

please help me

regards
Selva

Owen Taylor

unread,
Feb 25, 2008, 2:38:32 PM2/25/08
to mug...@googlegroups.com

I believe the issue is that 'PresenceService.getInstance()' is returning
NULL, which would indicate a problem in starting the presence service.
Your log files will contain more detail about this, but if I had to
guess, I would expect a firewall on your machine is preventing JGroups
from working. You'll need to either:

- Disable the firewall ('service iptables stop'. Do this only on a
network you trust, of course.)

Or:

- Configure the firewall to allow multicast UDP traffic on the ports
that JBoss uses. (I don't have specific information about how to
do this.)

> 1. Which jar file has the PersonViewerBean? I tried to search, but
> couldn't find out.

PersonViewerBean.java can be found at:

http://svn.mugshot.org/dumbhippo/trunk/server/src/com/dumbhippo/server/impl/PersonViewerBean.java

The class file lives in the jar called 'dumbhippo.ejb3', but that's not particularly
useful information in most cases :-)

> 2. The Mugshot Wiki is very general and not helpful for issues fixing
> during the setup and understating the codebase, is there any other
> links/docs or discussion group might help? or you guys planning to
> improve the Wiki near future?

The Wiki is pretty much all there is, other than the source.
Feel free to ask questions here. If you want to help update the wiki,
send me a desired username and email address, and I'll create a wiki
account for you and send you a temporary password.

(We have the wiki locked down like this because of spam problems.)

> 3. How easy to strip the components of Mugshot (Web Swarm, Group Chat,
> OpenId) and use them in other projects?

Quite hard. We've built up quite a bit of custom infrastructure over the
2 years of the Mugshot project, and it's not going to be easy to extract
one piece out of it and use it elsewhere.

- Owen

signature.asc
Reply all
Reply to author
Forward
0 new messages