Application Express Printing in 3.1 and Oracle 9i
Hi,
I am running Application Express 3.1 on a Oracle 9i box using application server 10.1.2 for the web server and when ever we try to do any printing to PDF files it files, changing to HTML give me the following errors; (it works fine from our 10g2 box also running Apex 3.1)
Any ideas on this?
Fri, 18 Apr 2008 17:45:41 GMT
ORA-03113: end-of-file on communication channel
DAD name: apex
PROCEDURE : f
URL : http://nww.infoportal.wiltshire.nhs.uk:80/pls/apex/f?p=105:7:4081603134239502428:FLOW_XMLP_OUTPUT_R383146513321010166_en-gb
PARAMETERS :
===========
p:
105:7:4081603134239502428:FLOW_XMLP_OUTPUT_R383146513321010166_en-gb
ENVIRONMENT:
============
PLSQL_GATEWAY=WebDb
GATEWAY_IVERSION=2
SERVER_SOFTWARE=Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server
GATEWAY_INTERFACE=CGI/1.1
SERVER_PORT=80
SERVER_NAME=nww.infoportal.wiltshire.nhs.uk
REQUEST_METHOD=GET
QUERY_STRING=p=105:7:4081603134239502428:FLOW_XMLP_OUTPUT_R383146513321010166_en-gb
PATH_INFO=/f
SCRIPT_NAME=/pls/apex
REMOTE_HOST=
REMOTE_ADDR=10.184.150.119
SERVER_PROTOCOL=HTTP/1.1
REQUEST_PROTOCOL=HTTP
REMOTE_USER=apex_public_user
ORACLE_SSO_USER=
OSSO_IDLE_TIMEOUT_EXCEEDED=
OSSO_USER_GUID=
HTTP_CONTENT_LENGTH=
HTTP_CONTENT_TYPE=
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 1.1.4322)
HTTP_HOST=nww.infoportal.wiltshire.nhs.uk
HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
HTTP_ACCEPT_ENCODING=gzip, deflate
HTTP_ACCEPT_LANGUAGE=en-gb
HTTP_ACCEPT_CHARSET=
HTTP_COOKIE=ORA_WWV_R1=%23ALL; ORA_WWV_R2=%23ALL; ORA_WWV_R3=%23ALL; LOGIN_USERNAME_COOKIE=dpithouse; ORA_WWV_REMEMBER_UN=DPITHOUSE:cascard; ORA_WWV_USER=180C4AB57E701292; WT_FPC=id=2c0fb891060c298ae401208366087265:lv=1208518017286:ss=1208517692850; WWV_CUSTOM-F_6578422443884676_105=AEA5DD5F752363DA; WWV_CUSTOM-F_6578422443884676_100=180C4AB57E701292
HTTP_IF_MODIFIED_SINCE=
HTTP_REFERER=http://nww.infoportal.wiltshire.nhs.uk/pls/apex/f?p=105:7:4081603134239502428:::::
HTTP_SOAPACTION=
HTTP_ORACLE_ECID=1208540734:10.162.200.150:1328:5536:2513,0
HTTP_ORACLE_CACHE_VERSION=
HTTP_AUTHORIZATION=
WEB_AUTHENT_PREFIX=
DAD_NAME=apex
DOC_ACCESS_PATH=docs
DOCUMENT_TABLE=wwv_flow_file_objects$
PATH_ALIAS=
REQUEST_CHARSET=WE8MSWIN1252
REQUEST_IANA_CHARSET=WINDOWS-1252
SCRIPT_PREFIX=/pls
HTTP_IF_MATCH=
HTTP_CACHE_CONTROL=
SOAP_BODY=
HTTP_X_ORACLE_DEVICE_CLASS=
HTTP_X_ORACLE_DEVICE_ORIENTATION=
HTTP_X_ORACLE_DEVICE_MAXDOCSIZE=
HTTP_X_ORACLE_DEVICE=
HTTP_X_ORACLE_ORIG_ACCEPT=
HTTP_X_ORACLE_ORIG_USER_AGENT=
HTTP_X_ORACLE_USER_LOCALE=
HTTP_X_ORACLE_USER_NAME=
HTTP_X_ORACLE_USER_DISPLAYNAME=
HTTP_X_ORACLE_USER_USERKIND=
HTTP_X_ORACLE_USER_AUTHKIND=
HTTP_X_ORACLE_USER_DEVICEID=
HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE1=
HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE2=
HTTP_X_ORACLE_USER_LOCATION_ADDRESSLASTLINE=
HTTP_X_ORACLE_USER_LOCATION_BLOCK=
HTTP_X_ORACLE_USER_LOCATION_CITY=
HTTP_X_ORACLE_USER_LOCATION_COMPANYNAME=
HTTP_X_ORACLE_USER_LOCATION_COUNTY=
HTTP_X_ORACLE_USER_LOCATION_STATE=
HTTP_X_ORACLE_USER_LOCATION_POSTALCODE=
HTTP_X_ORACLE_USER_LOCATION_POSTALCODEEXT=
HTTP_X_ORACLE_USER_LOCATION_COUNTRY=
HTTP_X_ORACLE_USER_LOCATION_TYPE=
HTTP_X_ORACLE_USER_LOCATION_X=
HTTP_X_ORACLE_USER_LOCATION_Y=
HTTP_X_ORACLE_SERVICE_HOME_URL=
HTTP_X_ORACLE_SERVICE_PARENT_URL=
HTTP_X_ORACLE_HOME_URL=
HTTP_X_ORACLE_MODULE_CALLBACK_URL=
HTTP_X_ORACLE_MODULE_CALLBACK_LABEL=
HTTP_X_ORACLE_CACHE_USER=
HTTP_X_ORACLE_CACHE_SUBID=
HTTP_X_ORACLE_CACHE_AUTH=
HTTP_X_ORACLE_CACHE_DEVICE=
HTTP_X_ORACLE_CACHE_LANG=
HTTP_X_ORACLE_CACHE_ENCRYPT=
HTTP_X_ORACLE_ASSERT_USER=
Unfortunately I can't provide much help, other than that we have seen this before with 9iR2, but haven't yet figured out when this does occur, so not sure if it's related to a specific patch version. If possible, I'd recommend upgrading to database 10g or higher. And if we do figure out under what circumstances this problem comes up in 9iR2, I'll post this on the forum.
Regards,
Marc
Similar Messages
-
PDF PRINTING using Apache FOP and Oracle Containers for J2EE
Hi,
I am having major confusion about the pdf printing in Oracle XE and Apex 3.1.2.00.02
It clearly states that this is an available option on the Oracle website.
According to Apex there are two options for printing report regions.
Standard - which is free
Advanced - which uses BI and requires a licence
Standard requires me to have Apache FOP (which is provided by Oracle in the Apex release) and Oracle Containers for J2EE (OC4J)
Where my understanding of all this falls down is the part where I am downloading the Oracle Containers for J2EE and the license agreement states this cannot be used in a production system (only as a protptype). Can anyone clarify this? This is surely a required componenet and for the standard report printing which is supposed to be free.
My problem is that I need to have a database system on a laptop that will go off site for a number of weeks. We need report printing options.
Can anyone help with this. im desperate.
Kind regards
colin mclayno not yet with Application Server.
I have tried to compare the settings to another installation with a separeted oc4j as described in the howto. But at the moment i found no mistakes.
If i call the url adresse like:
http://localhost:18101/fop/apex_fop.jsp
i get:
500 Internal Server Error
Servlet error: java.lang.ClassNotFoundException: fop.apex__fop
I installed it another time with these settings:
Web Anwendung= .../fop.war (selected war file from apex install directory)
Anwendungsname= fop
URL zuordnen= /fop
I would like to know if its possible to use the fop.war out of apex install directory with the Application server? In the standalone version (as described in howto) it works. But if you install it there you don't need to define an URL.
Is the URL /fop correct or what do i have to insert there? -
Configuring Problem in Oracle Application Express 3.0 Print Server
hi all,
Configuring for my Oracle Application Express Print Server in apex 3.0 I have used apache foa and made all steps in the documentation
http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
the print attribute works but I have a problem in the pdf print with characters.
My reports columns characters are turkish and when I linked to print pdf the print the turkish characters are seeming #
and I try to change in the script apex_fop_render.jsp I changed the encode but the problem was not solved.Can you help please urgently!
I am waiting your helps!Apache FOP does not support some character sets out of the box, i.e. Asian languages require additional configuration steps. Not sure about those non-standard ISO characters in the Turkish alphabet though. But since you’re writing that those are returned as #, looks like the same problem. There should be information available on the Internet on how to configure those fonts and character sets with Apache FOP. Once BI Publisher is out, using that as the rendering engine with APEX might be another alternative to consider, as that product will support this out of the box.
Regards,
Marc -
Defining and Viewing BLOB Data in Oracle Application Express 3.2
Hello All,
There is a nice tutorial for working with images in Application Express 3.1 entitled "Defining and Viewing BLOB Data in Oracle Application Express 3.1". I have 3.2 and I am finding that I can't follow this tutorial... Is there any similar how to for 3.2?
Thank you,
DanielHi,
I have just gone through the first steps in my OTN workspace app, and I do get the Implementation option (showing Interactive or Classic). In fact, my page at this point matches exactly the image shown in the tutorial.
My OTN workspace app uses Apex version 3.2. The Interactive reports are relatively new, so older versions of Apex would not have this option. But you say that you are using version 3.2? If you just try to create a report page on, say, EMP, do you get the option to select Interactive or Classic?
Andy -
Need help on installing Oracle Application express 3.2
Hi,
I had downloaded Oracle 11g database and installed the personal edition.I got the Enterprise manager login page working and also the DBConsole
I had Downloaded APEX 3.2 and wanted to install apex 3.2.I wanted to do the following scenario
Scenario 3: Install from the Database and Configure the Embedded PL/SQL
Gateway
Planning to do these steps: ( I have few questions on these steps and are below each step)
■ Running the apxconf.sql Configuration Script
Do I have to install Oracle Application express or is it already installed in 11g personal edition?
Do I have to create a seperate database or schema for this step( I have only one instance orcl1) ?■ Verifying the Oracle XML DB HTTP Server Port
Can I do this step in my current orcl1 instance,if so which user■ Enabling Oracle XML DB HTTP Server
Once I carry out these steps, Can I access the admin page for apex with https://localhost:port/apex_admin ?
Am I missing any other steps ?
ThanksI have one idea..
Try to install again:
1) download and unzip apex_3.2 in $ORACLE_HOME
You will have:
$ORACLE_HOME/apex - old directory
$ORACLE_HOME/apex_3.2 - new directory
2) in command line go to $ORACLE_HOME/apex_3.2/apex
run sqlplus "/as sysdba"
in sqlplus run @apexins tablespace_apex tablespace_files tablespace_temp images
Where:
tablespace_apex is the name of the tablespace for the Oracle Application Express application user.
tablespace_files is the name of the tablespace for the Oracle Application Express files user.
tablespace_temp is the name of the temporary tablespace.
images is the virtual directory for Oracle Application Express images. To support future Oracle Application Express upgrades, define the virtual image directory as /i/.
Example:
@apexins SYSAUX SYSAUX TEMP /i/
3) check installation log for errors
4) in command line go to $ORACLE_HOME/apex_3.2/apex
run sqlplus "/as sysdba"
in sqlplus run @apxconf
set admin password
set port
5) run @apxldimg.sql $ORACLE_HOME/apex_3.2
6) check for running listener and try to login apex: http:\\host:port\apex\apex_admin
Good luck! -
Best beginner book for Oracle Application Express?
Hello Dear members,
I've got 12 years of experience developing Oracle applications using Oracle Forms and PL/SQL, that bit I'm an expert.
But I'm torn between which book to buy to learn Oracle Application Express.
The Expert Oracle Application Express vs Oracle Apex Cookbook is my main competition.
I'm already doing the 2 day Developer guide, but want to go in a bit deeper.
All of your suggestions welcome.
Thanks
RaviRavi,
If you are not at all familiar with Application Express i would reccomend getting Beginning Oracle Application Express 4 because you will find that Pro Oracle Application Express 4, Second Edition, Expert Oracle Application Express and Oracle Apex Cookbook assume you have more of an unserstanding and some parts wont make sense. I had friend of mine get an advanced book and then immediately go back and get the beginner book because it just didnt have much meaning to him.
Thanks,
Tyson Jouglet -
Pro Oracle Application Express
John, I could send you an email, but I'm sure quite a few other visitors might also be interested in your answer.
When will your book be published?Hello Johannes.
Take a look at..
Pro Oracle Application Express - Book
Take a ticket and join the queue.
Lots of people want to know. :-)
Simon. -
How to create form in oracle application express
hi friends,
i am a new person in oracle application express software.
i just want to ask that can we use oracle application express as a front end for oracle 10g database???
if yes then can any one tell me that how to create form in it?
is there any connection string to connect that form with oracle 10g.
Please do me reply soon thanksTo this forum... please:
Oracle Application Express (APEX)
Greetings -
Problem with logon in to Application Express
I have successfully installed oracle Application Express
When I logged in to Oracle Application Express Administration Services for the first time he asked me to change password.
After I changed the password I can't log in to the application any more with the new password .
When I enter the user name and the new password no action happen,
Although when I enter any wrong password, a message with Invalid Login Credentials appear
User Name: admin
Old password: password
New password: oracle
ThanxHi Scott
Same results in both IE and FF?
I have only IE
Do you have cookies enabled in the browser?
Yes cookies are enabled in the browser
Does the login page have only two text fields , username and password?
Yes
When you say "no action happen" does that mean you just see the login page all the time or do you see a blank page or something else?
Yes I just see the login page all the time
Thanx -
Urgent Application Express response
Hi all:
I am developing an application using APEX, this application will be requested from an external web application.
The http request of the external web application will add some variables which will include users information that I will need to to use in my APEX to determine the what to display on the the page.
My problem is how do I do this, it appears that the REQUEST variable of APEX only works when APEX is already running for the user and will not display a thing upon the first request of the external application.
Please help meHello,
>> The http request of the external web application will add some variables which will include users information that I will need to to use in my APEX
The f?p syntax - http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#BEIJCIAG – allows you to set the APEX items you need. Bear in mind that this URL is in clear text, and public. You shouldn’t use it for sensitive data.
Regards,
Arie.
♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
♦ Forthcoming book about APEX: Oracle Application Express 3.2 – The Essentials and More -
Reports from Java and Oracle database
Hi
I need to generate couple of reports from my application, with Java as front end and oracle 11.2.0.3.0. database . Reports are having very simple select statements, using the criteria users enter from GUI. we don't need to execute a direct select statement from Java, with the where clauses . I did some research and found out about Pipelined functions. I tested for a small set of records and it worked fine. Will this work for large data set? any drawbacks of using this method? Any other methods for this requirement?
Thanks in advance
JPPipeline table functions do not sound like the appropriate approach. It is designed to primarily deal with data transformations. Using it as a rendering engine for report writing? There are fundamental problems with such an approach.
As Dave and Andre commented - the CORRECT means for PL/SQL to pass "data" to Java (or other client languages) is via reference cursors (pointers that the client can use for referencing SQL cursor programs on the server). And Java as a report writer does not really compare with the ease and flexibility that Oracle Apex (Application Express) provides as a reporting framework. -
Importing components to Application Express
When trying to import a component export into Application Express with same app Id and workspace I have problems when I get to the report layouts and report queries.
I get this for some, not all of the report layouts:
Component Export: REPORT LAYOUT 30423319886223781
...report layouts
WWV_FLOW_API.ERR_REPORT_LAYOUT_CREATE ORA-00001: unique constraint
(APEX_030200.WWV_FLOW_REPORT_LAYOUTS_IDX2) violated
but the import continues until it gets to the report queries, I get through 5 and then this:
Component Export: SHARED QUERY 25478002913036435
...shared queries
declare
ERROR at line 1:
ORA-00001: unique constraint (APEX_030200.WWV_FLOW_STORED_QUERIES_UK1) violated
ORA-06512: at "APEX_030200.WWV_FLOW_API", line 6261
ORA-06512: at line 32
then it stops and quits...
Why am I getting this on only certain report layouts and queries??Hi,
I think you are posting to wrong forum. Virtualization Discussion Forum is here.
Oracle VM Server for x86
Anyway,
There is by default obe workspace. User and password for that workspace is obe
If you need login to APEX administration, then use apxchpwd.sql from oracle user home folder to reset INTERNAL workspace ADMIN user password.
Regards,
Jari
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai -
Application Express 2.2 on Windows x64 Edition?
Hi,
I am running Application Express 2.2 on a server running Windows Server 2003 Standard x64 Edition with Service Pack 1. I am running Oracle Enterprise Edition 10g R2, and I also have Oracle Application Server 10.1.3 installed.
Whenever I log into our application express applications, the server slows down majorly. I have to end the process for the explorer window and restart the htmldb service for it to go back to normal again. In my alert.log file, I see errors such as the ones below that occur at the same time that I try to login to an htmldb app. Is ApEx 2.2 for 32-bit only? Could this be causing problems, or could it be something else? Any suggestions or thoughts would be appreciated.
Tue Aug 01 16:17:10 2006
SERVER COMPONENT id=UTLRP_END: timestamp=2006-08-01 16:17:10
Tue Aug 01 16:28:53 2006
Process S002 died, see its trace file
failed to start shared server, oer=0
Tue Aug 01 16:31:14 2006
failed to start shared server, oer=0
Tue Aug 01 16:35:10 2006
failed to start shared server, oer=0
Tue Aug 01 16:35:55 2006
Errors in file \bdump\db1_qmnc_2944.trc:
ORA-27300: OS system dependent operation:SuspendThread failed with status: 5
ORA-27301: OS failure message: Access is denied.
ORA-27302: failure occurred at: sssxcpttcs6
Tue Aug 01 16:35:56 2006
Process q002 died, see its trace file
Tue Aug 01 16:35:57 2006
ksvcreate: Process(q002) creation failed
Thanks,
NoraHi Nora,
Application Express 2.2 is supported on Windows Server 2003 Standard x64. There really is nothing magical about Application Express - it's all SQL and PL/SQL, so it runs without problems across any platform that runs PL/SQL (unless it's EBCDIC, but that's another story).
This looks like an underlying database issue. I found evidence of a couple issues filed by customers with the same symptoms - and they weren't using Application Express at all. This further supports my assertion that it's a database issue on your platform and not an issue with Application Express, per se.
Unfortunately, all I can recommend at this point is that you contact Oracle Support and/or file a TAR. They are in a better position to assist.
I hope this helps.
Joel -
SQL Command problem in Application Express 3.2.0.00.27
To Oracle Application Express Development Team,
Yesterday I installed Oracle Application Express 3.2.0.00.27.
While doing my r&d, I came across one problem in SQL Command.
For example I wanted to run sql "select * from tab"
When I checked "Autocommit" checkbox it worked fine.
But when I unchecked the "Autocommit" checkbox it gave me following error:
ORA-01003: no statement parsed
Please check post
http://www.oraclebrains.com/2009/03/sql-command-problem-in-application-express-3200027/ for more details.
CheersI can't find the log file (a good indication that something went wrong)
Here's the transcript of the session...
SQL> startup upgrade
ORACLE instance started.
Total System Global Area 599785472 bytes
Fixed Size 1288820 bytes
Variable Size 264242572 bytes
Database Buffers 331350016 bytes
Redo Buffers 2904064 bytes
Database mounted.
Database opened.
SQL> @apxpatch.sql
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
Wrote file apxset.sql
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
SQL>
SQL> @apxldimg.sql
PL/SQL procedure successfully completed.
Enter value for 1: C:\Documents and Settings\jtench\Desktop\My Downloads\Oracle\apex_3.2.1
old 1: create directory APEX_IMAGES as '&1/apex/images'
new 1: create directory APEX_IMAGES as 'C:\Documents and Settings\jtench\Desktop\My Downloads\Oracle\apex_3.2.1/apex/images'
Directory created.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
Commit complete.
timing for: Load Images
Elapsed: 00:03:30.03
Directory dropped.
SQL> -
Successfull installation, But Cannot Launch Application Express 2.2
Hi I have success fully installed the application express software, but however I could not launch the application express
I have followed each and every step given in the installation documents.
I have created the marvel.conf file with the following contents
Alias /i/ "C:\Oracle\product\iasR2\Apache\Apache\images\"
AddType text/xml xbl
AddType text/x-component htc
<Location /pls/apex>
Order deny,allow
PlsqlDocumentPath docs
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_manager.process_download
PlsqlDatabaseConnectString xxxx:1521:xxx ServiceNameFormat
PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername APEX_PUBLIC_USER
PlsqlDefaultPage apex
PlsqlDatabasePassword xxxxx
Allow from all
</Location>
Modified the httpd.conf file and added the following
include "C:\Oracle\product\iasR2\Apache\modplsql\conf\marvel.conf"
When i try to start Oracle HTTP Server,
I recieved this in my log, any suggestions what is wrong?
Syntax error on line 11 of c:/oracle/product/iasr2/apache/modplsql/conf/marvel.conf:
Invalid command 'PlsqlDocumentPath', perhaps mis-spelled or defined by a module not included in the server configuration
Regards
TobiasTobias,
Not sure if this will fix your problem, but I do not have the PlsqlDocumentPath defined in my marvel.conf file.
I'm using 10g and Apex 2.2 on one machine, and Oracle Application Server on another machine.
Try commenting the PlsqlDocumentPath line out and see what happens.
Bill Ferguson
Maybe you are looking for
-
How do I know if my application is running from within WebLogic server
I have an application that could be running either as a standalone application (with its own VM) or as a servlet (within the WebLogic's VM). How can the application determine the environment in which it is running?
-
In other words, I want to be able to change the default starting scroll position from 'top' to 'bottom' or customize this to 'somewhere in between' so that I don't have to scroll down before reading each new e-mail message.
-
Operating sparc with a graphics display but no keyboard
Is there a way to operate my sparc embedded controller without requiring the keyboard to be plugged in. The keyboard is used during installation; but, once configured it is impractical to leave the keyboard connected in my application. Our applicatio
-
I please need help. After updating I have three albums that have grouped together. How do I fix this?
-
Hi all I have a issue please answer me. If users disabled cookies.( other than session cookies) how i should dynamically switch session cookies. and how i can generate session cookies in servlet? thanks yashvant