Foros: Open Discussion (Thread #36943)

Error in adding device through web interface (2015-07-13 18:37 by ruverma #76525)

hi,

I am using dm-server 3.7, jboss 7.1 in ubuntu environment.

The installation of dm-server is fine and i am able to start the server.

But when I try to add a device through the web interface, it gives me following error on server side.
---------------------------------------------------------------
02:20:55,350 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-1) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
02:20:56,033 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
02:20:56,048 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
02:21:01,804 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
02:21:10,647 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started.

Can you please help..

BR,
Ruchika

Re: Error in adding device through web interface (2015-07-13 19:58 by okamoto3 #76532)

Hi Ruchika
Welcome to DM world.
Which DB do you use?
Please see
https://osdn.jp/projects/okamoto/wiki/FrontPage
I donot test for recent enviroments.

Thank you.
Okamoto
[メッセージ #76525 への返信]
> hi,
>
> I am using dm-server 3.7, jboss 7.1 in ubuntu environment.
>
> The installation of dm-server is fine and i am able to start the server.
>
> But when I try to add a device through the web interface, it gives me following error on server side.
> ---------------------------------------------------------------
> 02:20:55,350 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-1) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> 02:20:56,033 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> 02:20:56,048 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> 02:21:01,804 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> 02:21:10,647 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started.
>
> Can you please help..
>
> BR,
> Ruchika
Responder al #76525

Re: Error in adding device through web interface (2015-07-13 20:02 by ruverma #76533)

Thanks Okamoto for your response.
I am using postgresql. And have created required "fnbl_dm" user, password and db.

Thanks
Ruchika


[Reply To Message #76532]
> Hi Ruchika
> Welcome to DM world.
> Which DB do you use?
> Please see
> https://osdn.jp/projects/okamoto/wiki/FrontPage
> I donot test for recent enviroments.
>
> Thank you.
> Okamoto
> [メッセージ #76525 への返信]
> > hi,
> >
> > I am using dm-server 3.7, jboss 7.1 in ubuntu environment.
> >
> > The installation of dm-server is fine and i am able to start the server.
> >
> > But when I try to add a device through the web interface, it gives me following error on server side.
> > ---------------------------------------------------------------
> > 02:20:55,350 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-1) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > 02:20:56,033 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > 02:20:56,048 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > 02:21:01,804 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > 02:21:10,647 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started.
> >
> > Can you please help..
> >
> > BR,
> > Ruchika

Responder al #76532

Re: Error in adding device through web interface (2015-07-14 16:13 by ruverma #76541)

Hi Okamoto,

On trying to add device from web interface, i am getting a NULL POINTER exception.

does it give any clue as to what may be wrong?

An exception was thrown: java.lang.NullPointerException

With the following stack trace:


java.lang.NullPointerException
at com.funambol.dmdemo.RegistrationTools.checkIfUserAlreadyExists(RegistrationTools.java:325)
at com.funambol.dmdemo.RegistrationTools.loginUser(RegistrationTools.java:128)
at com.funambol.dmdemo.DMDemoBean.loginUser(DMDemoBean.java:357)
at org.apache.jsp.jsp.login_jsp._jspService(login_jsp.java:130)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at com.funambol.dmdemo.LoginFilter.doFilter(LoginFilter.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
at java.lang.Thread.run(Thread.java:745


Can you please guide?

Regards
Ruchika

[Reply To Message #76533]
> Thanks Okamoto for your response.
> I am using postgresql. And have created required "fnbl_dm" user, password and db.
>
> Thanks
> Ruchika
>
>
> [Reply To Message #76532]
> > Hi Ruchika
> > Welcome to DM world.
> > Which DB do you use?
> > Please see
> > https://osdn.jp/projects/okamoto/wiki/FrontPage
> > I donot test for recent enviroments.
> >
> > Thank you.
> > Okamoto
> > [メッセージ #76525 への返信]
> > > hi,
> > >
> > > I am using dm-server 3.7, jboss 7.1 in ubuntu environment.
> > >
> > > The installation of dm-server is fine and i am able to start the server.
> > >
> > > But when I try to add a device through the web interface, it gives me following error on server side.
> > > ---------------------------------------------------------------
> > > 02:20:55,350 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-1) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > > 02:20:56,033 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > > 02:20:56,048 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > > 02:21:01,804 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > > 02:21:10,647 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started.
> > >
> > > Can you please help..
> > >
> > > BR,
> > > Ruchika
>

Responder al #76533

Re: Error in adding device through web interface (2015-07-14 19:45 by okamoto3 #76543)

Hi
You have failed to install Postgres.

Thanks
Okamoto
[メッセージ #76525 への返信]
> hi,
>
> I am using dm-server 3.7, jboss 7.1 in ubuntu environment.
>
> The installation of dm-server is fine and i am able to start the server.
>
> But when I try to add a device through the web interface, it gives me following error on server side.
> ---------------------------------------------------------------
> 02:20:55,350 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-1) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> 02:20:56,033 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> 02:20:56,048 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> 02:21:01,804 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> 02:21:10,647 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started.
>
> Can you please help..
>
> BR,
> Ruchika
Responder al #76525

Re: Error in adding device through web interface (2015-07-15 15:50 by ruverma #76546)

hi Okamoto,

I installed postgres version - 9.3.

Its in folder - /etc/postgresql/9.3...

And also there is one postgresql.jar (version 9.1 Build 903, 9.1-903 JDBC 3) placed at /opt/Funambol folder.

/opt/Funambol contains -
- dm-server (3.7)
- jboss(version 7.1)
- postgresql.jar (9.1-903)

What am i doing wrong?

BR,
Ruchika


[Reply To Message #76543]
> Hi
> You have failed to install Postgres.
>
> Thanks
> Okamoto
> [メッセージ #76525 への返信]
> > hi,
> >
> > I am using dm-server 3.7, jboss 7.1 in ubuntu environment.
> >
> > The installation of dm-server is fine and i am able to start the server.
> >
> > But when I try to add a device through the web interface, it gives me following error on server side.
> > ---------------------------------------------------------------
> > 02:20:55,350 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-1) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > 02:20:56,033 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > 02:20:56,048 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > 02:21:01,804 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > 02:21:10,647 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started.
> >
> > Can you please help..
> >
> > BR,
> > Ruchika

Responder al #76543

Re: Error in adding device through web interface (2015-07-16 13:59 by okamoto3 #76551)

Hi
Please check the following folder for DB issues
C:\Funambol\dm-server\default\sql\postgresql
The path is Windows case.
Thanks.
Okamoto
[メッセージ #76525 への返信]
> hi,
>
> I am using dm-server 3.7, jboss 7.1 in ubuntu environment.
>
> The installation of dm-server is fine and i am able to start the server.
>
> But when I try to add a device through the web interface, it gives me following error on server side.
> ---------------------------------------------------------------
> 02:20:55,350 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-1) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> 02:20:56,033 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> 02:20:56,048 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> 02:21:01,804 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> 02:21:10,647 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started.
>
> Can you please help..
>
> BR,
> Ruchika
Responder al #76525

Re: Error in adding device through web interface (2015-11-02 22:39 by berndg88 #77112)

Hello Okamoto,

after installing the DM-Server i have the same errors like ruchika !
How can i solve them ?

Thanks !! :-)

@Ruchika: did you get it to work ? If yes how ?

Regards
Bernd

[Reply To Message #76551]
> Hi
> Please check the following folder for DB issues
> C:\Funambol\dm-server\default\sql\postgresql
> The path is Windows case.
> Thanks.
> Okamoto
> [メッセージ #76525 への返信]
> > hi,
> >
> > I am using dm-server 3.7, jboss 7.1 in ubuntu environment.
> >
> > The installation of dm-server is fine and i am able to start the server.
> >
> > But when I try to add a device through the web interface, it gives me following error on server side.
> > ---------------------------------------------------------------
> > 02:20:55,350 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-1) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > 02:20:56,033 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > 02:20:56,048 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > 02:21:01,804 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started
> > 02:21:10,647 FATAL [com.funambol.dmdemo.DMDemoBean] (http--0.0.0.0-8080-2) Error getting the datasource: Error looking up datasources/FunambolDMDS, service service jboss.naming.context.java.jboss.datasources.FunambolDMDS is not started.
> >
> > Can you please help..
> >
> > BR,
> > Ruchika

Responder al #76551