Xml file not generated through Pl/sql procedure as a concurrent executable
Hi,
I getting error while genarating xml file through Pl/sql procedure as a concurrent executable file.
Error Message:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
Invalid at the top level of the document. Error processing resource
Hi,
Make sure the file has the XML header:
<?xml version="1.0" encoding="UTF-8"?>
or similar.
Regards,
Gareth
Blog: http://garethroberts.blogspot.com/
Similar Messages
-
Connection has no password, -jdbc.xml file not generated for connection
Hi,
I'm migrating a jdev 10g web application (with EJB) to 11g, i did the automatic migration tool offred by 11g, i'm using the integrated weblogic server but it seems there is a *-jdbc.xml file missed, and it must be generated, this is the log file of the start of server :
IntegratedWebLogicServer started.
[Running application SAB_ADMIN on Server Instance IntegratedWebLogicServer...]
[09:14:15 AM] ---- Deployment started. ----
[09:14:15 AM] Target platform is (Weblogic 10.3).
[09:14:18 AM] Retrieving existing application information
[09:14:19 AM] Running dependency analysis...
[09:14:19 AM] Deploying 4 profiles...
[09:14:21 AM] Wrote Web Application Module to C:\Users\Moshe\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SAB_ADMIN\ViewControllerWebApp.war
[09:14:21 AM] Wrote Web Application Module to C:\Users\Moshe\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SAB_ADMIN\ModelWebApp.war
[09:14:25 AM] Wrote EJB Module to C:\Users\Moshe\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SAB_ADMIN\ModelEJB.jar
[09:14:25 AM] WARNING: Connection DBConnectionSAB has no password. DBConnectionSAB-jdbc.xml file not generated for connection DBConnectionSAB.
[09:14:26 AM] Wrote Enterprise Application Module to C:\Users\Moshe\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SAB_ADMIN
[09:14:26 AM] Deploying Application...
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:28.065--ServerSession(40464643)--property eclipselink.jdbc.user is deprecated, property javax.persistence.jdbc.user should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:28.299--ServerSession(40464643)--property eclipselink.jdbc.driver is deprecated, property javax.persistence.jdbc.driver should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:28.299--ServerSession(40464643)--property eclipselink.jdbc.url is deprecated, property javax.persistence.jdbc.url should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:28.299--ServerSession(40464643)--property eclipselink.jdbc.password is deprecated, property javax.persistence.jdbc.password should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.user.Session_user.mergeEntity(java.lang.Object)' in EJB 'SessionEJB' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'SessionEJB' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<14 oct. 2010 09 h 14 GMT+01:00> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.user.Session_user.persistEntity(java.lang.Object)' in EJB 'SessionEJB' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'SessionEJB' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<14 oct. 2010 09 h 14 GMT+01:00> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.bouton.Session_bouton.mergeEntity(java.lang.Object)' in EJB 'Session_bouton' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'Session_bouton' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<14 oct. 2010 09 h 14 GMT+01:00> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.bouton.Session_bouton.persistEntity(java.lang.Object)' in EJB 'Session_bouton' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'Session_bouton' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<14 oct. 2010 09 h 14 GMT+01:00> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.operation.Session_operation.mergeEntity(java.lang.Object)' in EJB 'Session_operation' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'Session_operation' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<14 oct. 2010 09 h 14 GMT+01:00> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.operation.Session_operation.persistEntity(java.lang.Object)' in EJB 'Session_operation' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'Session_operation' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:29.656--ServerSession(42285779)--property eclipselink.jdbc.user is deprecated, property javax.persistence.jdbc.user should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:29.656--ServerSession(42285779)--property eclipselink.jdbc.driver is deprecated, property javax.persistence.jdbc.driver should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:29.656--ServerSession(42285779)--property eclipselink.jdbc.url is deprecated, property javax.persistence.jdbc.url should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:29.656--ServerSession(42285779)--property eclipselink.jdbc.password is deprecated, property javax.persistence.jdbc.password should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Users\Moshe\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SAB_ADMIN\ModelWebApp.war. Please make sure that the annotations are valid. The error is oracle.adf.view.faces.webapp.ResourceServlet>
<14 oct. 2010 09 h 14 GMT+01:00> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1287044066833' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'SAB_CRUD-Model-context-root''
weblogic.application.ModuleException: Failed to load webapp: 'SAB_CRUD-Model-context-root'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:508)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: oracle.adf.view.faces.webapp.ResourceServlet
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Truncated. see log file for complete stacktraceThis is the content of my web.xml file where i found the markup <servlet> and i tried to run without the first one but the error still like it was :
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet>
<description>Web Service MyConnexionServiceSoapHttpPort</description>
<display-name>Web Service MyConnexionServiceSoapHttpPort</display-name>
<servlet-name>MyConnexionServiceSoapHttpPort</servlet-name>
<servlet-class>oracle.controll.ConnexionBaseDeDonnees</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>ResultatRequetePort</servlet-name>
<servlet-class>oracle.controll.ResultatRequete</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>MyConnexionServiceSoapHttpPort</servlet-name>
<url-pattern>MyConnexionServiceSoapHttpPort</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ResultatRequetePort</servlet-name>
<url-pattern>/ResultatRequetePort</url-pattern>
</servlet-mapping>
Thanks... -
XML file not generating Completely
Hi ,
I am reading a file from the Application Server of XML format in Binary Mode. After reading I am checking the contents and with every 255 Char I am appending the contents in the different row, thus creating a internal table having one field of length 255.
I am using this table to send an email to the recepient using the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'. This is generating a Attachment. But when I open this in Internet browser, It is not getting compete contents.
I am not sure, If I have missed something.
Regards,
ArpitHi Chen,
Thanks for thr reply. The XML file contains data related to Idocs.The complete result If I open a XML file is
<?xml version="1.0" encoding="UTF-8" ?>
- <DELVRY03>
- <IDOC BEGIN="1">
- <EDI_DC40 SEGMENT="1">
<TABNAM>EDI_DC40</TABNAM>
<MANDT>002</MANDT>
<DOCNUM>0000000000071931</DOCNUM>
<DOCREL>620</DOCREL>
<STATUS>30</STATUS>
<DIRECT>1</DIRECT>
<OUTMOD>2</OUTMOD>
<IDOCTYP>DELVRY03</IDOCTYP>
<MESTYP>SHPORD</MESTYP>
<STDMES>SHPORD</STDMES>
<SNDPOR>SAPAD1</SNDPOR>
<SNDPRT>LS</SNDPRT>
<SNDPRN>AD1002LS</SNDPRN>
<RCVPOR>XML_PORT</RCVPOR>
<RCVPRT>LS</RCVPRT>
<RCVPFC>LS</RCVPFC>
<RCVPRN>HT</RCVPRN>
<CREDAT>20110405</CREDAT>
<CRETIM>070247</CRETIM>
<SERIAL>20110218054703</SERIAL>
</EDI_DC40>
- <E1EDL20 SEGMENT="1">
<VBELN>0080004041</VBELN>
<VSTEL>GB03</VSTEL>
<VKORG>170</VKORG>
<INCO1>DDU</INCO1>
<ROUTE>DGGBPA</ROUTE>
<VSBED>E1</VSBED>
<BTGEW>315.000</BTGEW>
<NTGEW>315.000</NTGEW>
<GEWEI>KGM</GEWEI>
<VOLUM>0.000</VOLUM>
<ANZPK>00000</ANZPK>
<PODAT>20110218</PODAT>
<POTIM>161703</POTIM>
- <E1EDL22 SEGMENT="1">
<VSTEL_BEZ>FSQ HT West Drayton</VSTEL_BEZ>
<VKORG_BEZ>FSQ</VKORG_BEZ>
<INCO1_BEZ>Delivered Duty Unpaid</INCO1_BEZ>
<VSBED_BEZ>UK Standard</VSBED_BEZ>
</E1EDL22>
- <E1EDL21 SEGMENT="1">
<LFART>ZCOR</LFART>
<LPRIO>02</LPRIO>
<TRAGR>Z001</TRAGR>
- <E1EDL23 SEGMENT="1">
<LFART_BEZ>Correction Delivery</LFART_BEZ>
<LPRIO_BEZ>Standard</LPRIO_BEZ>
<TRAGR_BEZ>Standard</TRAGR_BEZ>
</E1EDL23>
</E1EDL21>
- <E1EDL18 SEGMENT="1">
<QUALF>ORI</QUALF>
</E1EDL18>
- <E1ADRM1 SEGMENT="1">
<PARTNER_Q>AG</PARTNER_Q>
<PARTNER_ID>0060004842</PARTNER_ID>
<LANGUAGE>EN</LANGUAGE>
<FORMOFADDR>Mr.</FORMOFADDR>
<NAME1>Sabu P Kuriakose</NAME1>
<NAME2>KURIA</NAME2>
<STREET1>Flat 2 St.Raphael's House. Sherborne Roa</STREET1>
<POSTL_COD1>RG215TG</POSTL_COD1>
<CITY1>Basingstoke</CITY1>
<TELEPHONE1>01256351078</TELEPHONE1>
<COUNTRY1>GB</COUNTRY1>
<REGION>HA</REGION>
</E1ADRM1>
- <E1ADRM1 SEGMENT="1">
<PARTNER_Q>WE</PARTNER_Q>
<PARTNER_ID>0060004842</PARTNER_ID>
<LANGUAGE>EN</LANGUAGE>
<FORMOFADDR>Mr.</FORMOFADDR>
<NAME1>Sabu P Kuriakose</NAME1>
<NAME2>KURIA</NAME2>
<STREET1>Flat 2 St.Raphael's House. Sherborne Roa</STREET1>
<POSTL_COD1>RG215TG</POSTL_COD1>
<CITY1>Basingstoke</CITY1>
<TELEPHONE1>01256351078</TELEPHONE1>
<COUNTRY1>GB</COUNTRY1>
<REGION>HA</REGION>
</E1ADRM1>
- <E1ADRM1 SEGMENT="1">
<PARTNER_Q>OSP</PARTNER_Q>
<PARTNER_ID>GB03</PARTNER_ID>
<LANGUAGE>EN</LANGUAGE>
<NAME1>Four Square UK</NAME1>
<STREET1>Armstrong Road</STREET1>
<POSTL_COD1>RG24 8NU</POSTL_COD1>
<CITY1>Basingstoke</CITY1>
<COUNTRY1>GB</COUNTRY1>
<REGION>HA</REGION>
</E1ADRM1>
- <E1ADRM1 SEGMENT="1">
<PARTNER_Q>OSO</PARTNER_Q>
<PARTNER_ID>170</PARTNER_ID>
<LANGUAGE>EN</LANGUAGE>
<NAME1>Four Square UK</NAME1>
<STREET1>Armstrong Road</STREET1>
<POSTL_COD1>RG24 8NU</POSTL_COD1>
<CITY1>Basingstoke</CITY1>
<COUNTRY1>GB</COUNTRY1>
<REGION>HA</REGION>
</E1ADRM1>
- <E1EDT13 SEGMENT="1">
<QUALF>006</QUALF>
<NTANF>20100420</NTANF>
<NTANZ>000000</NTANZ>
<NTEND>20100420</NTEND>
<NTENZ>000000</NTENZ>
<ISDD>20100419</ISDD>
<ISDZ>000000</ISDZ>
<IEDD>20100419</IEDD>
<IEDZ>000000</IEDZ>
</E1EDT13>
- <E1EDT13 SEGMENT="1">
<QUALF>003</QUALF>
<NTANF>20100420</NTANF>
<NTANZ>000000</NTANZ>
<NTEND>20100420</NTEND>
<NTENZ>000000</NTENZ>
<ISDD>00000000</ISDD>
<ISDZ>000000</ISDZ>
<IEDD>00000000</IEDD>
<IEDZ>000000</IEDZ>
</E1EDT13>
- <E1EDT13 SEGMENT="1">
<QUALF>001</QUALF>
<NTANF>20100420</NTANF>
<NTANZ>000000</NTANZ>
<NTEND>20100420</NTEND>
<NTENZ>000000</NTENZ>
<ISDD>00000000</ISDD>
<ISDZ>000000</ISDZ>
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
Invalid at the top level of the document. Error processing resource 'file:///C:/TEMP/notesEC3FD6/~4120145.xml'.
Regards,
Arpit -
XML file not generate in MOPZ - system has not been registered in SLM
HI,
I need to install EHP4 in ERP 6.0. So to get the xml file i installed solution manager 7.0 EHP1 and post process of EHP1.
ST -400 -21
the important Notes i followed.
==================================================================
Note 1151784 - Setup of SL Controller for Live Update
Note 1145444 - SLM configuration
Note 1277035 - Solution Manager: EHP4 product data missing
Note 1122966 - Maintenance Optimizer: Notes for Enhancement Packages
Note 1137683 - Maintenance Optimizer: Notes for Software Lifecycle Manager
Note 1154188 - SLM web service authentication 700 SP14 ( SERVICE NOT AVAILABLE )
Note 669669 - Updating the SAP Component Repository in the SLD
Note 1244225 - Solution Manager 7.0 EhP 1: recommended corrections
Note 1137683 - Maintenance Optimizer: Notes for Software Lifecycle Manager
=======================================================================
Note 1334252 - SAP Solution Manager - Basic functions SP20 and higher ( this note contain post process of EHP1)
===============================================================
Still i am not getting the xml file of EHP4 for ERP 6.0.
I am getting the error "The system/systems - VMW, has/have not been registered in SLM"
Regards
Leehi Ruediger Stoecker ,
But the xml file didn't generate. that's why i worried.
==============================================
I tried with end of selection process in MOPZ upto "END Maintenance" phase. The XML file didn't generate.
Edited by: Lee green on Dec 23, 2009 10:10 AM -
Manifest xml file not generated!
Hi!
I've created a Captivate 3 project, which includes a quiz
(some radom question slides linked to a question pool). I was asked
to export the project in a SCORM compliant format. I filled in all
the configuration requiere, but neither scorm nor manifest files
where generated, just the captivate's swf files (neither the .html
nor the .js files where generated).
The configuration I entered in the Publish Preferences Dialog
for Quiz > Reporting, where:
[x] Enable reporting for this project (checked)
Learning Management System (LMS): "SCORM"
Report Pass or Fail: "Status as defined by report data"
Choose Report Data: "Quiz results and slide views"
Report Score to LMS as: "score"
Reporting Level: "Interactions and score"
In the Manifest.. dialog, I entered the following
configuration:
Version: "1.2"
Course
Identifier: "..."
Title: "..."
Description: "..."
Identifier: "..."
[x] Duration: "00:50:00"
[x] Subject: "..."
SCO
Identifier: "..."
Title: "..."
[x] Mastery score: "60"
[x] Time allowed: "01:00:00"
[x] Time limit action: "exit with message"
Back to the Publish dialog, under the "Output options, the
"Export HTML" option is checked but disabled (it looks greyish).
I don't know why this is so, I couldn't find how to enable it
again.
Any help will be deeply appreciated!
Thanks in advance!
LauraHi all
Sorry, but I'm personally doubtful that resetting the .DAT
file will change anything. It's been my experience that when the
"Export HTML" option is disabled (or grayed out as many call it)
that it's because you are being prevented from turning it off.
(Note that in the disabled state, it's checked)
You see the same issue if selecting the "Full Screen" option.
In order to go Full Screen, you are definitely in the world of
HTML, so it becomes selected and disabled.
Silly question time here. Are you certain you are looking in
the correct location for the files? I ask because Captivate 3
changed the playing field by frequently insisting that a new folder
be created that matches the file name.
Just a few random thoughts.... Rick -
Hi,
I have a problem to transfer a XML file content to a MS SQL database by a given/fixed stored procedure. I'm able to transfer the content of the file by using following method ...
hstmt = DBPrepareSQL (hdbc, EXEC usp_InsertReport '<Report> ..... </Report>');
resCode = DBExecutePreparedSQL (hstmt);
resCode = DBClosePreparedSQL (hstmt);
... but in this case I'm not able to fetch the return value of the stored procedure!
I have tried to follow the example of the stored procedure in the help documentation (DBPrepareSQL) but I miss a datatype for xml?!?
Any idea how to solve my problem?
KR Cake
Solved!
Go to Solution.After some additional trials I found a solution by calling the stored procedure in this way
DBSetAttributeDefault (hdbc, ATTR_DB_COMMAND_TYPE, DB_COMMAND_STORED_PROC);
DBPrepareSQL (hdbc, "usp_InsertReport");
DBCreateParamInt (hstmt, "", DB_PARAM_RETURN_VALUE, -1);
DBCreateParamChar (hstmt, "XMLCONTENT", DB_PARAM_INPUT, sz_Buffer, (int) strlen(sz_Buffer) + 1 );
DBExecutePreparedSQL (hstmt);
DBClosePreparedSQL (hstmt);
DBGetParamInt (hstmt, 1, &s32_TestId);
where sz_Buffer is my xml file content and s32_TestID the return value of the stored procdure (usp_InsertReport(@XMLCONTENT XML))
Now I face the problem, that DBCreateParamChar limits the buffer size to 8000 Bytes.
Any idea to by-pass this shortage?? -
Upgrade with DBUA to 12c hangs while upgrade.xml does not generated
Hi together,
actually I've an upgrade problem with dbua. At a server with Oracle Linux 6 I've running an 121.0.2 GI. in that GI there are two Oracle Homes: one 12.1.0.2 wih PSU1 and one 11.2.0.4 with PSU4. I'm trying to upgrade the database "testdb" from 11.2.0.4 to 12.1.0.2 with dbua.
So I'm logged in and set all session parameters to the new 12.1.0.2 home:
$ export ORACLE_HOME=/usr/local/oracle/product/12.1.0.2/
$ export PATH=$ORACLE_HOME/bin:$PATH
After that I start the dbua. i select my testdb and wait. And still wait..... After selecting the db and dbua has getting al the database information he will hang at 0% by "Run Pre Upgrade Utility". But why?
So I've looked into trace.log from dbua:
oracle@testserver- DB_12_1_0_2:/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2
$ ll
total 96
-rw-r----- 1 ora121 oinstall 1374 Oct 17 10:56 mapfile.txt
-rw-r----- 1 ora121 oinstall 104 Oct 17 10:56 preupgdir.sql
-rw-r----- 1 ora121 oinstall 29326 Oct 17 10:56 sqls.log
-rw-r----- 1 ora121 oinstall 53994 Oct 17 10:56 trace.log
-rw-r----- 1 ora121 oinstall 0 Oct 17 10:56 trace.log.lck
ora121@QUM169 - DB_12_1_0_2:/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2
$ less trace.log
In the trace.log he tells me, that he weren't able to create a file called upgrade.xml and throws a java exception:
[Thread-77] [ 2014-10-17 10:56:28.200 CEST ] [PreUpgradeToolGroup.validate:252] validateConnectionToDB using user:=null
[Thread-77] [ 2014-10-17 10:56:28.233 CEST ] [PreUpgradeToolGroup.validate:268] create log dir obj for pre upgrade tool
[Thread-77] [ 2014-10-17 10:56:28.234 CEST ] [PreUpgradeToolGroup.validate:274] creating dir object for pre upgrade spool at/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2
[Thread-77] [ 2014-10-17 10:56:28.239 CEST ] [PreUpgradeToolGroup.validate:320] Executing CREATE OR REPLACE DIRECTORY PREUPG_OUTPUT_DIR AS '/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2' using SQLEngine.
[Thread-77] [ 2014-10-17 10:56:28.244 CEST ] [PreUpgradeToolGroup.validate:362] validationLogDir =
[Thread-77] [ 2014-10-17 10:56:28.244 CEST ] [PreUpgradeToolGroup.validate:376] Preupgrade Utility used= /usr/local/oracle/product/12.1.0.2/rdbms/admin/preupgrd.sql
[Thread-77] [ 2014-10-17 10:56:29.742 CEST ] [PreUpgradeToolGroup.validate:462] Executed Pre Upgrade Script successfully, now load MEP............
[Thread-77] [ 2014-10-17 10:56:29.742 CEST ] [DbuxUtils.writeRootElementForUpgradeXML:509] Passed in upgrade xml file /usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2/upgrade.xml does not exist.
[Thread-77] [ 2014-10-17 10:56:29.742 CEST ] [PreUpgradeToolGroup.validate:479] Executing preupgrade tool
[Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [PreUpgradeToolGroup.validate:480] Spool file /usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2/upgrade.xml
[Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [DbuxUtils.getPreUpgradeLoader:236] upgrade.xml does not generated
[Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [PreUpgradeToolGroup.validate:487] Executing Preupgrade tool failed..Upgrade xml does not exist
[Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [PreUpgradeToolGroup.validate:491] upgrade.xml does not generated
[Thread-77] [ 2014-10-17 10:56:29.745 CEST ] [SQLEngine.done:2278] Done called
Exception in thread "Thread-77"
java.lang.NullPointerException
at oracle.sysman.assistants.dbma.wizard.view.ValidationPage.prepareMaps(ValidationPage.java:1989)
at oracle.sysman.assistants.dbma.wizard.view.ValidationPage.check(ValidationPage.java:1651)
at oracle.sysman.assistants.dbma.wizard.view.ValidationPage$Check.run(ValidationPage.java:2040)
at java.lang.Thread.run(Thread.java:682)
But why? Does anybody know that error?
Thanks a lot for help and regards,
DaveYep they are! The own group they weren't in was the asmadmin group. Amusingly I had to add them both to the asmadmin group, so that the upgrade.xml was created with the oracle 12c user and group oinstal and not with oracle 11g user and group asmadmin. I can't tell you really, why, because it is a little bit confusing why he generate a file with the correct group when I add that group to the user, which was assigned wrong before to the file ?!?!
-
SMD uninstallation error "ORADBPAR.XML" file not found.
Hello Experts,
I was doing System preparation in solution manager through Solman_setup.In step 6.5 I came across Install Diagonostic agent .I checked in my system that older version of SMD is installed that may cause problem in future so I decided to uninstall it and install newer version of SMD7.3.I downloaded the SMD file and started sapinst with sudo access to uninstall it.Now I am getting an error saying ORADBPAR.XML file not found.I checked for this file but I could not find .Plz help me out to find this file and resolve the issue.
Thanks
Aditya RoushanHi Carole,
I had older version of SMD(7.01) installed in my system.I tried uninstalling this with sapinst downloaded with SMD7.2 so i got this error.I had to download the SMD7.01 from market place (you willl get this in archive) and then uninstall the SMD using this sapinst (which came with 7.01 version).i could do this successfully.Hope this will help you
@Jose:Thanx for ur reply but using sudo had no problem.I uninstalled older SMD7.01 and installed SMD7.2 using sudo privilege only.
Thanks
Aditya Roushan -
WSDL file not generated from wscompile using jwsdp-1.2.
Hi,
I used following config.xml file to generate the WSDL file.......but it didn't got genereted. Other artifacts got generated. I'm using jwsdp-1.2.
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<service name="PersonWebService"
typeNamespace="http://rahuls_person_service.org/type"
targetNamespace="http://rahuls_person_service.org/wsdl"
packageName="rahul.ws.test">
<interface name="rahul.ws.test.PersonWS"
servantName="rahul.ws.test.PersonWSImpl"/>
</service>
</configuration>
And I have following entry in the build.xml file.........
<target name="generate-server_wsdl" depends="prepare">
<antcall target="edit-config">
<param name="config.rpcenc.file" value="${config.rpcenc.file}"/>
</antcall>
<wscompile
keep="true"
base="${samplesbuild}/${appname}/classes/server"
xPrintStackTrace="true"
gen="true"
verbose="false"
model="${samplesbuild}/${appname}/${model.rpcenc.file}"
classpath="${compile.classpath}"
config="${config.rpcenc.file}">
<classpath>
<path refid="compile.classpath"/>
</classpath>
</wscompile>
<antcall target="unedit-config">
<param name="config.rpcenc.file" value="${config.rpcenc.file}"/>
</antcall>
</target>
Can any body point me what may be the problem.
thanks in advance.
RahulThe following is from the jwsdp-1.1 tutorial at http://java.sun.com/webservices/docs/1.1/tutorial/doc/
The tutorial for 1.2 is not available yet.
Seems you need to modify your config.xml to have a <service> element.
The wscompile tool reads the configuration file (config.xml), which contains information that describes the web service. The basic structure of config.xml follows:
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<service> or <wsdl> or <modelfile>
</configuration>
The <configuration> element may contain exactly one <service>, <wsdl>, or <modelfile> element.
The <service> Element
If you specify this element, wscompile reads the RMI interface that describes the service and generates a WSDL file. In the <interface> subelement, the name attribute specifies the service's RMI interface, and the servantName attribute specifies the class that implements the interface. For example:
<service name="CollectionIF_Service"
targetNamespace="http://echoservice.org/wsdl"
typeNamespace="http://echoservice.org/types"
packageName="stub_tie_generator_test">
<interface name="stub_tie_generator_test.CollectionIF"
servantName="stub_tie_generator_test.CollectionImpl"/>
</service>
The <wsdl> Element
If you specify this element, wscompile reads the service's WSDL file and generates the service's RMI interface. The location attribute specifies the URL of the WSDL file, and the packageName attribute specifies the package of the classes generated by wscompile. For example:
<wsdl
location="http://tempuri.org/sample.wsdl"
packageName="org.tempuri.sample" /> -
UIXJSP App built off BC4J Project JBO Excep XML File not found for the Container
Running JDEV 9.0.3 build 960
Created a new project in folder "UIX JSP"
"UIX JSP" note the space!
Create a default UIX JSP Application based on existing BC4J Project
When running a JSP - Get a JBO Error complaining that the XML File not found for the Container
If I recreate the project with name UIX_JSP problem does not occur.I logged a bug on this.
-
XML File not found for the Container model.cpx
I can run my application from JDeveloper without receiving the error. But when I deploy the application I get the following:
500 Internal Server Error
oracle.jbo.NoXMLFileException: JBO-26001: XML File not found for the Container model.cpx at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:751) at oracle.jbo.uicli.mom.JUMetaObjectManager.createPool(JUMetaObjectManager.java:457) at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:541) at oracle.jbo.html.struts11.BC4JRequestProcessor.initPageFromPath(BC4JRequestProcessor.java:233) at oracle.jbo.html.struts11.BC4JRequestProcessor.processMapping(BC4JRequestProcessor.java:123) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:234) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:721) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:479)
Any Ideas?Hi,
please explicitly "make" the project. One reason for this problem could be that the model.cpx isn't created properly. Select the model project and compile the complete project before deploying it. Sometimes it helps to clear the "class" directory of the project on teh file system before re-compiling
Frank -
"XML File not found for the Container DataBindings.cpx" error after deploy
Hello,
I have a problem with my JSP-Javaproject. Local works all fine but when i deploy my project to a Oracle Aplication Server i allway get this XML-File-Not-found exception:
oracle.jbo.NoXMLFileException: JBO-26001: XML File not found for the Container DataBindings.cpx
In my EAR-File the DataBindings.cpx is at:
\WEB-INF\classes\
My JSP-File:
<jbo:ApplicationModule id="AippackageModule" definition="DataBindings.DataModule" releasemode="Stateful" />
My web.xml:
<context-param>
<param-name>CpxFileName</param-name>
<param-value>DataBindings</param-value>
</context-param>
My DataBindings.cpx:
<?xml version='1.0' encoding='windows-1252' ?>
<Application xmlns="http://xmlns.oracle.com/adfm/application" id="DataBindings"
Package="" ClientType="Generic">
<pageMap>
</pageMap>
<pageDefinitionUsages>
<page id="eonerrorPageDef"
path="de.avacon.ahb.system.tools.pageDefs.eonerrorPageDef"/>
</pageDefinitionUsages>
<dataControlUsages>
<BC4JDataControl Configuration="AppModuleLocal"
Package="model.data"
xmlns="http://xmlns.oracle.com/adfm/datacontrol"
id="DataModule">
<Parameters/>
</BC4JDataControl>
</dataControlUsages>
</Application>
What can i do?
Thanks, steveAdding the dependency in the ViewController fixed this for me.
I'm using two AppModules in the controller and the second one wasn't being picked up.
I was able to fix this by:
Go to the Project Properties, select Dependencies, edit the Dependent Projects and Archives, find the model that's failing and add a tick in the Build Output box.
The model should now be picked up in the ViewController's DataBindings.cpx source file, though I did have to restart JDev for this to be picked up.
HTH
Phil -
XML File not Found for the Container BC4J.cpx
Hi,
Have following error when I start a BC4J-JSP/Struts application (with Embedded and standalone OC4J) :
500 Internal Server Error
oracle.jbo.NoXMLFileException: JBO-26001: XML File not found for the Container BC4J.cpx
oracle.jbo.mom.ContainerDefImpl oracle.jbo.mom.DefinitionManager.loadProjectDefinition(java.lang.String)
DefinitionManager.java:751
oracle.jbo.mom.ContainerDefImpl oracle.jbo.mom.DefinitionManager.loadProjectDefinition()
DefinitionManager.java:793
void oracle.jbo.mom.DefinitionManager.initManager()
DefinitionManager.java:137
void oracle.jbo.uicli.mom.JUMetaObjectManager.<init>()
JUMetaObjectManager.java:57
oracle.jbo.uicli.mom.JUMetaObjectManager oracle.jbo.uicli.mom.JUMetaObjectManager.getJUMom()
JUMetaObjectManager.java:131
oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpContainer.findSessionCookie(javax.servlet.http.HttpSession, java.lang.String, java.lang.String, java.util.Properties)
HttpContainer.java:541
boolean oracle.jbo.html.struts11.BC4JRequestProcessor.initPageFromPath(oracle.jbo.html.struts11.BC4JActionMapping, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
BC4JRequestProcessor.java:222
org.apache.struts.action.ActionMapping oracle.jbo.html.struts11.BC4JRequestProcessor.processMapping(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
BC4JRequestProcessor.java:124
void org.apache.struts.action.RequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
RequestProcessor.java:234
void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
ActionServlet.java:1292
void org.apache.struts.action.ActionServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
ActionServlet.java:492
void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
HttpServlet.java:740
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
HttpServlet.java:853
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ServletRequestDispatcher.java:721
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
ServletRequestDispatcher.java:306
boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
HttpRequestHandler.java:767
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
HttpRequestHandler.java:259
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
HttpRequestHandler.java:106
void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
PooledExecutor.java:803
void java.lang.Thread.run()
Thread.java:484
Then I make a Reload and it's ok.
I have a Workspace with two Projects :
BC4J.jpr for Businnes Components
Web.jpr for JSP Struts
In /classes I have the file Web.cpx, but no BC4J.cpx.
From which does this name come ? Can I change this name ?
Thanks
YvesI found this on Metalink...
JBO-26001: NoXMLFileException
Cause: Could not open the named XML file for read.
The following is from Note 137429.1. Hope this helps.
Raja.
JBO-26001: NoXMLFileException
Cause: Could not open the named XML file for read.
Action: 1. Make sure that the file is present. In particular, if the file is to be found in a zip/jar file, make sure that the Zip/JAR file is included in the CLASSPATH.
2. This error is also reported if the name of the XML file does not match the object Name specified in the XML file. If the file system support case insensitive file names (e.g., Windows NT), make sure that the file name matches the object Name in the XML file in case-sensitive fashion.
3. For a .JPX file, this error is reported if the JPX file is missing the JboProject XML tag. Check the JPX file to make sure that the valid tag is in there.
4. One XML file may be extending another XML file (specified by the Extends element in this XML file). This error is reported if the base XML file is not found.
5. When loading the XML file for a package (JboPackage tag), this error is reported if some unexpected error occurs while loading a containee.
In all of the above cases, a more descriptive message may be printed on Diagnostic. If you are not seeing Diagnostic messages, you can run your application with Diagnostic turned on, as in "java -Djbo.debugoutput=console ...", to see Diagnostic messages. -
Radio button on a from generated with PL/SQL procedure
Hi,
I have a form generated with PL/SQL procedure. This procedure calls another procedure on 'Submit'. If I select value for the radio button, it works fine. But if no value is given to the radio button on the form, it gives error. Is the radio button mandatory field by nature? or do I need to give default value some how? How do I make the radio button optional? so that I can call the next procedure without passing the param.
Create or Replace PROCEDURE OBM_PROCEDURE
htp.formOpen(OWA_UTIL.GET_OWA_SERVICE_PATH || 'process_obm');
htp.Print('Admin ');
htp.FormRadio('p_access_level','A');
htp.Print('Doc ');
htp.FormRadio('p_access_level','D');
htp.formSubmit(cname=>'p_button', cvalue=> 'Submit');
=================================================================
Create or Replace PROCEDURE PROCESS_OBM
(p_access_level VARCHAR2,
p_button VARCHAR2)
htp.Print('p_access_level ');
Thanks!Hi
The parameters of the called procedure should have defualt values like this
create or Replace PROCEDURE PROCESS_OBM
(p_access_level VARCHAR2 default 1,
p_button VARCHAR2 default null
htp.Print('p_access_level ');
Thanks,
sharmila -
How to call sql loader ctrl file with in the pl/sql procedure
Hi Friends,
I am doing a project related with the transferring data using queues. In the queue , I will get a tab delimited data in the form of CLOB variable/message. I do want to store that dat in the oracle table.
When updating data into the table ,
1. Don't want to write that data into a file.( Want to access directly after dequeueing from the specfic queue).
2. As the data is in tab delimited form, I want to use sql loader concept.
How do I call the sql loader ctrl file with in my pl/sql procedure. When I searched , most of the forums recommending external procedure or Java program.
Please Guide me on this issue. my preferrence is pl sql, But don't know about external procedure . If no other way , I will try Java.
I am using oracle 9.2.0.8.0.
Thanks in advance,
Vimal..Neither SQL*Loader nor external tables are designed to read data from a CLOB stored in the database. They both work on files stored on the file system. If you don't want the data to be written to a file, you're going to have to roll your own parsing code. This is certainly possible. But it is going to be far less efficient than either SQL*Loader or external tables. And it's likely to involve quite a bit more code.
The simplest possible thing that could work would be to use something like Tom Kyte's string tokenization package to read a line from the CLOB, break it into the component pieces, and then store the different tokens in a meaningful collection (i.e. an object type or a record type that corresponds to the table definition). Of course, you'll need to handle things like converting strings to numbers or dates, rejecting rows, writing log files, etc.
Justin
Maybe you are looking for
-
Hi Gurus, I have a report requirement where i need to show the following fields: Material---- vendor- gross price- quantity-----variance - Score there are other fields too based on which i am calculating variance. I was able to do all that based on z
-
Restrict the hours to be integer in timesheet
While submitting timesheet, can I restrict that the user must input hours in integer without digits? Thanks. Kevin Li
-
CS3 Save for Web bugs - No answer from Adobe in all forum posts
I just upgraded to Illustrator 13.0.02 and the problem is the same: Slice names and output settings are not remembered/saved like all previous AI versions. I don't understand why this post was closed: CS3 Save for Web Problems http://www.adobeforums.
-
-useDatastoreIdentity false flag ?
Hi, I am using the reverse mapping tool, and have specified the -useDatastoreIdentity false flag. Still, the tool keeps generating identity classes for me. What could be the problem ? Regards, Luc.
-
DC or mini-USB to iPod Mini cable: do they exist?
Hi. I've recently bought a solar charger, which comes with an adaptor for Ipods and Ipod Nanos, but not one for Ipod Minis. Does anyone know if such a thing exists? The charger has a DC-out port and a mini-USB port, so I need a cable with one of thes