On Tue, 2005-03-01 at 14:52 -0500, Adam Kennedy wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I'm wondering if it's not an xml-rpc problem. Does anyone have specific > instructions on getting xml-rpc compiled into PHP 4? The instructions I > found about using Mandrake don't work for me as I'm using Slackware. > > Using Apache 2.0.52 with PHP 4.3.10 on Slackware 10.1
You need to grab and compile http://xmlrpc-c.sourceforge.net/downloading.php and recompile php with --with-xmlrpc (check the docs) Cheers Dave > > > Guillaume Courtois wrote: > | I did not install the sync4j so I can not test, but the pb seems to be a > | xml-rpc comm error. Maybe there is a missing php module or something > like that > | ? > | > | Adam Kennedy ([EMAIL PROTECTED]) �crivait: > | > | Greetings all. I followed the instructions at > | http://wiki.phpgroupware.org/index.php?page=SyncML > | And got my sync stuff installed. The modules show up in PHPGW, I've got > | users added etc. > | > | The problem is that my Jboss is spewing authentication errors and > | something about a SyncBean. I've enclosed the log below. Can someone > | please take a look at this? I need Sync working this week otherwise my > | boss is going to have to drop PHPGroupWare as a solution, which I don't > | want to happen. > | > | Thanks! > | > | ## BEGIN LOG ## > | > | 08:17:12,466 INFO [jbossweb] Sync4jHttpServlet: contentType: > | application/vnd.syncml+xml > | 08:17:12,467 INFO [jbossweb] Sync4jHttpServlet: contentLength: 4056 > | 08:17:12,475 ERROR [STDERR] Feb 23, 2005 8:17:12 AM > | de.probusiness.pbgroupware.sync.PHPGwSyncSync4jEngineFactory <init> > | INFO: created PHPGwSyncEngine > | 08:17:12,485 ERROR [STDERR] Feb 23, 2005 8:17:12 AM > | sync4j.server.engine.Sync4jEngine <init> > | INFO: Engine configuration: > | 08:17:12,487 ERROR [STDERR] Feb 23, 2005 8:17:12 AM > | sync4j.server.engine.Sync4jEngine <init> > | INFO: store: sync4j.framework.server.store.PersistentStoreManager - > | {jndiDataSourceName: java:/jdbc/sync4j; stores: > | > de.probusiness.pbgroupware.sync.PHPGwSyncSyncPersistentStore,de.probusiness.pbgroupware.sync.PHPGwSyncEnginePersistentStore > | 08:17:12,488 ERROR [STDERR] Feb 23, 2005 8:17:12 AM > | sync4j.server.engine.Sync4jEngine <init> > | INFO: officer: [EMAIL PROTECTED] > | 08:17:12,489 ERROR [STDERR] Feb 23, 2005 8:17:12 AM > | sync4j.server.engine.Sync4jEngine <init> > | INFO: strategy: [EMAIL PROTECTED] > | 08:17:12,490 INFO [STDOUT] Client calling procedure 'system.login' with > | parameters [{password=sync2991, domain=default, username=sync}] > | 08:17:12,672 INFO [STDOUT] Beginning parsing XML input stream > | 08:17:12,672 INFO [STDOUT] startElement: methodResponse > | 08:17:12,672 INFO [STDOUT] startElement: value > | 08:17:12,673 INFO [STDOUT] startElement: struct > | 08:17:12,673 INFO [STDOUT] startElement: member > | 08:17:12,673 INFO [STDOUT] startElement: name > | 08:17:12,673 INFO [STDOUT] endElement: name > | 08:17:12,673 INFO [STDOUT] startElement: value > | 08:17:12,674 INFO [STDOUT] startElement: string > | 08:17:12,674 INFO [STDOUT] endElement: string > | 08:17:12,674 INFO [STDOUT] endElement: value > | 08:17:12,674 INFO [STDOUT] endElement: member > | 08:17:12,674 INFO [STDOUT] startElement: member > | 08:17:12,674 INFO [STDOUT] startElement: name > | 08:17:12,674 INFO [STDOUT] endElement: name > | 08:17:12,675 INFO [STDOUT] startElement: value > | 08:17:12,675 INFO [STDOUT] startElement: int > | 08:17:12,675 INFO [STDOUT] endElement: int > | 08:17:12,675 INFO [STDOUT] endElement: value > | 08:17:12,675 INFO [STDOUT] endElement: member > | 08:17:12,675 INFO [STDOUT] endElement: struct > | 08:17:12,675 INFO [STDOUT] endElement: value > | 08:17:12,676 INFO [STDOUT] endElement: fault > | 08:17:12,676 INFO [STDOUT] endElement: methodResponse > | 08:17:12,676 INFO [STDOUT] Spent 5 millis parsing > | 08:17:12,677 ERROR [STDERR] Feb 23, 2005 8:17:12 AM > | de.probusiness.pbgroupware.sync.PHPGwSyncXMLRPCClient login > | INFO: XmlRpcException(1001): Login failed > | 08:17:12,680 ERROR [STDERR] Feb 23, 2005 8:17:12 AM > | de.probusiness.pbgroupware.sync.PHPGwSyncSyncEngine initSources > | SEVERE: Error reading sources from phpGW: xml-rpc-error > | 08:17:12,682 ERROR [LogInterceptor] EJBException, causedBy: > | java.lang.NullPointerException > | ~ at > | > de.probusiness.pbgroupware.sync.PHPGwSyncSyncEngine.initSources(PHPGwSyncSyncEngine.java:71) > | ~ at > | > de.probusiness.pbgroupware.sync.PHPGwSyncSyncEngine.<init>(PHPGwSyncSyncEngine.java:37) > | ~ at > | > de.probusiness.pbgroupware.sync.PHPGwSyncSync4jEngineFactory.getSyncEngine(PHPGwSyncSync4jEngineFactory.java:41) > | ~ at > | > sync4j.server.syncbean.session.SimpleSessionHandler.setSyncEngineFactory(SimpleSessionHandler.java:269) > | ~ at sync4j.server.syncbean.SyncBean.ejbCreate(SyncBean.java:163) > | ~ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > | ~ at > | > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > | ~ at > | > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > | ~ at java.lang.reflect.Method.invoke(Method.java:324) > | ~ at > | > org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.createSession(StatefulSessionFilePersistenceManager.java:163) > | ~ at > | > org.jboss.ejb.StatefulSessionContainer.createLocalHome(StatefulSessionContainer.java:466) > | ~ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > | ~ at > | > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > | ~ at > | > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > | ~ at java.lang.reflect.Method.invoke(Method.java:324) > | ~ at > | > org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invokeHome(StatefulSessionContainer.java:763) > | ~ at > | > org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:105) > | ~ at > | > org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215) > | ~ at > | > org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invokeHome(StatefulSessionInstanceInterceptor.java:128) > | ~ at > | > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:111) > | ~ at > | > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:237) > | ~ at > | > org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:68) > | ~ at > | org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:133) > | ~ at > | > org.jboss.ejb.StatefulSessionContainer.invokeHome(StatefulSessionContainer.java:368) > | ~ at > | > org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invokeHome(BaseLocalContainerInvoker.java:230) > | ~ at > | org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110) > | ~ at $Proxy24.create(Unknown Source) > | ~ at > | > sync4j.transport.http.server.LocalEJBSyncHolder.setSessionId(LocalEJBSyncHolder.java:110) > | ~ at > | > sync4j.transport.http.server.Sync4jHttpServlet.createHolder(Sync4jHttpServlet.java:303) > | ~ at > | > sync4j.transport.http.server.Sync4jHttpServlet.doPost(Sync4jHttpServlet.java:193) > | ~ at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > | ~ at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > | ~ at > | org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360) > | ~ at > | > org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) > | ~ at > | org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558) > | ~ at org.mortbay.http.HttpContext.handle(HttpContext.java:1714) > | ~ at > | > org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:505) > | ~ at org.mortbay.http.HttpContext.handle(HttpContext.java:1664) > | ~ at org.mortbay.http.HttpServer.service(HttpServer.java:879) > | ~ at org.jboss.jetty.Jetty.service(Jetty.java:460) > | ~ at > org.mortbay.http.HttpConnection.service(HttpConnection.java:770) > | ~ at > | org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:932) > | ~ at > org.mortbay.http.HttpConnection.handle(HttpConnection.java:787) > | ~ at > | org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201) > | ~ at > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) > | ~ at > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:454) > | 08:17:12,709 WARN [jbossweb] WARNING: Sync4jHttpServlet: Error creating > | SyncBean > | javax.ejb.EJBException: null; CausedByException is: > | ~ null > | ~ at > | > org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.createSession(StatefulSessionFilePersistenceManager.java:186) > | ~ at > | > org.jboss.ejb.StatefulSessionContainer.createLocalHome(StatefulSessionContainer.java:466) > | ~ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > | ~ at > | > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > | ~ at > | > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > | ~ at java.lang.reflect.Method.invoke(Method.java:324) > | ~ at > | > org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invokeHome(StatefulSessionContainer.java:763) > | ~ at > | > org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:105) > | ~ at > | > org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215) > | ~ at > | > org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invokeHome(StatefulSessionInstanceInterceptor.java:128) > | ~ at > | > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:111) > | ~ at > | > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:237) > | ~ at > | > org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:68) > | ~ at > | org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:133) > | ~ at > | > org.jboss.ejb.StatefulSessionContainer.invokeHome(StatefulSessionContainer.java:368) > | ~ at > | > org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invokeHome(BaseLocalContainerInvoker.java:230) > | ~ at > | org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110) > | ~ at $Proxy24.create(Unknown Source) > | ~ at > | > sync4j.transport.http.server.LocalEJBSyncHolder.setSessionId(LocalEJBSyncHolder.java:110) > | ~ at > | > sync4j.transport.http.server.Sync4jHttpServlet.createHolder(Sync4jHttpServlet.java:303) > | ~ at > | > sync4j.transport.http.server.Sync4jHttpServlet.doPost(Sync4jHttpServlet.java:193) > | ~ at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > | ~ at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > | ~ at > | org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360) > | ~ at > | > org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) > | ~ at > | org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558) > | ~ at org.mortbay.http.HttpContext.handle(HttpContext.java:1714) > | ~ at > | > org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:505) > | ~ at org.mortbay.http.HttpContext.handle(HttpContext.java:1664) > | ~ at org.mortbay.http.HttpServer.service(HttpServer.java:879) > | ~ at org.jboss.jetty.Jetty.service(Jetty.java:460) > | ~ at > org.mortbay.http.HttpConnection.service(HttpConnection.java:770) > | ~ at > | org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:932) > | ~ at > org.mortbay.http.HttpConnection.handle(HttpConnection.java:787) > | ~ at > | org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201) > | ~ at > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) > | ~ at > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:454) > | java.lang.NullPointerException > | ~ at > | > de.probusiness.pbgroupware.sync.PHPGwSyncSyncEngine.initSources(PHPGwSyncSyncEngine.java:71) > | ~ at > | > de.probusiness.pbgroupware.sync.PHPGwSyncSyncEngine.<init>(PHPGwSyncSyncEngine.java:37) > | ~ at > | > de.probusiness.pbgroupware.sync.PHPGwSyncSync4jEngineFactory.getSyncEngine(PHPGwSyncSync4jEngineFactory.java:41) > | ~ at > | > sync4j.server.syncbean.session.SimpleSessionHandler.setSyncEngineFactory(SimpleSessionHandler.java:269) > | ~ at sync4j.server.syncbean.SyncBean.ejbCreate(SyncBean.java:163) > | ~ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > | ~ at > | > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > | ~ at > | > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > | ~ at java.lang.reflect.Method.invoke(Method.java:324) > | ~ at > | > org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.createSession(StatefulSessionFilePersistenceManager.java:163) > | ~ at > | > org.jboss.ejb.StatefulSessionContainer.createLocalHome(StatefulSessionContainer.java:466) > | ~ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > | ~ at > | > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > | ~ at > | > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > | ~ at java.lang.reflect.Method.invoke(Method.java:324) > | ~ at > | > org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invokeHome(StatefulSessionContainer.java:763) > | ~ at > | > org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:105) > | ~ at > | > org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215) > | ~ at > | > org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invokeHome(StatefulSessionInstanceInterceptor.java:128) > | ~ at > | > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:111) > | ~ at > | > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:237) > | ~ at > | > org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:68) > | ~ at > | org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:133) > | ~ at > | > org.jboss.ejb.StatefulSessionContainer.invokeHome(StatefulSessionContainer.java:368) > | ~ at > | > org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invokeHome(BaseLocalContainerInvoker.java:230) > | ~ at > | org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110) > | ~ at $Proxy24.create(Unknown Source) > | ~ at > | > sync4j.transport.http.server.LocalEJBSyncHolder.setSessionId(LocalEJBSyncHolder.java:110) > | ~ at > | > sync4j.transport.http.server.Sync4jHttpServlet.createHolder(Sync4jHttpServlet.java:303) > | ~ at > | > sync4j.transport.http.server.Sync4jHttpServlet.doPost(Sync4jHttpServlet.java:193) > | ~ at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > | ~ at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > | ~ at > | org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360) > | ~ at > | > org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) > | ~ at > | org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558) > | ~ at org.mortbay.http.HttpContext.handle(HttpContext.java:1714) > | ~ at > | > org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:505) > | ~ at org.mortbay.http.HttpContext.handle(HttpContext.java:1664) > | ~ at org.mortbay.http.HttpServer.service(HttpServer.java:879) > | ~ at org.jboss.jetty.Jetty.service(Jetty.java:460) > | ~ at > org.mortbay.http.HttpConnection.service(HttpConnection.java:770) > | ~ at > | org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:932) > | ~ at > org.mortbay.http.HttpConnection.handle(HttpConnection.java:787) > | ~ at > | org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201) > | ~ at > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) > | ~ at > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:454) > | > | 08:17:12,713 INFO [jbossweb] Sync4jHttpServlet: Error creating > | SyncBean: javax.ejb.EJBException: null; CausedByException is: > | ~ null > | > | > | > | ## END OF LOG ## > | > > _______________________________________________ > Phpgroupware-developers mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/phpgroupware-developers > > > > > > | _______________________________________________ > | Phpgroupware-users mailing list > | [email protected] > | http://lists.gnu.org/mailman/listinfo/phpgroupware-users > > > - -- > Northern Indiana ESC > Adam Kennedy - [EMAIL PROTECTED] > Linux Specialist / Network Administrator > Phone: (574) 254-0111 x113 > Toll Free: 800-326-5642 > Fax: (574) 254-0148 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.0 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFCJMf0V72KWYU3lA0RAgv9AJ4kaCqsAyKtDBJTgX+Yb63kEgjevACfQpX7 > LA9ZtEOwkMpZ49aXOJKJemo= > =H1bH > -----END PGP SIGNATURE----- > > > _______________________________________________ > Phpgroupware-users mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/phpgroupware-users -- Dave Hall (aka skwashd) API Coordinator phpGroupWare ------------------------------------------------------------------------- Do you think if Bill Gates got laid in high school, do you think there'd be a Microsoft? Of course not. Underwear Goes Inside The Pants by Lazy Boy _______________________________________________ Phpgroupware-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/phpgroupware-users
