CCA Error: "the server response could not be parsed [12152]"
Hi,
Has anyone gotten this error message on Cisco Clean Access Agen CCA Agent "the server response could not be parsed [12152]". I have tried everything I can but can't get rid of the error. I am running CCA 4.0.5 in OOB+VG, cluster mode for both CAM & CAS.
Syed,
If you are still there, can we pick up from where we left?
http://forums.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Expert%20Archive&topic=Security&CommCmd=MB%3Fcmd%3Dpass_through%26location%3Doutline%40%5E1%40%40.1ddf45d4/8#selected_message
Similar Messages
-
Clean Access Error, response could not be parsed
Hello.
We are getting an error on a workstation with NAC Clean Access Agent installed... "The server response could not be parsed, error 12152". I've never seen this before. Any ideas?? Thanks!!!!It can happen when the CAS server is not reachable. I mean when there are dual NICs and the HTTP connection attempt is being done from the NIC where CAS is not reachable.
-
Hello Everyone,
We are getting an error while trying to create an Universe via Microsoft -> MS Analysis Services 2014 -> OLEDB for OLAP Provider under Connection in UDT -"DBD: Error while trying to load the transport provider for odbc. Failed to load the library. System error: The specified module could not be found." We have installed BI 4.1 SP05 in our system. As per earlier posts in scn in BO XI 3.x this issue used to be for improper installation of Integration KIT but in our scenarion Integration KIT is within the BO 4.1 package so no seperate installation is required. Moreover I have checked whether all the driver is present under file: "C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\drivers" and seems everything is fine. But still I am getting this error. One important point is we could use IDT because in IDT still we don't have option to connect with 'Microsoft Analysis Services - 2014 (XMLA)' as we are using Microsoft Analysis Services 2014 version.
Kindly help if anyone has faced the same problem with SAP BO 4.1.
Thanks and Best Regards,
GhosalHello Everybody,
The problem is solved now after installing "OLEDB drivers from SQL Server 2012 Feature Pack". We had OLEDB drivers that comes directly from SQL Server but that did not worked out in our case.
Thanks for your support.
Best Regards,
Ghosal -
Error: The Network Adapter could not establish the connection
hi, i am using classes111.zip (the oracle 8.0.5 thin driver) with
linux and gnu jsp pages. the backend is an oracle 8.04 NT
database.
i get this error: "The Network Adapter could not establish the
connection " my question is this - is this error the client
problem or the db server problem. here is the code:
String driverName = "oracle.jdbc.OracleDriver";
String url = "jdbc:oracle:thin:oracle1:1541:ORCL";
String user = "demo";
String pwd = "demo";
String SQL = "";
ResultSet rs;
try
DriverManager.registerDriver(new
oracle.jdbc.driver.OracleDriver());
Connection con = DriverManager.getConnection(url,
user, pwd );
DatabaseMetaData dma = con.getMetaData();
Statement stmt = con.createStatement();
rs = stmt.executeQuery("select * from test");
while(rs.next())
out.println(rs.getString("xx") +
rs.getString("yy"));
catch( SQLException e )
out.println("
error: -> " + e + " <-
exiting
any ideas?
thanks in advance,
steve
nullhi, i am using classes111.zip (the oracle 8.0.5 thin driver) with
linux and gnu jsp pages. the backend is an oracle 8.04 NT
database.
i get this error: "The Network Adapter could not establish the
connection " my question is this - is this error the client
problem or the db server problem. here is the code:
String driverName = "oracle.jdbc.OracleDriver";
String url = "jdbc:oracle:thin:oracle1:1541:ORCL";
String user = "demo";
String pwd = "demo";
String SQL = "";
ResultSet rs;
try
DriverManager.registerDriver(new
oracle.jdbc.driver.OracleDriver());
Connection con = DriverManager.getConnection(url,
user, pwd );
DatabaseMetaData dma = con.getMetaData();
Statement stmt = con.createStatement();
rs = stmt.executeQuery("select * from test");
while(rs.next())
out.println(rs.getString("xx") +
rs.getString("yy"));
catch( SQLException e )
out.println("
error: -> " + e + " <-
exiting
any ideas?
thanks in advance,
steve
null -
Hi, I'm running the following setup:
Mac OS X 10.8.4
Virtual Box 4.2.16 r86992
Oracle Developer Days (don't know the version, just downloaded it)
SQL Developer 3.2.20.09
Networking is host-only, I tried bridged but that doesn't make a difference for the problem at hand. I can ping my virtual box just fine, telnet to port 1521 looks good too:
$ ping 192.168.56.101
PING 192.168.56.101 (192.168.56.101): 56 data bytes
64 bytes from 192.168.56.101: icmp_seq=0 ttl=64 time=0.449 ms
^C
--- 192.168.56.101 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.449/0.449/0.449/0.000 ms
$ telnet 192.168.56.101 1521
Trying 192.168.56.101...
Connected to 192.168.56.101.
Escape character is '^]'.
asdf
asdf
Connection closed by foreign host.
When I create a new connection with sql developer, with the same hostname / IP (192.168.56.101), Port 1521 (didn't change that) and SID orcl, basic connection type, it can't even connect, throwing the error mentioned in the subject:
Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
I have looked at various threads in the forums here but I'm still stymied why the connection seems to be ok, yet sql developer has problems with it. If I create an ssh tunnel so sql developer only has to connect to localhost it works:
ssh -L 1521:192.168.56.101:1521 -l oracle 192.168.56.101
Message was edited by: 2a2e67cd-b5b2-4229-9fa6-21f5dfe0760dHi Ali,
This may be of varoius reasons..
Is the database that you are connecting on the same PC?
You have specified Hostname: localhost.
If not please replace it with the IP of that server.
Else please check whether the database listener is started or not. if not please start the listener.
Check the SID by tnsping command.
Hope this will help you..
Thanks
Ashok -
Hi,
I know that there are a lot of threads with this error, but I don't know how to solve my situation yet.
I'm trying to access to the database via JDBC, and the driver return the following error:
java.sql.SQLException: IO Error: The Network Adapter could not establish the connection
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:536)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.execute(OpenConnectionCommand.java:97)
at net.sourceforge.squirrel_sql.client.mainframe.action.ConnectToAliasCommand$SheetHandler.run(ConnectToAliasCommand.java:281)
- My oracle database is up and I can access to it with locally with TOAD
- I can do TELNET localhost 1521 in the server that has the DB installed
- I can do a successful ping from the client computer to the oracle server
- There aren't any firewalls between the client and the server.
- When I try to do TELNET <IP Address> 1521 from the client computer to the oracle DB Server, the connection could not be opened
- I tryed to do a TELNET to another port where I have another service, and the result has been successful. So the problem is related with the port 1521...
I don't have any knowledge about database administration, so I don't know what to do to solve this.
Can you help me please?java.sql.SQLException: IO Error: The Network Adapter could not establish the connectionThis preposterous error message is Oracle's way of saying either 'Connection refused' or 'Connection timeout' or 'no route to host' or 'unknown host'. However because of the stupidity of making up their own message instead of giving the original exception, it is impossible to say which. The pretentious wording is also stupid: network adapters don't create connections. TCP/IP stacks do that.
As to your problem, either there is no such host, no route to the host, nothing listening at the IP:port you specified, or there is a firewall in the way. And that includes a possible Windows firewall on the server host itself. -
Error loading WSDL The WSDL document could not be parsed.
Error Loading WSDL
The WSDL document could not be parsed.
The following error occured while parsing the WSDL location -
Failed to model operation: {http://xmlns.oracle.com/DataloadSOA/SubmitSvc/SubmitSvc}SubmitPayload(,) Reason: Could not find element definition for {http://www.cdisc.org/ns/odm/v1.3}Study Detail:
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Failed to model operation: {http://xmlns.oracle.com/DataloadSOA/SubmitSvc/SubmitSvc}SubmitPayload(,) Reason: Could not find element definition for {http://www.cdisc.org/ns/odm/v1.3}Study Detail: at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:157) at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:87) at oracle.sysman.emas.model.wsmgt.WSTestModel.init(WSTestModel.java:325) at oracle.sysman.emas.view.wsmgt.WSView.parseWSDL(WSView.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.sun.el.parser.AstValue.invoke(AstValue.java:187) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297) at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused by: oracle.webservices.mdds.MddsException: Failed to model operation: {http://xmlns.oracle.com/DataloadSOA/SubmitSvc/SubmitSvc}SubmitPayload(,) Reason: Could not find element definition for {http://www.cdisc.org/ns/odm/v1.3}Study Detail: at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl$LocalMddsErrorHandler.failedToModelOperation(ParsedWSDLFactoryImpl.java:186) at oracle.j2ee.ws.mdds.ModuleBuilder.annotateOperation(ModuleBuilder.java:419) at oracle.j2ee.ws.mdds.ModuleBuilder.annotatePort(ModuleBuilder.java:366) at oracle.j2ee.ws.mdds.ModuleBuilder.annotateService(ModuleBuilder.java:139) at oracle.j2ee.ws.mdds.ModuleBuilder.doAnnotateModel(ModuleBuilder.java:101) at oracle.j2ee.ws.mdds.ModuleBuilder.annotateModel(ModuleBuilder.java:81) at oracle.j2ee.ws.mdds.MddsModelFactoryImpl.createModelFromWSDL(MddsModelFactoryImpl.java:92) at oracle.j2ee.ws.mdds.MddsModelFactoryImpl.createModelFromWSDL(MddsModelFactoryImpl.java:78) at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:152) ... 80 more
View Log MessagesSaveCloseHi,
Are you able to view the wsdl in a browser?
It seems the wsdl is not deployed properly on the server. -
Jdbc thin error : The Network Adapter could not establish the connection
jdbc thin error : The Network Adapter could not establish the connection
I have been able to create a webservice as per the article Build a PL/SQL Web Service by jason price from otn website. while executing url to call the pl/sql procedure to get the data i am encountering this error
The Network Adapter could not establish the connection in the resultant xml output. Am I missing something here ?
Please see ouput below
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.Exception:</faultcode>
<faultstring>java.sql.SQLException: Io exception: The Network Adapter could not establish the connection</faultstring>
<faultactor>/plsqlsample/dbfunc</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope
my oc4j/j2ee/home/config/data-sources.xml file has this entry for the connection
<data-source class="com.evermind.sql.DriverManagerDataSource" connection-driver="oracle.jdbc.driver.OracleDriver" ejb-location="jdbc/hr_connDS" inactivity-timeout="30" location="jdbc/hr_connCoreDS" name="jdev-connection:hr_conn" password="xxxx" pooled-location="jdbc/hr_connPooledDS" url="jdbc:oracle:thin:@o11idev.concentra.com:9200:DEV1" username="hr8" xa-location="jdbc/xa/hr_connXADS"/>
I am not able to debug this error and any information to debug this error would be appreciated. I have scanned the metalink short of logging a tar. I am using the oc4j install on the 9ias webserver and not the jdeveloper/oc4j combination. The apps server runs 9ias on hp/ux.
Thanks
ashokAshok,
Your database connection URL doesn't look right to me. The default database connection listener port is 1521 (not 9200). You can check this using the "lsnrctl" utility.
To find the "host" and SID parts (of the URL), use the following SQL query:
select HOST_NAME, INSTANCE_NAME from V$INSTANCEGood Luck,
Avi. -
Cannot upgrade my ipod touch to iOS5.1 - error:"the network connection could not be established" Although I can access the itunes store.
Running Mac OS 10.7.3 using itunes 10.6
unplugged other USB devices, disabled security, restarted computer. Next?Try changing the DNS as described here:
iOS 5 update issues "Network...: Apple Support Communities -
Error:The grouping element could not be determined for project
Hi,
When I am trying to issue goods for a project,I am getting the following error
"The grouping element could not be determined for project 1., plant 2., and MRP group 3.."
what may be the reason for this reason.
Regards,
RajuHi,
You are using Automatic Requirement Grouping in your project and there is some issue with the Material Master,please check the Material Master Views.
Muzamil -
When I try to import pictures from media card to iPhoto, I'm getting the error 'The following file could not be imported. The file is in an unrecognized format.' The file is a jpeg and I've never had this problem before.
What version of iPhoto?
What colour profile is the shot?
As a Test:
Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
Import a few pics into this new, blank library. Is the Problem repeated there? -
Error :the specified module could not be found --oci.dll : Oracle9i
hi ,
i m trying to connect thru my java code to the oracle on my system ,while creating the DSN it gives the error
"the specified module could not be found" for the file oci.dll.
earlier it was not able to look for the sqresus.dll which i copied to the winnt/system directory , and after this oci error is coming , anyone knowing it please guide
with regards,Make sure it is the same version of 9i (i.e. 9.0.x or 9.2.x) for both OO4O and ODBC. Also make sure that the ORACE_BASE\ORACLE_HOME\BIN directory is in your search path AND last, check your windows directories and subdirectories for duplicate copies of OCI.DLL (or anywhere else on the PC for that matter). Sometimes MicroSoft will include one and it is usually an OLD one.
-
Error: The specified procedure could not be found
Apparently the password expired on my Windows 7 BETA installation. Upon restart the system notifies me and asks for a new password. After confirming the password I get the error:
"The specified procedure could not be found"
I cannot log in at this point. The old password won't let me in and I can't change it. The administrator account I found is disabled by default.
Is there any way to log in?Okay, here is your dilemma.
You cannot login to your only account and the local administrator account is in its default disabled mode.
There is a solution, albeit totally unsupported. Go to http://www.sysresccd.org/Main_Page and download the latest SystemRescueCd. Burn a CD from the ISO. When you boot with the SystemRescue CD, you will type ntpass and hit <enter>. From there, make sure you read the screens. You will have make selections depending on how you loaded Windows 7 (clean vs. upgrade vs. dual boot, etc). Using this disk, you CAN enable the local administrator’s account and login in.
I just did the procedure using Windows 7, build 7000 with SystemRescueCd 1.1.6.
Good luck. -
Error: The report source could not be retrieved from the state object.
I have been trying to create a report in a JSF page. The relevant parts are below:
Inside the JSP page, this is the code:
<jsp:useBean id="MyBean" class="com.nm.facade.rto.POJOViewerBean" scope="session" />
<jsp:setProperty name="MyBean" property="reportLocation" value="Report1.rpt" />
<v:reportPageViewer reportSource="#{MyBean.reportSource}"
displayToolbarPrintButton="true"
printMode="ActiveX"
zoomPercentage="100"
displayToolbarExportButton="true"
displayToolbarRefreshButton="true"
viewerName="My Viewer"
></v:reportPageViewer>
In the backing bean, this is the relevant code:
public Object getReportSource() throws ReportSDKException
if (propertiesChanged || reportSource == null)
propertiesChanged = false;
if (reportLocation == null)
throw new RuntimeException("The reportLocation property must be set before a report source is retrieved");
ReportClientDocument rcd = new ReportClientDocument();
rcd.setReportAppServer(ReportClientDocument.inprocConnectionString);
rcd.open(reportLocation, 0);
DatabaseController dbc = rcd.getDatabaseController();
//Create the POJO collection and populate it with data
ReportData[] data =
new ReportData("B.B.", "King", 6, new Date(25, 9, 16)),
new ReportData("Muddy", "Waters", 7, new Date(15, 4, 4)),
new ReportData("John Lee", "Hooker", 8, new Date(16, 8, 16)),
new ReportData("Otis", "Rush", 9, new Date(34, 4, 29)),
new ReportData("Buddy", "Guy", 10, new Date(36, 7, 30))
//Create the result set from the collection of POJOs
POJOResultSetFactory factory = new POJOResultSetFactory(ReportData.class);
factory.setVerbose(true);
POJOResultSet results = factory.createResultSet(data);
ResultSetMetaData metaData = results.getMetaData();
//Set the resultset as the report datasource
//Get the table name from the 'Set Datasource Location' dialog in the Crystal Reports designer
String reportTable = "getReportDataDataSource";
dbc.setDataSource(results, reportTable, reportTable);
IReportSource reportSource = rcd.getReportSource();
if (reportSource == null)
throw new RuntimeException("Unable to get a report source.");
return reportSource;
In the CRConfig.xml, this is what is there:
<?xml version="1.0" encoding="utf-8"?>
<CrystalReportEngine-configuration>
<reportlocation>../reports</reportlocation>
<timeout>0</timeout>
<ExternalFunctionLibraryClassNames>
<classname></classname>
</ExternalFunctionLibraryClassNames>
</CrystalReportEngine-configuration>
The report template 'Report1.rpt' is packaged under WEB-INF/reports in the war file.
When I try to generate the report by accessing the JSF page, I am getting an error: "The report source could not be retrieved from the state object. "
I am not sure what is wrong. Can someone help me in resolving this issue?
Edited by: renshai on Jul 9, 2009 3:21 AMMy formatting gets lost and the message looks unintelligible. After some experimentation, I found that if the message exceeds some length, the formatting is removed. Since I couldn't find any way to delete this post, I made another post with the same subject. Please ignore this post and help me to find a solution for the problem posted in the other thread with the same subject. Thanks in advance.
-
My iPhone 3GS 16gb, is stuck in restore mode, downloaded and tried to do a restore multiple times. Keep getting an error The iPhone "iPhone" could not be restored. Unknown error occured (-1). Cannot get it out of restore mode, keeps rebooting!
I have tried to hold the "home" and "power" button to reboot
I have tried powering it off
I have tried, to unplug the cable, hold the "home" button and then plug it in.
Can't check the SN or warranty, cause it is stuck in restore mode.
Is the hard drive gone? Should there be something replaced.http://support.apple.com/kb/TS3694#error1
Error 1 or -1
This may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.
Usually this is caused by your antivirus or firewall blocking iTunes access to the Internet. It can also occur if the phone is jailbroken or if the computer you are using was ever used to jailbreak an iDevice.
Maybe you are looking for
-
Mapping for fields in Standard cube
Hi, There arent any mappings for the date related fields 0RPM_MONTH,0RPM_YEAR,..etc. in the business content cube 0RPM_c02 capacity management. I could not find any relevant mappings in sap help also.Please provide any pointers as to how to update th
-
I have a large batch of varying image sizes, such as 1280 x 853, 800 x 600. I want to get them down to 200 x 200. I can do the regular scale to size and get all images to a 200px width. But now the dimensions are all 200 x 133 and 200 x 150. I need t
-
Event for task not defined as start/end event
Hi all, We get the following error in our inbox although the event seems to work as intended Event ZIMEC006 APPROVED_REJECTED for task TS81700130 not defined as start/end event If I go to the task TS81700130, the event APPROVED_REJECTED is defined as
-
Adapter Status Grey and Cache Error in acessing Integration Directory
Dear All While going through the following path RWB-->Component Monitoring->Adapter Engine->Cache Connectivity Test i got the following result " Cache notification from Integration Repository failedError when accessing the Integration Directory " RWB
-
Subcontracting flow: outbound delivery & billing status
Hello, I have the following subcontracting flow: 1) Create subcontracting purchase order 2) Create outbound delivery 3) Create and confirm transport order 3) Goods receipt of subcontracting components from subcontractor (101) 3) Register invoice docu