Utl_http error help required
Hi,
Thanks for help,
I create the following procedure for this purpose and i received the following errors:
declare
txt Varchar2(4000);
request utl_http.req;
response utl_http.resp;
BEGIN
utl_http.set_proxy('','');
request := utl_http.begin_request('http://localhost:7778/reports/rwservlet?report=f:\oracle\TIS13.rdf&desformat=pdf&destype=cache&userid=wh1/wh1@dwh');
--utl_http.set_header(request, 'User-Agent', 'Mozilla/4.0');
response := utl_http.get_response(request);
LOOP
utl_http.read_line(response, txt, TRUE);
dbms_output.put_line(txt);
END LOOP;
utl_http.end_response(response);
EXCEPTION
WHEN utl_http.end_of_body THEN
utl_http.end_response(response);
WHEN OTHERS THEN
-- Consider logging the error and then re-raise
RAISE;
end;ERROT AT line1:
ORA-29273: HTTP request failed
ORA-06512" at "SYS.UTL_HTTP",line 1231
ORA-29276: transfer timout
ORA-06512: at line 20
Any solution would be hightly appriciated
Regards
it would be easier for you to use the OOTB Reports integration with Portal:
- http://download.oracle.com/docs/cd/B14099_19/bi.1012/b14048/pbr_portal.htm#i1008279
Cheers,
Mick
Similar Messages
-
Pricing Error (help required)
Is there any routine which includes the tax value in R100 as well ,currently the problem is that the 100% Discount condition is only including the net price
And in the pricing procedure i m using two prices one price of tax calculation and the other is consumer price first i calculate the tax from base price then i deduct the tax from the consumer price this calculation is working fine through standard routines.
Only problem is that when i enter NRAB and R100 at end it only includes Net Value which is calculated through Formual using condition type NTPS
Kindly Help Required ASAPHi ABAPAR,
I m not getting the exact picture of what U desired, from your pricing procedure.
As you r using multiple free goods condition type...anyway.
If you wanted to make the calculated tax "amount + "as a basis for the calculation of particular condition type.you can use the functionality of subtotal.
That mean go and assign one subtotal no. to subtotal column in your pricing procedur to all condition type to which you wanted to make as a basis for furthur calculation.(this settings allow the total of all values in one subtotal).
And finally U can assign this subtotal no.to the "alt.cal.B.value "of pricing procedure for the calculation of particular condition type.
If you r using any std condion type that come up with certain routine like NRAB or somthing...possibly that will not allow u to do this settings. so in this case clear your free goods requirement or use any new condition type. i.e . Z creation.
consult your SD consultant.
karnesh -
Crystal report 10 error - Help required
I am using crystal report 10.0.0.533 - Crystal report developer edition.
All of my reports are working fine without any issue, except one report.
It throws the below error message:
Crystal Reports ActiveX Designer error '80047cbd'
*You are attempting to use functionality that falls under the Crystal Decisions Report Creation API license. This system does not have a valid license, or the evaluation copy of the license has expired. Please contact Crystal Decisions to obtain a Report Creation API license.*
/egads/Reports/EventDataRep.asp, line 68
At line number 68 we have below code:
Tables.Add "", , Session("oRecRep"), , "p2smon.dll"
This report was earlier used for Crystal 8.5. However Crystal 10 no longer uses p2smon.dll.
Alternative dll in Crystal report 10 is crdb_ado.dll, I replaced it in the code, however still it is not working.
Could anyone please help me with this issue?Even after replacing with crdb_cdo.dll...I am getting same error..
Below is the code:
Set oConn = Server.CreateObject("ADODB.Connection")
Set oRec = Server.CreateObject("ADODB.Recordset")
Set oRecRep = Server.CreateObject("ADODB.Recordset")
oConn.Open strEGadsUIDConn
strSQL = "SELECT CRYSTAL_XML_STRING, CRYSTAL_QUERY_STRING FROM TEMP_CRYSTAL_REPORT WHERE USER_ID = '" & strUserId & "' "
Set oRec = oConn.Execute(strSQL)
If Not oRec.EOF Then
strXMLString = oRec("CRYSTAL_XML_STRING")
strSQLQuery = oRec("CRYSTAL_QUERY_STRING")
End If
strSQLQuery = Replace(strSQLQuery, "%", "'", 1)
Set Session("oRecRep") = oConn.Execute(strSQLQuery)
If Not Session("oRecRep").EOF Then
Session("oRecRep").MoveFirst
End If
' CREATE THE APPLICATION OBJECT
If Not IsObject (session("oApp")) Then
Set session("oApp") = Server.CreateObject("CrystalRuntime.Application.10")
'Set session("oApp") = Server.CreateObject("Crystal.CRPE.Application")
End If
Path = Request.ServerVariables("PATH_TRANSLATED")
While (Right(Path, 1) <> "\" And Len(Path) <> 0)
iLen = Len(Path) - 1
Path = Left(Path, iLen)
Wend
'This "While/Wend" loop is used to determine the physical path (eg: C:\) to the
'Crystal Report file by translating the URL virtual path (eg: http://Domain/Dir)
'OPEN THE REPORT (but destroy any previous one first)
If IsObject(session("oRpt")) then
Set session("oRpt") = nothing
End if
'Set session("oRpt") = session("oApp").NewReport
reportname = "rptEventDataTemplate.rpt"
Set session("oRpt") = session("oApp").OpenReport(path & reportname, 1)
'Set oRptOptions = Session("oRpt").Options
session("oRpt").MorePrintEngineErrorMessages = 0
session("oRpt").DiscardSavedData
'session("oRpt").MorePrintEngineErrorMessages = False
session("oRpt").EnableParameterPrompting = 0
session("oRpt").PaperOrientation = 2
Set Database = session("oRpt").Database
'Instantiate the Database Collection
Set Tables = Database.Tables
'Instantiate the Tables Collection
Tables.Add "", , Session("oRecRep"), , "crdb_cdo.dll"
Set FirstTable = Tables.Item(1)
Set Fields = FirstTable.Fields
'Set Group Name
GroupField = "{ado.UNIT_NAME}"
For i = 1 to Fields.Count
result = strcomp(Fields.Item(cint(i)).Name,cstr(GroupField))
If cint(result) = 0 then
Set GroupFieldIs = Fields.Item(cint(i))
end if
next
Select Case cstr(SortDirection)
Case "Ascending" intsortdirection = 0
Case "Descending" intsortdirection = 1
Case "Original Order" intsortdirection = 2 -
Java.util.zip.ZipException: invalid entry size error -- help required
Hi all
I am sure this error would have been posted many number of times, but I would really appreciate if someone could help me with my problem. I am working on reading data from a .zip file, which in it has ~5GB data. All I am performing is a read operation through the piece of code specified below. This code worked well for .zip files handling till ~2.5GB
FileInputStream fis = new FileInputStream(filename);
BufferedInputStream bis = new BufferedInputStream(fis);
ZipInputStream zis = new ZipInputStream(bis);
StreamTokenizer tok = new StreamTokenizer( zis );
ZipEntry entry;
while((entry = zis.getNextEntry()) != null)
\\read from the zip file through the streamTokenizer
I just print what I read through the program, on the console.
But the error I get is
java.util.zip.ZipException: invalid entry size (expected 4294967295 but got 2117536490 bytes)
at java.util.zip.ZipInputStream.readEnd(Unknown Source)
at java.util.zip.ZipInputStream.read(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.StreamTokenizer.read(Unknown Source)
at java.io.StreamTokenizer.nextToken(Unknown Source)
at ZipFileStreams.getMessages(ZipFileStreams.java:677)
at ZipFileStreams.main(ZipFileStreams.java:814)
Could anybody give me hints as to what am I missing and where am i going wrong. Any help would be appreciated.
ThanksHi,
I get the same exception while reading a ZIP file. The size if the ZIP file is just 82KB but I am reading it over FTP not sure if it makes any difference. I am using JDK 1.4.2_05. Here is the code I am trying to execute.
public class TestFTP {
public static void main( String[] argv ) throws Exception {
String inboundPath = "/transfer/inbound/";
FTPClient ftp = new FTPClient();
ftp.connect("123");
ftp.login( "123", "123" );
ftp.changeWorkingDirectory(inboundPath);
FTPFile[] zipFiles = ftp.listFiles("*.zip");
TelnetClient telnetClient;
for(int i=0;i<zipFiles.length;i++){
System.out.println(zipFiles.getName());
ZipInputStream zis = new ZipInputStream(ftp.retrieveFileStream(zipFiles[i].getName()));
for (ZipEntry entry = zis.getNextEntry(); entry != null; entry = zis.getNextEntry()){
System.out.println(entry.getName());
The error message is
java.util.zip.ZipException: invalid entry size (expected 10291 but got 10233 bytes)
at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:367)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:69)
at test.TestFTP.main(TestFTP.java:41)
Exception in thread "main"
Please let me know if you were able to fix the problem.
Thanks -
HotSpot Virtual Machine Error, Internal Error Help Required.
We are getting the below error from past five months on the production application. Application gets killed when it encounters this error.
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
# Error ID: 47454E45524154452F4F502D41500E4350500842 01
# Problematic Thread: prio=5 tid=0x134ba40 nid=0x38d runnable
Can any body help me in this regard what may be the reasons for this and how to avoid this?Update your JDK to 1.4.1_03 , see bug 4799414 .
http://developer.java.sun.com/developer/bugParade/bugs/4799414.html -
Data Object cannot be opened / accessed error - help required
I am running a CR 2008 and have a report set against a SQL view linked via a ODBC link. The view however has been updated and now includes an extra field, which I need to add into my report.
When I use the Set Database Location to update the link I get an error message advising "Data Object cannot be opened/accessed". I click OK to this and then get a further error "Unknown Database Connector Error".
Also, when I go to refresh the report I get this error "The database table "..." cannot be found. Proceed to remove this table from the report?" - if I click no the report refreshes correctly anyway, so it must be able to connect.
I have also tried refreshing the fields in field explorer too, but the extra field doesnt appear.
Any help would be gratefully received.I can connect to the view via a new blank report and the missing field appears. However when I go to verify database it says the database cannot be found. It asks me if I want to remove it from the report, I select No then it tells me the database is uptodate.
Via the set database location it gives me the error in the initial post.
I think I have a workaround in that if I add a new database table to the same sql view the extra field is in there - so I will manually have to go though the report and change each formula, running total, group, and record selection from the original to the new table, then remove the old table.
Frustrating but it does appear to work. -
I am getting Error ORA-00600 for a procedure which tries get
a CLOB as output paramater. It is a simple stored proc which is
just querying to get this data.
However it fails at times giving ORA-00600 error which we have
no clue why it's happening.
There is sufficient space in the server and also we have
restarted the database several times.
Any pointers to why is this happening.
SunilCause: This is a catchall internal error message for Oracle
program exceptions. It indicates that a process has met a low-
level, unexpected condition.
Various causes of this message include:
time-outs
file corruption
failed data checks in memory
hardware, memory, or I/O errors
incorrectly restored files
The first argument is the internal message number. Other
arguments are various numbers, names, and character strings. The
numbers may change meanings between different versions of the
Oracle Server.
Action: Report this error to customer support after gathering
the following information:
-events that led up to the error
-the operations that were attempted that led to the
error
-the conditions of the operating system and database at
the time of the error
-any unusual circumstances that occurred before
receiving theORA-00600 message
contents of any trace files generated by the error
the relevant portions of the Alert file
Copyright (C) 1995, Oracle Corporation -
I am unable to sync my ipad..i get error message " required file cannot be found" Can you help me?
Some things to try in this order:
1) Make sure you designated the correct folders for music, etc.
2) Press and Hold the Home and Power buttons on the iPad until the Apple Logo appears, about 10 seconds.
3) Make sure all antivirus and firewalls are off.
4) Delete and reinstall itunes. (Back up the itunes folder first.)
Hope this helps... -
WWS-32136 UTL_HTTP error. Please help
Hello,
I am trying to get all content area content
to show up inside the folder(or area). When I want to get WebDB reports or external sites
to display within the content area, I get
a utl_http error. Here is what I did:
1. Create a Content Area
2. Create an item or type URL
3. Check the "link displays item in folder area" as the display options attribute.
When I click on the link, webdb reports take
up the entire page, while external url or
external apps (like giving a link to www.oracle.com) ends up giving me a utl_http error.
Please help !!
SanjaySanjay
Did you review the looking at the troubleshooting guide on OTN: http://technet.oracle.com/products/iportal/htdocs/portal_troubleshooting.htm
Seaching this page using the keyword 'utl_http' returned a likely solution:
Cause: This is most likely happening because of a bug in the UTL_HTTP package that shipped with early versions of the Oracle 8.1.6 database on Windows NT.
Solution: You must download and install the 8.1.6.2 patch from http://metalink.oracle.com (click patches, and then select "product: Oracle Server - Enterprise Edition", "platform: MS Windows NT"). You must be registered to use Metalink. -
Creating a planned order with error "Material requires configuration"
Dear All,
I am facing a problem for creation of a planned order with error "Material requires configuration".
To follow the note 180317, I change Account Assignment Category to "U" (Unknown).
However, the system still does display the same error.
Could you please help provide possible solution for this?
Regards,
PhongSee also the following blog post:
Configurable planned order for material variants: Exception "53: No BOM explosion due to missing configuration"
BR
Caetano -
Hi,
I have installed OER-11g version 11.1.1.7 and am successfuly able to open Asset Editor , ImpExp utility and also could harvest SOA and OSB components.
Issue 1:
However while trying to open the Navigator of the harvested components in OER console, a new window opens with two sections ( top and bottom). The top one which is a diagram view doesn't open with an error - Missing required permissions attribute in main jar: http://localhost:7101/oer-web/applets/components.aler-thinkmapclient-11.1.1.7.0.jar.
Please find the screenshot below.
Issue #2 : While trying to browse for the Assets from OER console. The below error is seen ( missing permissions for components.jexplorer-11.1.1.7.0.jar)
Could someone direct me on how to solve this issue. Appreciate your help !
Thanks and regards,
Sridhar.It works for me after I did a small tweak by as mine is a demo install.
Idea - is to make an security exception for the OER url in Java control console
Steps to do that :
1.Go to the control panel and uninstall the 64 bit version of Java
Open Programs and Features and select the 64 bit version of Java and select Uninstall.
2.Open up the Java Control Panel
Found as an option in the standard windows control panel
3.Check the version by clicking on the About Tab
If this is not what you expected you can go to java.com and download the latest version.
4.Click on the Security Tab in the Java Control Panel
5.Click on the Edit Site List button in the lower RH corner of the control panel
6.Add your URL to be allowed
Enter the full path that you use to access this such as https://myequallogics.com or the IP address if that is how you access it (as in http://192.168.0.100 - Https is recommended by Oracle.) Once complete hit OK. You should now see the exception on the security page.
7.Close out of the control panel.
8.You can now acess your site through the browser window.
Thanks to Java error: Missing required Permissions manifest attribute in main jar - Spiceworks for letting me know this.
regards,
Sridhar -
Help required in Weblogic 6 - Creation & Configuration of Web Application
Forum Home > Enterprise JavaBeans[tm]
Topic: Help required in Weblogic 6 - Creation & Configuration of Web Application
Duke Dollars
2 Duke Dollars assigned to this topic. Reward the best responses to your question
using the icons below, or transfer additional Duke Dollars to this topic.
Welcome moinshariff!
Watching this topic.
Previous Topic Next Topic
This topic has 1 reply on 1 page (Most recent message: Jan 23, 2002 1:05 AM)
Author: moinshariff Jan 22, 2002 4:55 AM
Hi,
I am using Weblogic 6. I have created a new Web
Application called Web (I have not used the DefaultWebApp_myserver).
And I have the following settings:
Name : Web
URI : Web
and Path : C:\Web
and placed my JSP files under c:\Web\
I am able to access the first page, but after that I am not able to access the
second page.
I get "Error 404--Not Found" on the browser. Basically the class file is not getting
created under /Web-inf/_tmp_war_myserver_myserver_Web/jsp_servlet/ folder .
I tried a work around for this. I copied all my files under one more folder called
web and placed this under C:\Web
The it works. Now I have 2 copied off all the files, 1 copy under c:\web and another
copy under c:\web\web\.
If I have the files under DefaultWebApp_myserver and have the setting as
Name: DefaultWebApp_myserver
URI: DefaultWebApp_myserver
Path: .\config\mydomain\applications
everything works fine.
Can any one please let me know if there is any configuration which has to be done
so that I do not duplicate the code in 2 directories
Thanks in advance.
Regards,
MoinForum Home > Enterprise JavaBeans[tm]
Topic: Help required in Weblogic 6 - Creation & Configuration of Web Application
Duke Dollars
2 Duke Dollars assigned to this topic. Reward the best responses to your question
using the icons below, or transfer additional Duke Dollars to this topic.
Welcome moinshariff!
Watching this topic.
Previous Topic Next Topic
This topic has 1 reply on 1 page (Most recent message: Jan 23, 2002 1:05 AM)
Author: moinshariff Jan 22, 2002 4:55 AM
Hi,
I am using Weblogic 6. I have created a new Web
Application called Web (I have not used the DefaultWebApp_myserver).
And I have the following settings:
Name : Web
URI : Web
and Path : C:\Web
and placed my JSP files under c:\Web\
I am able to access the first page, but after that I am not able to access the
second page.
I get "Error 404--Not Found" on the browser. Basically the class file is not getting
created under /Web-inf/_tmp_war_myserver_myserver_Web/jsp_servlet/ folder .
I tried a work around for this. I copied all my files under one more folder called
web and placed this under C:\Web
The it works. Now I have 2 copied off all the files, 1 copy under c:\web and another
copy under c:\web\web\.
If I have the files under DefaultWebApp_myserver and have the setting as
Name: DefaultWebApp_myserver
URI: DefaultWebApp_myserver
Path: .\config\mydomain\applications
everything works fine.
Can any one please let me know if there is any configuration which has to be done
so that I do not duplicate the code in 2 directories
Thanks in advance.
Regards,
Moin -
Help required with an error message.
"Table Z0CL_BATCLA for object class CHARGE does not exist"Hi
It means your Z0CL_BATCLA is not assigned to object CHARGE, you have to create the linke between object and table in the table TCDOB.
You can do it by trx SCDO, but in this case you have to change in standard object.
Max -
When I started up itunes on my PC I get this error: a required itunes component is not installed. please repair or reinstall ituens (-42404). How can I fixed this? I uninstalled it at least 6 times. Not exactly sure what I'm suppose to repair either. It also says it is syncing my ipod but when I go to disconnect/eject my ipod it says that it is unable to disconnect because files are being used in a program. When it finally disconnects there is no music on my ipod. The gym just ***** with out my ipod. Makes it eiser to not go! Someone please help me!
Use the instructions here to completely remove/uinstall all iTunes/Apple software and componenets and then start from scratch.
http://support.apple.com/kb/HT1923
B-rock -
Response Document:"The invocation resulted in an error: Length Required"
Hi sirs,
I'm new to OSB. After try some lab test, i try to import a real web service.
Web service is http://www.webservicex.net/globalweather.asmx?WSDL
I copy whole XML file and create a WSDL file. Then import to OSB and then create a Business service using this WSDL resource.
Then i test the Business Service. The test show:
==============================================================
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
</soap:Header>
<soap:Body>
<web:GetCitiesByCountry xmlns:web="http://www.webserviceX.NET">
<!--Optional:-->
<web:CountryName>spain</web:CountryName>
</web:GetCitiesByCountry>
</soap:Body>
</soap:Envelope>
====================================================================
Response Document
The invocation resulted in an error: Length Required.
=========================================================================
Response Metadata
<con:metadata xmlns:con="http://www.bea.com/wli/sb/test/config">
<tran:headers xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<http:Connection>close</http:Connection>
<http:Content-Length>344</http:Content-Length>
<http:Content-Type>text/html; charset=us-ascii</http:Content-Type>
<http:Date>Sat, 05 Nov 2011 04:20:50 GMT</http:Date>
<http:Server>Microsoft-HTTPAPI/2.0</http:Server>
</tran:headers>
<tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">1</tran:response-code>
<tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">Length Required</tran:response-message>
<tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">us-ascii</tran:encoding>
<http:http-response-code xmlns:http="http://www.bea.com/wli/sb/transports/http">411</http:http-response-code>
</con:metadata>
============
I try with a SOAPUI with a same request XML and it works. I stuck with this 2 weeks. Please help me.
Thank for watching.Disable the "Use Chunked Streaming Mode" property in HTTP Transport Configuration of your business service. By default it remains enabled.
Regards,
Anuj
Maybe you are looking for
-
Total of the number of stock lines held in storage at any given time
Hi Experts, Is there a transaction we could use that will quickly give us a total of the number of stock lines held in storage at any given time? can anyone please advise Many Thanks
-
Hi I add to change the e-mail settings for an account (server name changed) and mail is still flowing to and from the account. But all the mail in the IMAP folder is no longer showing in Thunderbird just mail that has come in and out since the change
-
GL Integration Web Service Errors
Hi All We have completed all the necessary configuration of the DRM web service, updated the relevant values in the GL etc. However, when we try to run the request set in Gl to import values and hierarchies we hit the error below. Has anyone seen thi
-
JSF Custom component for table pagination and sorting
hi i want such a custom component that render a table and table has the features of pagination and column sorting. any one know from where i can get such a custom component. (if this component is available with source then it would be more help full
-
Hi All, I am very new to OAFramework development. I an trying to create a custome page which will display "Hello" message. I have done everything as mentioned in Hello World expample of developer guide. I created page and region. When I tried to run