[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[xmlblaster] Re: Runnig XMLBlaster with root privileges
Hi Francois,
it seems a configuration error. Either the url of the database or the
necessary driver is not in the classpath. According to the stack trace
it also appears to be an older release you are using. If the problem
persists please send us the information about the release you are using
Regards
Michele
> I am having problems in running XMLBlaster with root pribileges.
>
> =20
>
> I am using this command to run XMLBlaster :=20
>
> =20
>
> =20
>
> java -cp $CLASSPATH org.xmlBlaster.Main -trace[socket] true =
> -call[socket] true -dump[socket] true -plugin/socket/hostname =
> 192.168.10.182 -plugin/socket/port 7607 -plugin/xmlrpc/port 8085 =
> -plugin/xmlrpc/hostname 192.168.10.182
>
> =20
>
> My CLASSPATH contains only the xmlBlaster.jar file
>
> =20
>
> With a simple user there is no problems the software is running =
> perfectly, but in privileged mode the software show several errors :=20
>
> =20
>
> [Aug 3, 2006 10:55:18 AM ERROR XmlBlaster.MainThread =
> SubjectInfo-1-/node/xmlBlaster_127_0_0_1_3412/client/__sys__jdbc.setSubje=
> ctQueueProperty()] Existing subject queue properties are null
>
> =20
>
> =20
>
> [Aug 3, 2006 10:55:18 AM ERROR XmlBlaster.MainThread =
> org.xmlBlaster.util.queue.cache.CacheQueueInterceptorPlugin-callback:/nod=
> e/xmlBlaster_127_0_0_1_3412/client/__sys__jdbc/-1] Could not initialize =
> the persistent queue =
> 'callback:/node/xmlBlaster_127_0_0_1_3412/client/__sys__jdbc/-1'. Is the =
> JDBC Driver jar file in the CLASSPATH ? Is the DB up and running ? We =
> continue RAM based ...XmlBlasterException =
> errorCode=3D[resource.db.unavailable] serverSideException=3Dtrue =
> location=3D[org.xmlBlaster.util.queue.jdbc.JdbcQueueCommonTablePlugin-cal=
> lback:/node/xmlBlaster_127_0_0_1_3412/client/__sys__jdbc/-1/type 'JDBC' =
> version '1.0'] message=3D[#1.1.1 getJdbcCommonTableQueueManager: sql =
> exception when initializing the connection pool : java.sql.SQLException: =
> General error: java.lang.NullPointerException] [See URL =
> http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.li=
> sting.html#resource.db.unavailable] The propery settings are:
>
> <queue relating=3D'callback' maxEntries=3D'1000' =
> maxEntriesCache=3D'1000'>
>
> <callback type=3D'JDBC' dispatchPlugin=3D'undef'>
>
> native-NameService:org.xmlBlaster.protocol.jdbc.CallbackJdbcDriver
>
> </callback>
>
> </queue>
>
> errorCode=3Dresource.db.unavailable message=3D#1.1.1 =
> getJdbcCommonTableQueueManager: sql exception when initializing the =
> connection pool : java.sql.SQLException: General error: =
> java.lang.NullPointerException
>
> at =
> org.xmlBlaster.util.queue.jdbc.JdbcQueueCommonTablePlugin.getJdbcQueueMan=
> agerCommonTable(JdbcQueueCommonTablePlugin.java:184)
>
> at =
> org.xmlBlaster.util.queue.jdbc.JdbcQueueCommonTablePlugin.initialize(Jdbc=
> QueueCommonTablePlugin.java:222)
>
> at =
> org.xmlBlaster.util.queue.QueuePluginManager.getPlugin(QueuePluginManager=
> .java:83)