Hi

I am trying to build custom reports for SLM. I have followed all the
steps in the SDK and when I get to the point to test the iReport
connection to the SLM server I get a remote exception error.

I am using the SLM 1.1 appliance. Below is the output of the test
command. Any help will be appreciated.

java -cp
$ESEC_HOME/ccsbase.jar:$ESEC_HOME/reports.jar:$ESEC_HOME/jasperreports-3.5.1.jar
com.novell.reports.jasper.data.event.ConnectionChe ck
Preparing test environment...
Loading Sentinel Report properties from:
/home/jkotze/content/dev/sdk/build/config/sentinelreport.properties
Loaded the following Sentinel Report properties:
-- listing properties --
java.runtime.name=Java(TM) SE Runtime Environment
sun.boot.library.path=/usr/java/jdk1.6.0_21/jre/lib/i386
java.vm.version=17.0-b16
java.vm.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
path.separator=:
java.vm.name=Java HotSpot(TM) Client VM
file.encoding.pkg=sun.io
user.country=US
sun.java.launcher=SUN_STANDARD
sun.os.patch.level=unknown
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/home/jkotze/content/dev/sdk/build/co...
java.runtime.version=1.6.0_21-b06
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironmen t
java.endorsed.dirs=/usr/java/jdk1.6.0_21/jre/lib/endorsed
os.arch=i386
java.io.tmpdir=/tmp
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
novell.sentinel.reports.initiatinguser=admin
os.name=Linux
esecurity.dataobjects.config.file=/xml/iReportMetaData.xml
sun.jnu.encoding=UTF-8
java.library.path=/usr/java/jdk1.6.0_21/jre/lib/i386/cl...
java.specification.name=Java Platform API Specification
java.class.version=50.0
sun.management.compiler=HotSpot Client Compiler
os.version=2.6.32.23-0.3-pae
user.home=/home/jkotze
user.timezone=
java.awt.printerjob=sun.print.PSPrinterJob
file.encoding=UTF-8
java.specification.version=1.6
esecurity.remote.timeout=180
user.name=jkotze
java.class.path=/home/jkotze/content/dev/sdk/build/cc...
java.vm.specification.version=1.0
sun.arch.data.model=32
java.home=/usr/java/jdk1.6.0_21/jre
java.specification.vendor=Sun Microsystems Inc.
user.language=en
esecurity.communication.service=WebUI
java.vm.info=mixed mode, sharing
java.version=1.6.0_21
java.ext.dirs=/usr/java/jdk1.6.0_21/jre/lib/ext:/us...
sun.boot.class.path=/usr/java/jdk1.6.0_21/jre/lib/resourc...
java.vendor=Sun Microsystems Inc.
file.separator=/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport...
sun.cpu.endian=little
sun.io.unicode.encoding=UnicodeLittle
com.esecurity.configurationfile=/home/jkotze/content/dev/sdk/build/co...
sun.cpu.isalist=
Using the following user to execute the search: admin
Testing the connection...
Oct 29, 2010 11:40:45 AM esecurity.base.configuration.MetaDataManager
init
INFO: Initializing metadata, container name WebUI
Oct 29, 2010 11:40:47 AM esecurity.ccs.comp.ExtMetaDataManager
processTransformationNodes
INFO: Found 8 transformation defs for object Event
Oct 29, 2010 11:40:47 AM esecurity.ccs.comp.ExtMetaDataManager
processTransformationNodes
INFO: Initialized a total of 1 transformations: one each for Event
Oct 29, 2010 11:40:47 AM esecurity.ccs.comp.ExtMetaDataManager
processInheritence
INFO: Processed inheritence for
IndexedLogSearchField,IndexedLogSearchTerms,Indexe dLogSearchResultPage
Oct 29, 2010 11:40:47 AM esecurity.ccs.comp.ExtMetaDataManager
processTransformations
INFO: Processed transformations for Event
Oct 29, 2010 11:40:47 AM esecurity.ccs.comp.ExtMetaDataManager
verifyPersistentObjects
INFO: Verified 0 local persistent objects, 13 are remote, 0
non-persistent, and 0 persistent objects failed verification
Oct 29, 2010 11:40:47 AM
com.esecurity.common.communication.Communicator loadConfiguration
INFO: Loading strategy sentinel_client
Oct 29, 2010 11:40:47 AM
com.esecurity.common.communication.Communicator loadStrategy
INFO: loadStrategy. Loading strategy
Oct 29, 2010 11:40:50 AM
com.esecurity.common.communication.Communicator loadStrategy
INFO: loadStrategy. Initialize strategy
Oct 29, 2010 11:40:50 AM
com.esecurity.common.communication.Communicator loadConfiguration
INFO: Loading plugin
Oct 29, 2010 11:40:50 AM
com.esecurity.common.communication.Communicator loadConfiguration
INFO: Loading strategy sentinel_client
Oct 29, 2010 11:40:50 AM
com.esecurity.common.communication.Communicator loadStrategy
INFO: loadStrategy. Loading strategy
Oct 29, 2010 11:40:51 AM
com.esecurity.common.communication.Communicator loadStrategy
INFO: loadStrategy. Initialize strategy
Oct 29, 2010 11:40:51 AM
com.esecurity.common.communication.Communicator loadConfiguration
INFO: Loading plugin
Oct 29, 2010 11:40:51 AM
esecurity.base.datamodel.service.ServiceManager getCommunicator
INFO: Service WebUI registering for responses on
esecurity.remote.response.WebUI.88513F80-C56E-102D-A7FF-000C290BB851 and
callbacks on
esecurity.remote.callback.WebUI.88513F80-C56E-102D-A7FF-000C290BB851 and
for client service requests on
esecurity.remote.client.88513F80-C56E-102D-A7FF-000C290BB851
Exception in thread "main" Oct 29, 2010 11:40:51 AM
esecurity.base.error.SentinelErrorCodes <clinit>
INFO: There are 71 defined error codes.
esecurity.base.exceptions.RemoteException:
at
esecurity.db.object.IndexedLogSearchServiceRemoteI mpl.startSearch(IndexedLogSearchServiceRemoteImpl. java:54)
at
com.novell.reports.jasper.data.event.EventDataSour ce.nextEvent(EventDataSource.java:156)
at
com.novell.reports.jasper.data.event.EventDataSour ce.next(EventDataSource.java:145)
at
com.novell.reports.jasper.data.event.ConnectionChe ck.main(ConnectionCheck.java:66)
Caused by: esecurity.base.exceptions.RemoteException:
at
esecurity.base.datamodel.method.MethodResult.setEx ception(MethodResult.java:55)
at
esecurity.base.ccs.comp.BaseRemoteObjectTask.execu te(BaseRemoteObjectTask.java:120)
at
esecurity.base.ccs.comp.GenericRemoteObjectTask.pr ocessRequest(GenericRemoteObjectTask.java:86)
at
esecurity.base.ccs.comp.GenericTask.process(Generi cTask.java:91)
at
esecurity.base.ccs.comp.GenericTask.process(Generi cTask.java:65)
at esecurity.base.ccs.comp.BaseTask.run(BaseTask.java :52)
at
esecurity.base.ccs.comp.threadpool.TaskThreadPool$ RunWrapper.run(TaskThreadPool.java:89)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Wo rker.run(PooledExecutor.java:727)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
esecurity.base.ccs.comp.BaseRemoteObjectTask.execu te(BaseRemoteObjectTask.java:113)
... 7 more
Caused by: java.lang.RuntimeException: No param auditInfo for method id
= _startSearch_,name = startSearch
param=startTime, type=java.util.Date, value=nullparam=limit, type=long,
value=1param=sortFields, type=java.util.List,
value=nullparam=searchString, type=String, value=sev:[9 TO 9]
MAXCOUNT=1param=pageSize, type=integer, value=10000param=endTime,
type=java.util.Date, value=nullparam=user, type=String, value=admin
at
esecurity.base.datamodel.method.ObjMethod.getParam (ObjMethod.java:250)
at
esecurity.base.datamodel.method.ObjMethod.getDataO bjectValue(ObjMethod.java:107)
at
esecurity.db.object.IndexedLogSearchServiceServerS tub._startSearch_(IndexedLogSearchServiceServerStu b.java:66)
... 12 more
^Cjkotze@linux-hu3i:~/content/dev/sdk/build/config>


--
gogga
------------------------------------------------------------------------
gogga's Profile: http://forums.novell.com/member.php?userid=20446
View this thread: http://forums.novell.com/showthread.php?t=424678