PowerShell Configuration Iteam: always report compliant even if recovery is not successfull
Hello,
I developped a SCCM 2012 configuration item based on two PowerShell scripts... Below is the generic structure:
The discovery part works fine. Based on several tests, the right result is always sent back to SCCM
In my specific case, it is expected that the remediation script is not always successfull (for instance, I could attempt to free up some disk space and it might not be possible to go back above the specified thresold to be compliant)... In such a case,
my problem is that the remediation script reports a status "OK" while I am expecting to get "not ok (even after remediation trial)"
Does anybody see something wrong in my script structure ? Or do I misunderstand how to properly handle return code for configuration item scripts ?
Regards.
Discovery.ps1
if ("test if compliant") {
"ok"
} else {
"not ok"
Remediation.ps1
### Execute commands here to remediate the configuration ###
### Test again to see if the client is now compliant
if ("test if compliant") {
"ok"
} else {
"not ok (even after remediation)"
You don't have to deal with an (non zero) exit code at all. Just use one of the first four lines from the table (taken from the link above):
Script exit code
Data read from STDOUT
Data read from STDERR
Script result
Application detection state
0
Empty
Empty
Success
Not installed
0
Empty
Not empty
Failure
Unknown
0
Not empty
Empty
Success
Installed
0
Not empty
Not empty
Success
Installed
Torsten Meringer | http://www.mssccmfaq.de
Similar Messages
-
Files in itunes Library always in use, even when itunes is not running.
I get this error message when I try to copy my itunes library to a new external hd:
One or more items in “Macbook Pro Music Library” can’t be changed because they are in use.
Does anyone know how to fix this? I lose a bit of my library everytime I copy it.Disable Preview in Windows Explorer or close Windows Explorer.
-
I have a significant number (but not all) of my SCCM 2012 R2 CU3 clients not updating though my SCCM software updates. On these problem clients, I get this error in WindowsUpdate.log:
"COMAPI WARNING: ISusInternal::GetUpdateMetadata2 failed, hr=8007000E"
Then these machines report "Compliant" even though they don't install the updates. Almost all of our workstations are Windows 7 SP1 32bit. We are running SCCM 2012 R2 CU3. My site servers are running Windows 2008 R2.
I don't see much in WUAhandler.log or scanagent.log. These client are however, getting my SCEP definition updates just fine. (I have an ADR for those.) And when you go out to Microsoft for security updates it works. I have tried all of the usual Windows
Updates repair suggestions (re-register dlls, rename software distribution folder, etc.) And I tried un-installing and re-installing the SCCM client on a problem PC, to no avail. I also tried using a Software Update Group with fewer updates (<100) and targeting
a problem system with only that SUG, to no avail.
Any assistance would be greatly appreciated. Thank you.Hi all,
One of the bigger nuissances of this particular bug is that it's hard to identify from a central location that you've fallen victim to it. Without spot-checking client machines you'd be none-the-wiser. This most likely results in a lot of shops out their
thar are completely unaware they have a security issue with a false sense of "fully patched" security.
I've create the following guidelines to identify whether you are indeed one of the victims.
create a script configuration item.
Select All Windows 7 32 bit as the supported platform
Use String as the data type
Choose powershell as your script language of choice
Paste the following text in the discovery script:select-string-pattern'GetWARNING:
ISusInternal::GetUpdateMetadata2 failed, hr=8007000E'-path"$env:windir\windowsupdate.log"
Add the configuration item to a Configuration baseline
Deploy the configuration baseline to All Windows 7 32bit machines
The report list of assets by compliance state for a given baseline is a good report to check the results.
!!!! Any machines reporting compliant to this baseline have a serious issue as they won't install any software updates, yet report compliant on all !!!!
Good luck
Hi, Does the configuration item need any kind of compliance rule setup to make it work? -
CI - Powershell Boolean Rule Always Returns True
I'm trying to create a configuration baseline / item for a particular piece of software using a powershell script of data type Boolean. However, I'm having the issue that the evaluation is always returning compliant whether the workstation is or not. The
script is as follows:
$ErrorActionPreference = "SilentlyContinue"
$Condition1 = (Test-Path -LiteralPath 'HKLM:\SOFTWARE\Adobe\Premiere Pro')
$Condition2 = (Test-Path -LiteralPath 'C:\Program Files\Adobe\Adobe Premiere Pro CS6\Presets\Textures\720_govt1_bar.png')
if ($Condition1) {
if ($Condition2) {echo $true}
else {echo $false}
else {echo $true}
This script works perfectly fine when run locally and always returns $true or $false as expected. However it only ever returns Compliant when used in a CI. It doesn't matter what the state of the 2 conditions are, it always evaluates Compliant.
Any ideas?I'm beginning to wonder if there is variation between how well this feature works on Windows 7 and Windows 8.1. I'm beginning to notice that it usually works well on 7 but I have constant hell with it on 8. The last thing I tried which seemed to work (assuming
it was not just randomness) was accepting the default "Platform" settings of the CI/CB. Before I had chosen Windows 7 and 8.1 only and was never able to return any value except Compliant on 8. Accepting the all platforms default Finally
allowed me to show a state of Non-Compliant on 8. This was using a powershell script of string data type as discussed previously.
My latest torment is discovering how to force a true re-evaluation of an updated CI/CB. In my non-compliant Win8 example, I have added a remediation script to an existing Monitor-Only CI and configured it to remediate. In my Win 7 members of the collection,
everything works successfully, the condition is remediated and the state reports Compliant but on the Win8, although the local Control Panel applet shows both the CB and CI to have new revisions and the evaluation shows it has run with a new date/time,
the remediation script never runs and changes to Compliant.
Any suggestions how I can force an updated CI/CB to really re-evaluate, not just report it has? -
Why does the snmpcoll process always start up even if SNMP
Statistics Collection is turned off?
<P>
The SNMP Statistics Collection field on the Server Status|SNMP
Subagent Configuration form affects only the SNMP subagent, which is a separate entity from
the collector process (snmpcoll). Currently, snmpcoll does not look
at the SNMP configuration data when it starts up. It is started by
the dispatcher and terminates when the dispatcher terminates. Many
of the statistics are supposed to reflect cumulative values recorded since MTA
initialization, such as the total number of messages sent and received.
As a convenience, the collector process collects information in the
background even while the SNMP subagent is turned off; this way,
the values are available when the SNMP subagent is configured and
turned on.Collections fall off on the Date of First Deliquency 7-7.5 years later; that is supposed to be reported as the first time you went late (1-30 days) on the OC (original creditor) in the chain of events leading up to it's being farmed out for collection as I underestand it. DOFD though sometimes doesn't get reported right, and by default it will be the date the collection is added to the bureaus. As an example I have an awkward collection (not sure how I got it looking at the payment history thought I'd cancelled that account but TWC billing apparently didn't think so) which I went late on in 2009, but didn't get farmed out till late 2010. The DOFD is 6/09 looking at it, and it's expected to come off according to the bureaus 6/16 as a result. Different negatives have their own rules though.
-
IDM Demo always reports connection failed for Solaris target
I'm setting up the IDM Demo, using the Setup Wizard, using a Solaris 10 container as
the target system. For this demo, I'm using telnet directly as root, which seems to be
the only method available. This succeeds when I run telnet by hand from the IDM host
to the target host. When I test the connection from the wizard, after a long delay, it
always reports that the test connection failed. However, the console log on the target
system shows a successful login. The Details button says that it was looking for `_.)#+(:',
regardless of what I specify as the `Login Prompt'. (I assume this really means the shell
prompt.) I've tried changing the shell prompt by setting PS1 in /.profile and tried suppressing
the banner by creating a /.hushlogin file. Still, the test button always reports that the
connection failed. What's wrong here?ah, familiar territory :)
the string _.)#+(: is something that the adapter uses as a suffix to check whether the previous command executed has changed state or not. The assumption being that _.)#+(: will not be encountered as output of any command on Solaris.
1. Try connecting as root
2. Whats your IDM version?
3. Try this: login as root over putty, and paste whatever strings you get into the adapter configuration page on IM (for say, prompt, etc.)
4. Tracing the following variables can give you better details regarding where its getting stuck:
com.waveset.adapter.SolarisResourceAdapter
com.waveset.adapter.SVIDResourceAdapter
com.waveset.adapter.ScriptedConnection
Hope this helps!
Ankush -
CISCO CLEAN ACCESS AGENT ALWAYS POPS-UP EVEN ALREADY AUTHENTICATED
Hello,
Just wonder why clean access agent always pops-up even already authenticated. Please how can i eliminate those multiple pops-up?
thank you and best regards,
EdwinHi:
I have the same issue. Would you please tell me what you did exactly?
I am using OOB VGW mode.
NAC version is 4.7.2
Switch configurations:
snmp-server community RO RO
snmp-server community RW RW
snmp-server location LOCATION
snmp-server contact CONTACT
snmp-server enable traps snmp linkdown linkup
snmp-server enable traps mac-notification change move threshold
snmp-server host CAM_IP version 2c RW mac-notification snmp
mac address-table notification change interval 0
mac address-table notification change
mac address-table aging-time 3600 -
Servers showing compliant even patches are not installed in the server
Hi
We are using SCVMM2012 and Patches are not getting downloaded on to the server even though in the report of complaince SCVMM2012 it says compliant, even patches are not instaled in the server.
What should i do for the same.
ThanksPlease post the output of:
dmesg -c
modprobe e1000e
dmesg -
Unable to configure BI Publisher report with Primavera Unifier
Hello Friends,
We have installed Primavera Unifier 9.14 release on one Linux machine and OBIEE 11.1.1.7.0 is installed on another Linux machine.
For configuration, we shared OBIEE installed folder with the Primavera Linux machine.We followed all the steps that are mentioned in the configuration guide for OBIEE(BI Publisher) with Unifier.
While configuring BI Publisher Reports with Unifier,we are getting following error: Test connection failed.
"failed to create URL for the wsdl location: 'META_INF/wsdl/Catalogservice.wsdl' retrying as local file.
no protocol: /META_INF/wsdl/CatalogService.wsdl"
Unifier Log message:
ERROR: getCatalogInfo.ex=javax.xml.ws.WebServiceException: Provider com.sun.xml.ws.spi.ProviderImpl not found.
We have tested BIP login on Unifier application server machine and its working fine.
BIP END URL used: http://hostname:9704
BIP User: BIPUSER123
BIP Password: BIPUSER123
BIP Report Folder: ReportFolderName
BIPUSER123 user has admin privileges and also ReportFolder is having required access.
Is there any workaround or are we missing some configurations?
Thanks in Advanceconfigure one more virtual path which is unprotected from site minder. we had similar issue for Marketing and resolved by this virtual path.
ref:
http://vaandun-analytics.blogspot.com/2009/11/obi-publisher-with-empty-obi-catalog.html
Thanks
Sarathi -
Error in configuration of financial reporting in workspace web server
Hello,
I met an issue few days ago, and impossible for me to correct...
My installations are as following :
Server A :
Foundation Services
Workspace Services
EPMA + Calc Manager
EAS
Server B :
Planning
Worskpace Web
Financial Reporting
Server C :
Worskpace Web
Financial Reporting
I try to install a 4th Server exactly as the Server C.
Installation of Workspace Web : OK
Configuration of Workspace Web : OK
Installation of Financial Reporting : OK
Configuration of Financial Reporting : OK
Configuration of Foundation Workspace WebServer : KO
The configtool.err says :
(Apr 21, 2013, 02:08:23 AM), com.hyperion.avalanche.config.WebServerConfigurationTaskProcessor, ERROR, Error in web server configuring: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at com.hyperion.avalanche.HttpServerConfigurator.getWebComponentsList(HttpServerConfigurator.java:1247)
at com.hyperion.avalanche.HttpServerConfigurator.configureApache2(HttpServerConfigurator.java:246)
at com.hyperion.avalanche.HttpServerConfigurator.configure(HttpServerConfigurator.java:181)
at com.hyperion.avalanche.config.WebServerConfigurationTaskProcessor.execute(WebServerConfigurationTaskProcessor.java:70)
at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.executeCustomTask(RunAllTasksWizardAction.java:741)
at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.execute(RunAllTasksWizardAction.java:188)
at com.installshield.wizard.RunnableWizardBeanContext.run(Unknown Source)
After this configuration error, everything is ok in the worskpace except Financial Reporting elements.
After this configuration error, every configuration fails, I'm obliged to uninstall all the components of this server (Workspace Web and Financial Reporting).
This issue comes from the configuration of Financial Reporting in Workspace Web : Financial reporting is available from worskpaces of servers B and C.
Thanks for helping us.hi,
maintain ports in xi system with naming convention <SAP(system id of R/3 )>EX: SAPSR3,and assign proper RFC destination to it...and in the same way do it in R/3 system
Check note 838560 for "RFC_ERROR_SYSTEM_FAILURE "
and Depending on what database you use check the database logs.
U can check with this RFC_ERROR_SYSTEM_FAILURE link,
http://help.sap.com/saphelp_erp2005/helpdata/en/ca/115e4088dc0272e10000000a155106/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm
Note: reward points if solution found helpfull
Regards
Chandrakanth.k -
Hello,
I am facing following issue regarding web analytic service for specific date 2014-08-18:
Verified following services which are running and status was success on that specific date 2014-08-18 :
Web Analytics Service
Microsoft Usage Data Import
Microsoft SharePoint Foundation Usage Data Processing
Observed latest Web Analytics Setting as below :
LastAggregationDateId
20140817 - The date id of the last successfully completed data aggregation
LastAggregationTime
2014-08-18T00:00:13.210 - The time of the last successfully completed data aggregation
LastBestBetSuggestionAggregationDateId
20140818 - The date id of the last successfully completed best bet suggestion data aggregation. This date id should not be reset to an earlier date manually.
LastDataCopyTime
2014-08-17T23:59:09.693 - The last time the data were copied from the staging databases to this reporting database for aggregation
Above settings says that Data has not copied from Staging DB to Reporting DB on Date 2014-08-18
In order to verify the same I have checked as follow:
SELECT COUNT (*) FROM [dbo].[WATrafficAggregationByDate] WITH (NOLOCK)
WHERE [DateId] = 20140818
Above SQL Query has returned ZERO value.
Can anyone please let me know Why data has not been copied from staging DB to Reporting DB even timer job status is success ?
Your help will be much appreciated.
Thanks and Regards,
Dipti ChhatrapatiThe image itself has the answer
The user requests a page, and the action gets picked up by the Web Analytics service that runs on SharePoint.
The Web Analytics service logs this in the “.usage” files.
A Timer job called “Microsoft SharePoint Foundation Usage Data Import” by default runs every 30 minutes. It imports the logs into the staging database.
Each night the “Microsoft SharePoint Foundation Usage Data Processing” Timer job runs and transforms the data into the reporting database.
The last run time of the import from staging and the aggregation is logged in the Settings table in the Reporting database.
Usage and Health Data Collection Service Application collects Data about Usage and Health of your farm.
This information is used for Health Monitoring and this is also required for running the Web Analytics Service. If you do not have a Usage and Health Data Collection Service Application or your
Usage and Health Data Collection Proxy is stopped, you will not see any data in the Web Analytics Report
Regards Chen V [MCTS SharePoint 2010] -
Problem configuring the OBIEE Report Viewer Portlet to Oracle Portal!
Now we plan to configure the OBIEE Report Viewer Portlet to Oracle BIEE.what i refre is http://www.rittmanmead.com/2007/09/integrating-oracle-bi-answers-and-oracle-portal/
But after i deploy it and add the biee portlet to oracle portal and enter the biee reoprt path,tell me the error '(500)Internal Server Error '
I have check the applicaion.log,the error below:
11/12/18 00:55:26 BIEE: [id=84609988305,3] EXCEPTION THROWN: Exception:
org.apache.axis.ConfigurationException: No service named SAWSessionServiceSoap is available
org.apache.axis.ConfigurationException: No service named SAWSessionServiceSoap is available
at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:233)
at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
at org.apache.axis.MessageContext.setTargetService(MessageContext.java:755)
at org.apache.axis.client.Call.invoke(Call.java:2671)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at com.siebel.analytics.web.soap.SAWSessionServiceStub.impersonateex(SAWSessionServiceStub.java:540)
at com.siebel.analytics.web.portlets.jsr168.SAWConnection.init(SAWConnection.java:80)
at com.siebel.analytics.web.portlets.jsr168.ReportUI.getSAWConnection(ReportUI.java:911)
at com.siebel.analytics.web.portlets.jsr168.ReportUI.getSAWPage(ReportUI.java:1016)
at com.siebel.analytics.web.portlets.jsr168.ReportUI.doViewIFrameWithActionLinks(ReportUI.java:428)
at com.siebel.analytics.web.portlets.jsr168.ReportUI.doView(ReportUI.java:178)
at javax.portlet.GenericPortlet.doDispatch(Unknown Source)
at com.siebel.analytics.web.portlets.jsr168.ReportUI.doDispatch(ReportUI.java:1058)
at javax.portlet.GenericPortlet.render(Unknown Source)
at oracle.webdb.wsrp.server.Server.getMarkup(Unknown Source)
at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Tie.invoke_getMarkup(WSRP_v1_Markup_PortType_Tie.java:224)
at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Tie.processingHook(WSRP_v1_Markup_PortType_Tie.java:499)
at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:230)
at com.sun.xml.rpc.server.http.ea.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:153)
at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(Res
ourceFilterChain.java:65)
at oracle.webdb.wsrp.server.ContextFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(
ServletRequestDispatcher.java:663)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forward
Internal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processReques
t(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequest
Handler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequest
Handler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWork
er.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:233)
at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
at org.apache.axis.MessageContext.setTargetService(MessageContext.java:755)
at org.apache.axis.client.Call.invoke(Call.java:2671)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at com.siebel.analytics.web.soap.SAWSessionServiceStub.impersonateex(SAWSessionServiceStub.java:540)
at com.siebel.analytics.web.portlets.jsr168.SAWConnection.init(SAWConnection.java:80)
at com.siebel.analytics.web.portlets.jsr168.ReportUI.getSAWConnection(ReportUI.java:911)
at com.siebel.analytics.web.portlets.jsr168.ReportUI.getSAWPage(ReportUI.java:1016)
at com.siebel.analytics.web.portlets.jsr168.ReportUI.doViewIFrameWithActionLinks(ReportUI.java:428)
at com.siebel.analytics.web.portlets.jsr168.ReportUI.doView(ReportUI.java:178)
Then i goolge,and find the likely error at https://kr.forums.oracle.com/forums/thread.jspa?threadID=875397
But after i change the portlet.xml and web.xml and restart the oc4j_portal,still face the same error
I don't know how to resolve the problem
Anyone can help me ?
I have wait about 15 days,but still can not find any useful solution!
'the web.xml under oc4j_portal/portal below:
$ more web.xml
<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2/dtd">
<web-app>
<distributable/>
<listener>
<listener-class>oracle.webdb.portal.servlet.PortalServletContextListener</listener-class>
</listener>
<servlet>
<servlet-name>RepositoryServlet</servlet-name>
<servlet-class>oracle.webdb.repository.servlet.RepositoryServlet</servlet-class>
<init-param>
<param-name>logmode</param-name>
<param-value>error</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>PortalServlet</servlet-name>
<servlet-class>oracle.webdb.portal.servlet.PortalServlet</servlet-class>
<init-param>
<param-name>logmode</param-name>
<param-value>error</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>page</servlet-name>
<servlet-class>oracle.webdb.page.ParallelServlet</servlet-class>
<!--
<init-param>
<param-name>logmode</param-name>
<param-value>perf</param-value>
</init-param>
-->
<init-param>
<param-name>jspRoot</param-name>
<param-value>internal_jsp</param-value>
</init-param>
<init-param>
<param-name>jspSrcAlias</param-name>
<param-value>/internal_jsp/</param-value>
</init-param>
<init-param>
<param-name>useWebCache</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>maxParallelPortlets</param-name>
<param-value>20</param-value>
</init-param>
<init-param>
<param-name>maxParallelPagePortlets</param-name>
<param-value>10</param-value>
</init-param>
*<init-param>*
*<param-name>resourceUrlKey</param-name>*
*<param-value>0123456789</param-value>*
*</init-param>* </servlet>
<servlet>
<servlet-name>apploader</servlet-name>
<servlet-class>oracle.webdb.apploader.AppLoaderServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>PortalServlet</servlet-name>
<url-pattern>/pls/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>PortalServlet</servlet-name>
<url-pattern>/page*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>PortalServlet</servlet-name>
<url-pattern>/event*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>PortalServlet</servlet-name>
<url-pattern>/witness/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>apploader</servlet-name>
<url-pattern>/apploader</url-pattern>
</servlet-mapping>
<context-param>
<param-name>oracle.webdb.service.ConfigLoader</param-name>
<param-value>/WEB-INF/wwjps.xml</param-value>
<description>This parameter specifies the location of the JPS configuration file</description>
</context-param>
<context-param>
<param-name>oracle.webdb.portal.PortalServletContextListener.logmode</param-name>
<param-value>error</param-value>
<description>This parameter specifies the logging mode for the context listener</description>
</context-param>
</web-app>
$ -
Configuring rwservlet for Reports.
Hello,
When I run a .jsp report using rwservlet, does it invoke
oracle.runtimev2.JspServlet?
How do I configure it to run in 'justrun' mode without precompile? Changing the 'main_mode' parameter in global-web-application.xml doesn't seem to help. My report is getting compiled every time I run.
I generated the binary files for the .jsp report using ojspc. Now, where do I configure the location of the .class files?
(Where do I find this kind of information - specific to pre translation of .jsp reports?)
Thanks,
Murali.Murali,
.jsp report run through rwservlet, doesn't support precomplied jsp.It is being planned fornext release
If your objective is for running a jsp web report then you can use reports JSP mode ( deploy the reports jsp in OC4J - refer to OTN reports doc umention on this) and not rwservlet.
If you are wantig to run papaer report ( with reports layout), then one possible way is use rwconevrter to conevr the .jsp to .rep and use that in the finral request
Thanks
The Oracle Reports team -
Configuration doc for Report painter
Hi Friends,
Can any one send configuration document for Report painter?
[email protected]
Regards
Babuhi
find this link
http://www.virtuosollc.com/PDF/Get_Reporter.pdf -
Configuration of EWA reports for java systems.
Hello,
I am facing a problem with configuration of EWA reports for SAP NW Portal.
I have already configured EWA for abap systems, and those are running good on weekly basis. but i have problem with configuration of reports for java systems.
So far, i have installed an SMD agent and CA on my EP-satellite system. I have also configured and SMD server on my Sollution Manager and registered the SMD agent on SMD server and installed Willy Introscope on SMD server.
I am using a central SLD which is running on different host as Solution Manager. I did all the configuration (smsy_setup, configuration of sld_data_supplier etc... )
I have also created the system in SMSY, matched the smsy with SLD and assigned Logical component to java system.
So far, so good according to manuals but when i want do define data collection in the SMD for Gargage Collection (task in scheduler) i cannot see host of my portal system.
I can see only the hosts (scheduler tasks ) of all abap system for which the EWA reports have already been generated.
Am i missing something?
Some configuration in SMD?
My solution manager is running on Sap NW 7.0, SPS16,
Sattelite system NW 7.0 EP, SPS 6 (planning to SPS 19)
Thank you for your advices!!!Hi Suveer,
I did the configuration before. I forgot to mention it.
I found this errors in Diagnostic Setup, maybe this could be the cause of the issue.
Step BI Details
Cannot invoke CCMSBISETUP on host localhost
!! Exception : An exception occured during the execution of this function 'CCMSBI_RUN_SIMPLE_SETUP_IN_BTC'.(cause=com.sap.sup.admin.abap.rfc.exception.RfcExecutionException The function named 'CCMSBI_RUN_SIMPLE_SETUP_IN_BTC' doesn't exist!)
Exceptions
com.sap.sup.admin.abap.rfc.exception.RfcExecutionException: An exception occured during the execution of this function 'CCMSBI_RUN_SIMPLE_SETUP_IN_BTC'.
at com.sap.sup.admin.abap.rfc.function.RfcFunction.execute(RfcFunction.java:92)
at com.sap.sup.admin.setup.AbapSysRfcAdapter.setupBIConfiguration_ccmsBiSetup(AbapSysRfcAdapter.java:743)
at com.sap.sup.admin.setup.AbapSysRfcAdapter.setupBIConfiguration_ccmsBiSetup(AbapSysRfcAdapter.java:727)
at com.sap.sup.admin.setup.ManagingServices.startCcmsBiSetup(ManagingServices.java:2686)
at com.sap.sup.admin.setup.SetupStep.execute(SetupStep.java:334)
at com.sap.smd.agent.plugins.remotesetup.SapInstance.setup(SapInstance.java:304)
at com.sap.sup.admin.setup.wizard.monitoring.ConfirmationView.setupSMDServer(ConfirmationView.java:378)
at com.sap.sup.admin.setup.wizard.monitoring.ConfirmationView.onActionSetupServer(ConfirmationView.java:211)
at com.sap.sup.admin.setup.wizard.monitoring.wdp.InternalConfirmationView.wdInvokeEventHandler(InternalConfirmationView.java:278)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sap.sup.admin.abap.rfc.exception.RfcExecutionException: The function named 'CCMSBI_RUN_SIMPLE_SETUP_IN_BTC' doesn't exist!
at com.sap.sup.admin.abap.rfc.function.RfcFunction.execute(RfcFunction.java:62)
... 37 more
And also this one>>
Step RFC Details
Failed to create TCP/IP RFC on ABAP side (SM59)
!! Exception : Source system cannot be set to Unicode , error key: RFC_ERROR_SYSTEM_FAILURE
Exceptions
com.sap.aii.proxy.framework.core.BaseProxyException: Source system cannot be set to Unicode , error key: RFC_ERROR_SYSTEM_FAILURE
at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
at com.sap.sup.admin.setup.abapproxy.tcpiprfc.TcpIpRfcProxy_PortType.inst_Create_Tcpip_Rfcdest(TcpIpRfcProxy_PortType.java:16)
at com.sap.sup.admin.setup.ManagingServices.createTcpIpRFC(ManagingServices.java:663)
at com.sap.sup.admin.setup.ManagingServices.createTcpIpRFC(ManagingServices.java:637)
at com.sap.sup.admin.setup.SetupStep.execute(SetupStep.java:300)
at com.sap.smd.agent.plugins.remotesetup.SapInstance.setup(SapInstance.java:304)
at com.sap.sup.admin.setup.wizard.monitoring.ConfirmationView.setupSMDServer(ConfirmationView.java:378)
at com.sap.sup.admin.setup.wizard.monitoring.ConfirmationView.onActionSetupServer(ConfirmationView.java:211)
at com.sap.sup.admin.setup.wizard.monitoring.wdp.InternalConfirmationView.wdInvokeEventHandler(InternalConfirmationView.java:278)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
And in the troubleshooting setup for managed systems, i can see that no initial upload was found form the SMD agent which is running on Java System.
Thanks a lot for your remarks
Maybe you are looking for
-
1. Hi. I just purchased a macbook pro 15 inch from amazon (2.2Ghz quad-core, 4GB memory and so on). The screen is just normal resolution 1440*900.. I really want to upgrade this screen to 1680*1050 because I am going to do lots of work on images and
-
Post Author: compscot CA Forum: Deployment I am very new with crystal reports. I have used them before with visual studio 2005, and deployed the applications successfully. I have a client who wants some reports from their ms sql database. Instead o
-
Can't Import Outlook Express address book to Pearl 8100
A friend just gave me an AT&T BB Pearl 8100 and I am using it as a phone only with no data plan (it's a company cell phone but they won't pay for a data plan -- I just put my SIM card in the BB). I am trying to connect to my personal PC with the USB
-
What is the best and affordable printer for macbook pro?
hi.... i have difficulties in printing my assignments... which i need to save my work using my thumbdrive then open it at windows to print....therefore, i want to buy a printer that can works with my macbook pro...what is your advice? i have tried to
-
MacBook won't even turn on after attempting to Install Windows XP with Bootcamp
Help?!