Forums: Open Discussion (Thread #33503)

DM Server first try (2013-02-07 17:41 by fionasisk #67285)

Thank you Toshiaki for this.
I downloaded the code and built it.
cd V3.7.stable/dm/dm-server/build
ant
Now the output is in
V3.7.stable/dm/dm-server/output/funambol-clientframework.jar
funambol-dm-server.ear
funambol-framework.jar
funambol-server.jar
funambol-server.war
funambol-sqllog.jar
WEB-INF/web.xml
WEB-INF/classes/....etc.
However I also try to run the install script to put the DM server into JBoss7 :
V3.7.stable/dm/dm-server/src/dist
sh bin/install.sh jboss7
It fails, saying that
BUILD FAILED
...V3.7.stable/dm/dm-server/src/dist/install/install.xml;172 ../V3.7.stable/dm/dm-server/src/dist/default/lib does not exist
The install scripts are expecting a different directory tree to the one I have got.
How do I make this directory tree?
Must I move the "dist" directory to someplace before I do the "install" ? Where do I move it ?
thanks
Fiona

RE: DM Server first try (2013-02-07 20:06 by okamoto3 #67287)

Hi Fiona.
Have you installed more than one time from binary?
If you want to change source codes, replace appropriate jar(war, ear) in the binary by your built one, and then install again.

Thank you.
Okamoto
Reply to #67285

RE: DM Server first try (2013-02-08 20:58 by fionasisk #67303)

I find no binary in this website.

All I can find is the svn code respository.
Reply to #67287

RE: DM Server first try (2013-02-09 08:23 by okamoto3 #67307)

Sorry.
This will be fixed at the beginning of the week.
If you can login to sourceforge.jp, please do and you will be able to see download files.

Thank you.
Okamoto
Reply to #67303

RE: DM Server first try (2013-02-12 08:57 by okamoto3 #67348)

Download files are publically available now.

Sorry too late.
Okamoto
Reply to #67307

RE: DM Server first try (2013-02-07 23:42 by fionasisk #67291)

Thanks Okamoto,
I read the ant scripts in V3.7.stable/dm/dm-server/src/dist/install and now I see what they do.

They take the values from install.properties and put them into
funambol.standalone.xml, and put this in JBOSS_HOME/standalone/configuration
They put dmdemo.war and funambol-dm-server.ear into $JBOSS_HOME/standalone/deployments

Also, they ensure that you have a directory, funambol.dm.home, where there is a directory called config
with Funambol.properties and also the xml configuration files that are in com/funambol/server/dm/processor etc.

They also make sure that your funambol-dm-server.ear also includes dmdemo-tools.jar, and the application.xml has
the correct {context-path} (/funambol)

Now, with these changes, I have funambol-dm-server and dmdemo deployed.

However when I send a POST with DM PKG #1 message that I copied from the developers guide, I now reach my next problem

14:04:13,244 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018
559: Deployed "funambol-dm-server.ear"
14:26:55,612 FATAL [com.funambol.server.syncbean.SyncBean] (http--0.0.0.0-8080-2
) Error creating the SyncAdapter: com.funambol.framework.server.error.ServerExce
ption: -1 - Error javax.naming.NamingException creating the AdminBean: JBAS0110
52: Failed to instantiate component view
14:26:55,676 FATAL [com.funambol.transport.http.server.Sync4jServlet] (http--0.0
.0.0-8080-2) Error creating SyncBean
Reply to #67285

RE: DM Server first try (2013-02-08 08:05 by okamoto3 #67293)

Hi Fioana.
Ok, you are trying to make installer again.

Good luck.
Okamoto
Reply to #67291

RE: DM Server first try (2013-02-08 18:46 by fionasisk #67299)

hi Okamoto,
Do you know this problem ?
thanks
Fiona


14:04:13,244 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018
559: Deployed "funambol-dm-server.ear"
14:26:55,612 FATAL [com.funambol.server.syncbean.SyncBean] (http--0.0.0.0-8080-2
) Error creating the SyncAdapter: com.funambol.framework.server.error.ServerExce
ption: -1 - Error javax.naming.NamingException creating the AdminBean: JBAS0110
52: Failed to instantiate component view
14:26:55,676 FATAL [com.funambol.transport.http.server.Sync4jServlet] (http--0.0
.0.0-8080-2) Error creating SyncBean
Reply to #67285

RE: DM Server first try (2013-02-08 20:34 by okamoto3 #67302)

Hi Fiona.
This is not our problem but your one.
And I have suggested to download the binary but you have not.

Good luck again.
Okamoto

>14:04:13,244 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "funambol-dm-server.ear"14:26:55,612 FATAL [com.funambol.server.syncbean.SyncBean] (http--0.0.0.0-8080-2) Error creating the SyncAdapter: com.funambol.framework.server.error.ServerException: -1 - Error javax.naming.NamingException creating the AdminBean: JBAS011052: Failed to instantiate component view14:26:55,676 FATAL [com.funambol.transport.http.server.Sync4jServlet] (http--0.0.0.0-8080-2) Error creating SyncBean
Reply to #67299