Problems setting up iReport for SLM development

Hi!
I've been trying to set up Eclipse and iReport so that I can create
some custom reports for SLM, but this has proven difficult. I'll explain
what I've done and where it fails:
1) I've followed all instructions on this page:
'Sentinel Development Environment'
(http://www.novell.com/developer/sent...vironment.html)
I get the following error in step 4 in the section entitled
"Enabling Previewing
Reports That Query The Sentinel Log Manager Event Store"
Exception in thread "main" 05.jan.2011 14:37:12
esecurity.base.error.SentinelErrorCodes <clinit>
INFO: There are 71 defined error codes.
esecurity.base.exceptions.RemoteException:
at
esecurity.db.object.IndexedLogSearchServiceRemoteI mpl.startSearch(Ind
exedLogSearchServiceRemoteImpl.java:54)
at
com.novell.reports.jasper.data.event.EventDataSour ce.nextEvent(EventD
ataSource.java:156)
at
com.novell.reports.jasper.data.event.EventDataSour ce.next(EventDataSo
urce.java:145)
at
com.novell.reports.jasper.data.event.ConnectionChe ck.main(ConnectionC
heck.java:66)
Caused by: esecurity.base.exceptions.RemoteException:
at
esecurity.base.datamodel.method.MethodResult.setEx ception(MethodResul
t.java:55)
at
esecurity.base.ccs.comp.BaseRemoteObjectTask.execu te(BaseRemoteObject
Task.java:120)
at
esecurity.base.ccs.comp.GenericRemoteObjectTask.pr ocessRequest(Generi
cRemoteObjectTask.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(Task
ThreadPool.java:89)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Wo rker.run(PooledExec
utor.java:732)
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 legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
esecurity.base.ccs.comp.BaseRemoteObjectTask.execu te(BaseRemoteObject
Task.java:113)
... 7 more
Caused by: java.lang.RuntimeException: No param auditInfo for method id
= _start
Search_,name = startSearch
param=startTime, type=java.util.Date, value=nullparam=limit, type=long,
value=1p
aram=sortFields, type=java.util.List, value=nullparam=searchString,
type=String,
value=sev:[9 TO 9] MAXCOUNT=1param=pageSize, type=integer,
value=10000param=end
Time, 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(ObjMetho
d.java:107)
at
esecurity.db.object.IndexedLogSearchServiceServerS tub._startSearch_(I
ndexedLogSearchServiceServerStub.java:66)
... 12 more
I noticed another thread on this error, but as you can see from the
configuration.xml file I am using the system user so rights shouldn't be
the cause here:
<strategy active="yes" id="sentinel_client"
location="com.esecurity.common.communication.strat egy.jmsstrategy.activemq.ActiveMQStrategyFactory"
name="ActiveMQ">
<jms
brokerURL="ssl://x.x.x.x:61616??wireFormat.maxInactivityDuration=0"
interceptors="compression"
keystore="C:\\Users\\ragsto\\Development\\Sentinel
SDK\\content\\dev\\sdk\\build\\config\\.activemqcl ientkeystore.jks"
keystorePassword="password" password="832f515a51412dec5ec22dfa756693ab"
username="system"/>
</strategy>
I decided test the reports even with this error, but whenever I open a
TemplateReport.jrxml I immediately get the following error:
net.sf.jasperreports.engine.JRRuntimeException:
net.sf.jasperreports.engine.JRException: Class
com.novell.reports.jasper.data.event.LuceneEventQu eryExecutorFactory not
found.
In the DOS window where I started iReport from, I get the following
error:
Can't find the translation for key =
gui.elementpropertiessheet.sheetProperty.re
nderType: using default (Render type)
Can't find the translation for key =
gui.elementpropertiessheet.sheetProperty.re
nderType: using default (Render type)
End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.commons.beanutils.MethodUtils.invokeMet hod(MethodUtils.jav
a:216)
at
org.apache.commons.digester.SetNextRule.end(SetNex tRule.java:216)
at org.apache.commons.digester.Rule.end(Rule.java:230 )
at
org.apache.commons.digester.Digester.endElement(Di gester.java:1130)
at
it.businesslogic.ireport.compiler.xml.SourceTraceD igester.endElement(
SourceTraceDigester.java:159)
at
org.apache.xerces.parsers.AbstractSAXParser.endEle ment(Unknown Source
at
org.apache.xerces.impl.dtd.XMLDTDValidator.endName spaceScope(Unknown
Source)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleE ndElement(Unknown S
ource)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.endElem ent(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanEndElement(
Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse (Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse (Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse( Unknown
Source)
at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser .parse(Unknown Sour
ce)
at
org.apache.commons.digester.Digester.parse(Digeste r.java:1647)
at
net.sf.jasperreports.engine.xml.JRXmlLoader.loadXM L(JRXmlLoader.java:
239)
at
net.sf.jasperreports.engine.xml.JRXmlLoader.loadXM L(JRXmlLoader.java:
226)
at
it.businesslogic.ireport.IReportCompiler.loadJaspe rDesign(IReportComp
iler.java:2125)
at
it.businesslogic.ireport.DesignVerifyerThread.veri fyDesign(DesignVeri
fyerThread.java:145)
at
it.businesslogic.ireport.DesignVerifyerThread.run( DesignVerifyerThrea
d.java:92)
at java.lang.Thread.run(Unknown Source)
Caused by: net.sf.jasperreports.engine.JRRuntimeException:
net.sf.jasperreports.
engine.JRException: Class
com.novell.reports.jasper.data.event.LuceneEventQu eryE
xecutorFactory not found.
at
net.sf.jasperreports.engine.design.JRDesignDataset .queryLanguageChang
ed(JRDesignDataset.java:914)
at
net.sf.jasperreports.engine.design.JRDesignDataset .setQuery(JRDesignD
ataset.java:448)
at
net.sf.jasperreports.engine.design.JasperDesign.se tQuery(JasperDesign
.java:806)
... 28 more
Caused by: net.sf.jasperreports.engine.JRException: Class
com.novell.reports.jas
per.data.event.LuceneEventQueryExecutorFactory not found.
at
net.sf.jasperreports.engine.util.JRSingletonCache. createInstance(JRSi
ngletonCache.java:98)
at
net.sf.jasperreports.engine.util.JRSingletonCache. getCachedInstance(J
RSingletonCache.java:78)
at
net.sf.jasperreports.engine.util.JRQueryExecuterUt ils.getQueryExecute
rFactory(JRQueryExecuterUtils.java:60)
at
net.sf.jasperreports.engine.design.JRDesignDataset .queryLanguageChang
ed(JRDesignDataset.java:903)
... 30 more
Caused by: java.lang.ClassNotFoundException:
com.novell.reports.jasper.data.even
t.LuceneEventQueryExecutorFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
net.sf.jasperreports.engine.util.JRClassLoader.loa dClassForRealName(J
RClassLoader.java:179)
at
net.sf.jasperreports.engine.util.JRClassLoader.loa dClassForName(JRCla
ssLoader.java:119)
at
net.sf.jasperreports.engine.util.JRSingletonCache. createInstance(JRSi
ngletonCache.java:88)
... 33 more
locationFileName does not exisit
It looks to me like there's a problem with the Lucene connection, but
the connection test works..?
When I try to compile the report, I get the following errors:
The method DatePrepare(String, String, String) is undefined for the
type TemplateReportScriptlet
The method DatePrepare(String, String, String) is undefined for the
type TemplateReportScriptlet
The method getKeyColors() is undefined for the type
TemplateReportScriptlet
The method getKeyColors() is undefined for the type
TemplateReportScriptlet
The method DatePrepare(String, String, String) is undefined for the
type TemplateReportScriptlet
This is similar to another users error, but I wasn't able to solve my
problem by compiling in iReport 3.7.6 - I just get different errors.
Since I am not very familiar with Java, I have no idea on how to
troubleshoot this. Can anyone assist, please?
Ragnar Storstrm
rstorstrom
rstorstrom's Profile: http://forums.novell.com/member.php?userid=5064
View this thread: http://forums.novell.com/showthread.php?t=429304

That fixed the problem with the connection check - thank you! But I
still have two problems left:
1) When I create a new report in Eclipse and try to compile it in
iReport I get the following error:
Compiling to file... C:\proj\content\dev\reports\Testing\Test av
rapportlaging\6.1\TemplateReport.jasper ->
C:\proj\content\dev\reports\Testing\Test av
rapportlaging\6.1\TemplateReport.java
net.sf.jasperreports.engine.design.J...va.lang.ClassNotFoundException:*TemplateReportClass
Line:*21,*Column:*36*JRXML*Element:*/jasperReport
Exception*in*thread*"AWT-EventQueue-0"*java.lang.ArrayIndexOutOfBoundsException:*2*>=* 2
****at*java.util.Vector.elementAt(Unknown*Source)
****at*javax.swing.plaf.basic.BasicTabbedPaneUI.ge tTextViewForTab(Unknown*Source)
****at*javax.swing.plaf.basic.BasicTabbedPaneUI.ca lculateTabHeight(Unknown*Source)
****at*javax.swing.plaf.basic.BasicTabbedPaneUI.ca lculateMaxTabHeight(Unknown*Source)
****at*javax.swing.plaf.basic.BasicTabbedPaneUI$Ta bbedPaneLayout.calculateTabRects(Unknown*Source)
****at*javax.swing.plaf.basic.BasicTabbedPaneUI$Ta bbedPaneLayout.calculateLayoutInfo(Unknown*Source)
****at*javax.swing.plaf.basic.BasicTabbedPaneUI$Ta bbedPaneLayout.layoutContainer(Unknown*Source)
****at*java.awt.Container.layout(Unknown*Source)
****at*java.awt.Container.doLayout(Unknown*Source)
****at*java.awt.Container.validateTree(Unknown*Sou rce)
****at*java.awt.Container.validateTree(Unknown*Sou rce)
****at*java.awt.Container.validateTree(Unknown*Sou rce)
****at*java.awt.Container.validateTree(Unknown*Sou rce)
****at*java.awt.Container.validateTree(Unknown*Sou rce)
****at*java.awt.Container.validateTree(Unknown*Sou rce)
****at*java.awt.Container.validateTree(Unknown*Sou rce)
****at*java.awt.Container.validate(Unknown*Source)
****at*javax.swing.RepaintManager.validateInvalidC omponents(Unknown*Source)
****at*javax.swing.SystemEventQueueUtilities$Compo nentWorkRequest.run(Unknown*Source)
****at*java.awt.event.InvocationEvent.dispatch(Unk nown*Source)
****at*java.awt.EventQueue.dispatchEvent(Unknown*S ource)
****at*java.awt.EventDispatchThread.pumpOneEventFo rFilters(Unknown*Source)
****at*java.awt.EventDispatchThread.pumpEventsForF ilter(Unknown*Source)
****at*java.awt.EventDispatchThread.pumpEventsForH ierarchy(Unknown*Source)
****at*java.awt.EventDispatchThread.pumpEvents(Unk nown*Source)
****at*java.awt.EventDispatchThread.pumpEvents(Unk nown*Source)
****at*java.awt.EventDispatchThread.run(Unknown*So urce)
Exception*in*thread*"AWT-EventQueue-0"*java.lang.ArrayIndexOutOfBoundsException:*2*>=* 2
****at*java.util.Vector.elementAt(Unknown*Source)
****at*javax.swing.plaf.basic.BasicTabbedPaneUI.ge tTextViewForTab(Unknown*Source)
****at*javax.swing.plaf.basic.BasicTabbedPaneUI.ca lculateTabHeight(Unknown*Source)
****at*javax.swing.plaf.basic.BasicTabbedPaneUI.ca lculateMaxTabHeight(Unknown*Source)
****at*javax.swing.plaf.basic.BasicTabbedPaneUI$Ta bbedPaneLayout.calculateTabRects(Unknown*Source)
****at*javax.swing.plaf.basic.BasicTabbedPaneUI$Ta bbedPaneLayout.calculateLayoutInfo(Unknown*Source)
****at*javax.swing.plaf.basic.BasicTabbedPaneUI$Ta bbedPaneLayout.layoutContainer(Unknown*Source)
****at*java.awt.Container.layout(Unknown*Source)
****at*java.awt.Container.doLayout(Unknown*Source)
****at*java.awt.Container.validateTree(Unknown*Sou rce)
****at*java.awt.Container.validateTree(Unknown*Sou rce)
****at*java.awt.Container.validateTree(Unknown*Sou rce)
****at*java.awt.Container.validateTree(Unknown*Sou rce)
****at*java.awt.Container.validateTree(Unknown*Sou rce)
****at*java.awt.Container.validateTree(Unknown*Sou rce)
****at*java.awt.Container.validateTree(Unknown*Sou rce)
****at*java.awt.Container.validate(Unknown*Source)
****at*javax.swing.RepaintManager.validateInvalidC omponents(Unknown*Source)
****at*javax.swing.SystemEventQueueUtilities$Compo nentWorkRequest.run(Unknown*Source)
****at*java.awt.event.InvocationEvent.dispatch(Unk nown*Source)
****at*java.awt.EventQueue.dispatchEvent(Unknown*S ource)
****at*java.awt.EventDispatchThread.pumpOneEventFo rFilters(Unknown*Source)
****at*java.awt.EventDispatchThread.pumpEventsForF ilter(Unknown*Source)
****at*java.awt.EventDispatchThread.pumpEventsForH ierarchy(Unknown*Source)
****at*java.awt.EventDispatchThread.pumpEvents(Unk nown*Source)
****at*java.awt.EventDispatchThread.pumpEvents(Unk nown*Source)
****at*java.awt.EventDispatchThread.run(Unknown*So urce)
net.sf.jasperreports.engine.design.JRValidationExc eption:*Report*design*not*valid*:*
*****1.*java.lang.ClassNotFoundException:*Template ReportClass
****at*net.sf.jasperreports.engine.design.JRAbstra ctCompiler.verifyDesign(JRAbstractCompiler.java:26 0)
****at*net.sf.jasperreports.engine.design.JRAbstra ctCompiler.compileReport(JRAbstractCompiler.java:1 44)
****at*it.businesslogic.ireport.IReportCompiler.ru n(IReportCompiler.java:591)
****at*java.lang.Thread.run(Unknown*Source)
In Ant I see the following:
Buildfile: C:\proj\content\dev\reports\Testing\Test av
rapportlaging\6.1\build.xml
_checkrelease:
[echo]
[echo] The current release of this plug-in is version:
[echo] "1" --> (Testing Test av rapportlaging_6.1r1)
[echo] Do you want to increment the release number and create a
new release?
_newrelease:
_init:
[echo] Author information loaded from
C:\proj\content/dev/dev.properties
_typeInit:
scrub:
build-release:
_build-checks:
_init:
[echo] Author information loaded from
C:\proj\content/dev/dev.properties
_typeInit:
build-zip:
[delete] Deleting directory
C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1
_copy-plugin:
[copy] Copying 1 file to
C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
[copy] Copying 1 file to
C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\tmp
[copy] Copying 9 files to
C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
[copy] Copying 6 files to
C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
[copy] Copying 2 files to
C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
[copy] Copying 1 file to
C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
[copy] Copying 1 file to
C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
[move] Moving 1 file to
C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
[javac] Compiling 1 source file to
C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
[javac] C:\proj\content\dev\reports\Testing\Test av
rapportlaging\6.1\TemplateReportScriptlet.java:4: package
it.businesslogic.ireport does not exist
[javac] public class TemplateReportScriptlet extends
it.businesslogic.ireport.IReportScriptlet {
[javac]
^
[javac] C:\proj\content\dev\reports\Testing\Test av
rapportlaging\6.1\TemplateReportScriptlet.java:24: cannot find symbol
[javac] symbol : variable super
[javac] location: class TemplateReportScriptlet
[javac] super.beforeColumnInit();
[javac] ^
[javac] C:\proj\content\dev\reports\Testing\Test av
rapportlaging\6.1\TemplateReportScriptlet.java:30: cannot find symbol
[javac] symbol : variable super
[javac] location: class TemplateReportScriptlet
[javac] super.afterDetailEval();
[javac] ^
[javac] C:\proj\content\dev\reports\Testing\Test av
rapportlaging\6.1\TemplateReportScriptlet.java:36: cannot find symbol
[javac] symbol : variable super
[javac] location: class TemplateReportScriptlet
[javac] super.afterGroupInit(groupName);
[javac] ^
[javac] C:\proj\content\dev\reports\Testing\Test av
rapportlaging\6.1\TemplateReportScriptlet.java:42: cannot find symbol
[javac] symbol : variable super
[javac] location: class TemplateReportScriptlet
[javac] super.afterPageInit();
[javac] ^
[javac] 5 errors
As I recall, I can fix this by adding the right .JAR file to the dev
directory of the report, so it's not a huge problem.
2) When I try to preview a report with an active connection I get the
following error:
net.sf.jasperreports.engine.JRRuntimeException:
net.sf.jasperreports.engine.JRException: Class
com.novell.jasper.data.event.LuceneEventQueryExecu torFactory not found
This is something I haven't found a fix for, unfortunately. Any ideas?
PS:
My apologies for the late reply - I was on holiday last week and was
swamped both before going and once I got back.
Ragnar Storstrm
rstorstrom
rstorstrom's Profile: http://forums.novell.com/member.php?userid=5064
View this thread: http://forums.novell.com/showthread.php?t=429304

Similar Messages

  • How to set naming standards for SQL Developer

    I am using SQL Developer version 3.0.04.
    In the newly integrated and very useful Data Modeler, we can set preferences for the naming standards to be applied when creating logical and relational model objects ( primary keys, foreign keys, et cetera). I would like to know if there is a way to set naming standards for the relational objects we create in SQL Developer on existing tables ( ( primary keys, foreign keys, et cetera).
    Any help in setting such preferences would be appreciated.

    Hi,
    If you want to set up a diagram for an existing database, you can use File/Data Modeler/Import/Data Dictionary to import its definitions.
    Alternatively you can open a Data Modeler Browser (using View/Data Modeler/Browser), expand the node for Design "Untitled_1",
    expand the node for Relational Models, and select Show from the Right-click drop-down menu for "Relational_1" to create a Relational Model diagram.
    You can then drag Tables from SQL Developer's Connections tree onto the diagram.
    Once you have a Relational Model you can reverse engineer it to an Entity-Relationship model using the << button in the button bar
    (or by selecting "Engineer to Logical Model" from the drop-down menu for the Relational Model).
    Note that there is now a separate forum for SQL Developer Data Modeler topics: SQL Developer Data Modeler
    David

  • How to set nondefault directory for SQL Developer on Citrix (terminal)

    Hi
    My purpose is that , when I click"open" button on SQL Developer I hope it prompts out a defined diretory rather than the default one.The problem here is I'm using Citrix paltform in the terminal end and hence I don't authorization to do any modification on the C:\ drive (server end)
    I got this guide lines from the tutorial but I can reset the rying directory by either way.
    To specify a nondefault SQLDEVELOPER_USER_DIR location, do either of the
    following:
    ■ Set the SQLDEVELOPER_USER_DIR environment variable to specify another
    directory path.
    ■ Edit the <sqldeveloper_
    install>\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf file
    and substitute the desired directory path for SQLDEVELOPER_USER_DIR in the
    following line:
    SetUserHomeVariable SQLDEVELOPER_USER_DIR
    1.After I execute below command on cmd, the variavle has been set but still it navigates to the default directory:
    set SQLDEVELOPER_USER_DIR=U:\sql
    2.I want to modify the "sqldeveloper.conf " file but since it is located in C: drive I don't have right to modify it.(I'm using terminal as stated above)
    Could anyone help me out ??
    Ella

    Ella,
    You don't say which version of SQL Developer you are using via Citrix, but just setting the SQLDEVELOPER_USER_DIR hasn't worked for a long time (see Re: SQLDEVELOPER_USER_DIR does not function anymore). Also, since version 1.5, the default for the user directory (now set via ide.user.dir as shown below) is under the user profile area (relative to %APPDATA%), which you should be able to write to, even on Citrix.
    Assuming that neither of those help, you will need to get whoever installed SQL Developer on the Citrix C: drive to modify the sqldeveloper.conf to have a line like, where the path exists for everyone who will be using the shared SQL Developer (assumes everyone has a H: drive):
    AddVMOption -Dide.user.dir=H:\sqldeveloperAn alternative (depending on how you start SQL Developer via Citrix), is to create your own shortcut to start SQL Developer with something like:
    sqldeveloper -J-Dide.user.dir="%SQLDEVELOPER_USER_DIR%"theFurryOne

  • Problem setting initial value for LOV

    Hello, everyone. This seems like it should be simple, but it's giving me lots of problems. I am trying to create my first LOV. I have a messageLovInput item called PFedFilingStatus. From the Property Inspector, I can set an Initial Value of "02", which displays when I run the page, and lets me change it and validate it using the associated LOV.
    What I would rather do is set the initial value programmatically, but here are my problems:
    If I set the value like this:
    OAMessageLovInputBean lovText = (OAMessageLovInputBean)pageLayout.findIndexedChildRecursive("PFedFilingStatus");
    lovText.setText("02");
    then the field displays properly at run time, but can't be changed. The LOV runs, but any value I select flips back to "02"
    If I set the value like this:
    lovText.setDefaultValue("02");
    then nothing seems to happen at run time. The value is not displayed at all.
    Can anyone tell me what I am doing wrong? Thanks for your help.
    --Dave                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Yes, that helps a bunch. Now can you tell me where that is set?
    Thanks so much.
    --Dave                                                                                                                                                                                       

  • Problem setting up DSN for 10g ODBC driver

    Hello,
    I am simply trying to install an ODBC driver for 10g. To accomplish this, I first downloaded the odbc driver for 10g 10.2.0.2.0. The Readme notes said that I need to install the odbc driver using the Oracle Universal Installer. So I got a copy of just the OUI from our DBA. I installed the OUI 10.2. Using the installer, I installed the 10.2.0.2.0 odbc driver. The Readme notes said to look for the file "products.jar", which was not available, but "products.xml" was, so I used "products.xml", and the driver installed successfully.
    The next step was to set up an ODBC DSN for this driver. When I attempted to do this, the Microsoft ODBC Administrator threw this message: The setup routines for the Oracle in DEFAULT_HOME ODBC driver could not be loaded due to system error code 127, followed by Could not load the setup of translator library.
    Other threads suggested that I copy the DLLs mfc71.dll, msvcrt.dll, and msvcr71.dll from my C:\Windows\System32 directory to the directory where I installed the odbc driver (C:\orant\BIN) and to ensure that this directory path was defined under the PATH environmental variable. I followed all these instructions but to no avail - I am still having the same problem. PLEASE HELP!!! Thanks in advance!!

    Hi,
    >>could not be loaded due to system error code 127
    Did you try install it on other machine ? Maybe this current machine has a DLL versions problems ...
    Cheers

  • Problem setting up handlers for Jetty web app

    Hello,
    I am encountering a problem with setting up the handlers for my web application, what I want is : Having some requests handled by an HTTPServlet with doGet and doPost methods ( how can I load JSP pages from within these methods ? ) and also be able to load static content ( html, JS, CSS )
    The way I'm setting it right now, I can only have one or the other, I cannot get both working.
    I will explain :
        Server server = new Server(5000);
       // This is the resource handler for JS & CSS
        ResourceHandler resourceHandler = new ResourceHandler();
        resourceHandler.setResourceBase(".");
        resourceHandler.setDirectoriesListed(false);
       // This is the context handler for the HTTPServlet
        ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS);
        context.setContextPath("/");
        context.addServlet(new ServletHolder(new Main()),"/*");
       // this is the Handler list for both handlers
        HandlerList handlerList = new HandlerList();
        handlerList.setHandlers(new Handler[] { context ,resourceHandler});
         If I add them in this order, all requests will be handled by the "context" and no static resource is loaded
         If I invert the order, the index page page is loaded by the resource handler, which means, If I activate directory listings, it gives me a list of all directories, otherwise it's just a blank page
         I tried working with a WebAppContext to load JSP pages but I still had some problems with which handler should handle which requests
        server.setHandler(handlerList);
        server.start();
        server.join();
    Thank you

    Lync web app is designed mainly for external partners who are invited to Lync meetings. Thus, the feature cannot be achieved naturally on Lync side. You may post the issue on IIS forum to verify if this can be achieved by setting LWA directory.
    Thank you for your understanding.
    http://forums.iis.net/
    Kent Huang
    TechNet Community Support

  • Problem setting VI_ATTR_SUPPRESS_END_EN Attribute for my TCPIP MBSession

    Hello,
    im using the NI-VISA for c#.
    I have to set the VI_ATTR_SUPPRESS_END_EN Attribute to false in order to get my query with an instrument working.
    I have already checked it with MAX and its working perfectly. In MAX there is a checkbox on the VISA test panel to change this property.
    Unfortunately i can't find a "VI_ATTR_SUPPRESS_END_EN" property of my TCPIP MBSession Object in my Visual Studio - C#.
    There are lots of properties but this one is missing!!! :-(
    Why is it missing? What else can i do to set this attribute?
    Thanks in advance!

    After a little more digging, I noticed that there are some public methods on Session to directly access VISA attributes. The tricky part is that they are decorated with the [EditorBrowsableAttribute(EditorBrowsableState.Never)] attribute, which hides them from Visual Studio Intellisense. This solved my problem:
    session.SetAttributeBoolean(AttributeType.SuppresEndEn, false);
    where session is a MessageBasedSession object
    Thanks,
    James

  • Problem setting different width for images using HorizontalList tag

    Hi,<br />I succeeded using HorizontalList in my AdvancedDataGrid,<br /><br />  <mx:groupedColumns><br />...<br />...<br />  </mx:groupedColumns>  <br />  <mx:rendererProviders>            <br />        <mx:AdvancedDataGridRendererProvider   <br />            dataField="Actual" <br />            renderer="ChartRenderer" <br />            columnIndex="3" <br />            />         <br />    </mx:rendererProviders>  <br /><br />My Chartrenderer:<br /><br /><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" <br />     xmlns:local="*"><br />  <mx:Script><br />    <br />          import mx.collections.ArrayCollection;<br />          import mx.controls.Image;<br />          private var images:Array;                <br />          private var catalog:ArrayCollection;          <br />          private static var cat:Array = [<br />              "kpi_overtime_bar_10.png", "kpi_overtime_bar_20.png",<br />              "kpi_overtime_bar_30.png", "kpi_overtime_bar_40.png"<br />           ];<br />          <br />                    <br />           private function initCatalog(items:Array):void<br />           {<br />              catalog = new ArrayCollection(items);<br />              myList.dataProvider = catalog;<br />           }<br />                                     <br />      <br />    </mx:Script><br />     <mx:VBox height="20" width="40%" xmlns:mx="http://www.adobe.com/2006/mxml"<br />          horizontalScrollPolicy="off" <br />          verticalScrollPolicy="off"><br />          <mx:HorizontalList width="100%" id="myList"  <br />               horizontalScrollPolicy="off"<br />               verticalScrollPolicy="off"<br />               columnCount="4" <br />               creationComplete="initCatalog(cat)"><br />              <mx:itemRenderer><br />                    <mx:Component><br />                         <mx:Image width="50%" height="20"<br />                              maintainAspectRatio="false"/>                                <br />                    </mx:Component><br />               </mx:itemRenderer><br />          </mx:HorizontalList><br />     </mx:VBox><br /><br /></mx:Application><br /><br />This is a test I've done to see if I can palce a list of images in a cell,<br />and I can :)<br /><br />I have 2 problems:<br /><br />1. Here the size of each image is contant, I need a way to set each image in the list to be different,<br />Can I do it? <br />2. I need to load the images dynamically and not from a fixed Array,<br />Can I do it?<br /><br />It will be great to get help.....<br />Thanks<br />Jo

    On Sunday 15 Feb 2009, Yossi Bar wrote:
    > I think not all my descussion detailes were shown,
    I think you should be asking on FlexCoders...
    Tom Chiverton
    Helping to collaboratively enable 24/7 plug-and-play portals
    This email is sent for and on behalf of Halliwells LLP.
    Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the
    registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority.
    CONFIDENTIALITY
    This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500.
    For more information about Halliwells LLP visit
    www.halliwells.com.

  • Problem with Management Console for Netweaver Development Studio

    I installed the  Netweaver Development Studio and all works fine
    Normally the MMC shows SAP Systems and a J2E instance below it which is used to start the services
    But when I shutdown my machine and restart it again the J2E item below the SAP Systems does not appear and  I cannot restart the J2E/SAP/DB/J2EE services
    Is there another way I could restart all the related services from a batch file or a utility that takes a config file
    because for the last few days I am having to re-install the Developer studio to get it to work
    Please help me on this because I am wasting atleast 2 hrs daily to reinstall so that I can control all my services
    thanks
    Tony

    I think I temporarily fixed this problem I am not sure how this will affect the development.
    But atleast I can start the J2EE/DB services so that I can start and stop services from the MMC
    What was happening was that the services
    SAPJ2E_00
    SAPJ2E_01
    were not starting up because of the logon problems, the default account that was created SAPService( something like that ) was not able to log on, I changed the logon permissions to "Local System" and started the service, this time atleast the service started.
    I need to launch the Development Studio and see if I am able to work with the new account permissions on the J2EE server

  • Problem setting up printer for AirPort Extreme wireless printing

    I have an AirPort Extreme 802.11n and I've connected my Canon MP240 printer to it via USB. However, my MacBook Pro (running OS X 10.8.4) says the printer is "offline" when it is plugged into AirPort Extreme and turned on. When I try to add it as a new printer, it recognizes it as a "Nearby Printer" and asks me to download and install the software from Apple. It then searches for the software for about a minute and gives me this error message: "Can't install the software for the Canon MP240 series because it is not currently available from the Software Update server." I've tried directly downloading the drivers from Apple's website http://support.apple.com/kb/DL899 and from Canon's website http://www.usa.canon.com/cusa/support/consumer/printers_multifunction/pixma_mp_s eries/pixma_mp240#DriversAndSoftware but neither work.
    HOWEVER, the strangest part is if I were to connect the printer to my MacBook Pro directly via USB, it recognizes the printer and I can print no problem. This leads me to believe the drivers have already been installed onto my computer. If anyone knows how to get around this issue I'd greatly appreciate the help.

    Hi biyyadiii,
    If you are having issues setting up your printer via your Airprot Extreme, you may find the following article helpful:
    Apple Support: USB printer troubleshooting for AirPort Express, AirPort Extreme, and AirPort Time Capsule
    http://support.apple.com/kb/TS1253
    Cheers,
    - Brenden

  • Have problem setting Email alerts for Calendar events. Warning message says I need to set up a card in Contacts with my email. I do but it doesn't recognize it. How do I indicate the email I want alerts sent to?

    The system of setting up email alerts for Calendar events worked fine in Snow Leopard but since I upgraded to Mt. Lion Calendar won't let me set email alerts. When I try, I get an error message saying I need to set up a card in Contacts for my email. I have a card set up in Contacts for both of my email addresses but it doesn't recognize them. Perhaps the name I have on the card doesn't match a name that Calendar is looking for. Calendar doesn't seem to have a way in Preferences or elsewhere to indicate the email I want alerts sent to. Any ideas how I can get this system working again? Thanks for your help.

    You might want to consider starting a new discussion. Since this one is marked solved, less people are likely to look at it. You can link to this one.
    See if another contact is marked as this is my card.

  • Problem setting up database for dreamweaver 8 to use on testing server

    I am trying to try out dreamweavers database features, by
    trying to set up a connection to mysql database. How ever I recieve
    errors when trying to select my database. Either I get a long error
    that says it can not find localhost//_mmHTTP... something like that
    or undefiend errors message.
    I am using wamp5 set up on my local machine that installed
    apachie,php,mysql in one package. So maybe that has something to do
    with it, but none the less can someone give me a example of how
    they set theirs up to work with examples of where files should be
    located I can not seem to find anything like this in google, and I
    dont want to set it up on a remote server yet until I tested things
    on my local machine.

    Thanks Seth,
    I ran jcounsole, but I don't see anything except the process monitor registered.
    I don't think the server is starting sucessfully after the exception becuase I don't see the other parts
    of the application running.
    I forgot to mention in the last post that I've also added the line
    <BR>
    <BR>
    -Xbootclasspath/a:C:\bea\wlevs20\bin\mysql-connector-java-3.0.17-ga-bin.jar
    <BR>
    to the startup script to add in the location of the jar file that contains the JDBC driver.
    I was going to post the full stacktrace, but it's fairly long so I'll hold off unless you think it may help.
    I do get one additional exception after the <Server STARTED> message which is:
    A service of type "com.bea.core.datasource.DataSource:com.bea.core.datasource.DataSourceFactory" from file "OSGI-INF/datasource.xml" in bundle "com.bea.core.datasource" could not be advertised because all required services are not available. In particular, these are not available:
         1. RequiredReferenceImpl(filter="(objectClass=com.bea.core.transaction.TransactionManagerService)")
    <BR>
    but I think it may be related to the fact that the data source isn't being created.
    <BR>
    Thanks very much for taking a look,
    <BR>
    Mike

  • Problem setting up crontab for cyrusimap

    Greetings all.
    I've just finished setting up OS X Server 10.4.10 on an intel mac, and was trying to setup a crontab for cyrusimap to make sure that all mail for JUNKMAIL and NOTJUNKMAIL users is deleted automatically using ipurge.
    I created the following crontab file:
    <pre>
    0 0 */0 * * /usr/bin/cyrus/bin/cyrus-quota -q
    30 1 * * * /usr/bin/cyrus/bin/ipurge -f -d 1 user/junkmail user/notjunkmail
    </pre>
    And then tried loading it in via:
    <pre>
    sudo crontab -u cyrusimap <PATHTOCRONTAB>
    </pre>
    However crontab just hangs hogging 90%+ of the CPU!? The permissions in /var/cron/tabs seem ok, with full read/write for root.
    Any ideas? Thanks in advance,
    Mezza

    Mezza,
    cron is not used by default in OS X although it is certainly supported.
    See http://www.afp548.com/article.php?story=20050620071558293
    Since you did not explicitly state the "path to crontab"
    I wonder if you might be trying to run root's crontab as user cyrusimap, which of course won't work. See the crontab manpage for a possible exception although I wouldn't recommend it.
    The crontab file for cyrusimap is empty by default in 10.4 server

  • Problem setting up Tax for R12 Internet Expenses

    I am using Oracle R12 and am in the process on configuring Internet Expenses and have come across an issue with the tax set up. My issue is that I have created new tax rates in the Tax Manager responsibility for internet expenses (i have enabled the Internet Expenses check box when defining this new rate) and have assigned these rates to items in the Expense Templates. I have also enabled the profile option OIE: Enable Tax profile however when I create an expense report and it is imported into Payables the expense report does not populate with the tax code that I configured in the expense template. The tax code that is being populated is the default defined against the country code which is incorrect. Does anyone have any ideas how I can get the expense report to import with the correct tax code that is populated against the item in the expense template? Thanks

    Log into tax manager
    navigation: default and controls --->application tax options , in the application name, select internet expenses
    this where you tell the system to pick up tax from, depending on your set up, the tax gets defaulted
    so you need to define the hierarchy and if you want tax to default from you expense template you need to stipulate that in the set up
    Regards

  • Problems setting "table reference" for TopLink relationships

    I'm trying to use TopLink to create Java objects over two tables that are linked in a many-to-many relationship. I followed the instructions on the 10g tutorial page (drag all three tables into a database diagram), then created a new field (of type Collection) in each of the tables that I'm joining. I then set them both to be many-to-many, and tried to configure the first one. On the general tab, I've set the 'Reference Descriptor' to point to the other table. I've set the 'Relation Table' to point to the associative entity, and disabled indirection.
    When I go to the 'Source Reference' tab, there's nothing in the 'Table Reference' dropdown, and there's no button to create anywhere I can find on that screen. From what I've found looking at old TopLink documentation online, there were new, add, and remove buttons off to the right on older versions of TopLink.
    What do I have to do in this version to create a table reference I can use for the join?
    If I run the 'mapping status report' for the object I'm working with (persons), I get the following:
    Mapping persons -> Table reference is invalid because of the target table chosen.
    Mapping persons -> No table reference is selected.
    Mapping persons -> No source reference is selected.
    Mapping persons -> No target reference is selected.
    I don't really know enough about TopLink to know if these error messages are pointing at something other than the fact that I can't get a table reference to show up or not.
    I'm using the JDeveloper 10g preview (build 1375).
    Thanks in advance for any ideas you might have,
    Jonathan

    I'm trying to use TopLink to create Java objects over two tables that are linked in a many-to-many relationship. I followed the instructions on the 10g tutorial page (drag all three tables into a database diagram), then created a new field (of type Collection) in each of the tables that I'm joining. I then set them both to be many-to-many, and tried to configure the first one. On the general tab, I've set the 'Reference Descriptor' to point to the other table. I've set the 'Relation Table' to point to the associative entity, and disabled indirection.
    When I go to the 'Source Reference' tab, there's nothing in the 'Table Reference' dropdown, and there's no button to create anywhere I can find on that screen. From what I've found looking at old TopLink documentation online, there were new, add, and remove buttons off to the right on older versions of TopLink.
    What do I have to do in this version to create a table reference I can use for the join?
    If I run the 'mapping status report' for the object I'm working with (persons), I get the following:
    Mapping persons -> Table reference is invalid because of the target table chosen.
    Mapping persons -> No table reference is selected.
    Mapping persons -> No source reference is selected.
    Mapping persons -> No target reference is selected.
    I don't really know enough about TopLink to know if these error messages are pointing at something other than the fact that I can't get a table reference to show up or not.
    I'm using the JDeveloper 10g preview (build 1375).
    Thanks in advance for any ideas you might have,
    Jonathan

Maybe you are looking for

  • No script engine supported for 'JScript' error in OBIEE 11G ibots

    Infrastructure: 64 bit OBIEE 11.1.1.5 on 64 bit Red-Hat Enterprise Linux 5.6 We tried using *.java to export the delivery content of an 'Agent' and place it in a shared folder on Windows. We are able to use the .java file directly in putty and it wor

  • "run" "script" "my", what are the rules for using different handlers?

    Hi I am a very big newbie to this apple script, and I am getting confused how to organize my scripts with functions such as "my" "script" "run".  Please send me a tutorial! DOUG

  • Get the class attributes name dynamically?

    Hi all, I have to call a transformation and give it as result parameter an internal table with ABAP_TRANS_RESBIND_TAB type. How can I get the name & the adresse of the current class parameters ? Thanks. Edited by: Noureddine MOUTAA on Oct 20, 2008 2:

  • How can i make a 'publish preview' in a browser from a jsfl script?

    I created a jsfl script that modifies and after publishes a .html file. I would like to be able to test this html file in a browser. Window.open doesnt seem to work in jsfl. Is there another solution that i can use?

  • Re-Install CS5.5 Design Standard

    After about an hour with Adobe Support chatting, they suggested (actually demanded) that I try this forum for an answer.  My son's mac fried the hard drive and he needs to reload CS5.5 design standard.  We received a serial number and Adobe Chat gave