XSQL-003: Failed to find 'XSQLConfig.xml' file in server CLASSPATH.
Hi,
I'm trying to make the Tomcat 1.3.2 to work with xsql servlet, and have followed the instructions on how to do it, but i get the : XSQL-003: Failed to find 'XSQLConfig.xml' file in server CLASSPATH. - error.
What am I doing wrong?
null
Forget it...
I had pasted in:
set CLASSPATH=%CLASSPATH%;directory_where_XSQLConfig.xml_resides
istead of:
set CLASSPATH=%CLASSPATH%;C:\xsql\lib
works now....
null
Similar Messages
-
Hi xml-folks :
I am having a show stopping problem with my IBM NT server 4.0 s-pac 6 env. Error : XDK 902b with jdk 1.3.1_02 and Tomcat 3.2.3, server can't find XSQLConfig.xml file.
Components : IIS 4.0, Tomcat 3.2.3, JDK 1.3.1_02, XDK 9.0.2b
- all components were down loaded and installed from apache.org, sun.java and otn this week.
ERROR : in Internet Explorer
I type in ...
Http://geoweb:8080/geoapp/helloworld/helloworld.xsql
I recieve ...
Oracle XSQL Servlet Page Processor 9.0.2.0.0(Beta)
XSQL - 003 : Failed to find 'XSQLConfig.xml' in file server CLASSPATH.
( ... seems straight forward to fix, doesn't it.)
- history IIS works, jakarta is up as a service, it's mapped as an IIS vritual directory, Tomcat serves the demo t-c JSP and Servlets from : Http://geoweb:8080/geoapp, the java env works (java, javac, jar, etc). I've done everything to try to get the CLASSPATH to recognized the XSQLConf file, jar'ed it, renamed it to zip. And of course the file still resides in my XDK home E:\xdk_java_902b\lib, I've tried that in the path too.
< nt_system_variables >
CLASSPATH=E:\Tomcat3.2.3
\lib\XSQLConfig.jar;E:\xdk_java_902b\lib\classes12.zip;E:\xdk_java_902b\lib\classgen.jar;E:\xdk_java_902b\lib\oraclexsql.jar;E:\xdk_java_902b\lib\transx.zip;E:\xdk_java_902b\lib\xmlmesg.jar;E:\xdk_java_902b\lib\xmlparserv2.jar;E:\xdk_java_902b\lib\xschema.jar;E:\xdk_java_902b\lib\xsqlserializers.jar;E:\xdk_java_902b\lib\xsu12.jar;E:\xdk_java_902b\xdk\admin
COMPUTERNAME=GEOWEB
ComSpec=C:\WINNT\system32\cmd.exe
DiskeeperIcon=C:\Program Files\Executive Software\DiskeeperServer\
HOMEDRIVE=C:
HOMEPATH=\
INCLUDE=E:\Program Files\Mts\Include
JAVA_HOME=e:\jdk1.3.1_02
LIB=E:\Program Files\Mts\Lib
LOGONSERVER=\\GEO3
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Os2LibPath=C:\WINNT\system32\os2\dll;
Path=E:\jdk1.3.1_02\bin;E:\Perl\bin\;E:\Oracle8i\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\PROGRA~1\IBM\UMS\DMI\bin;C:\Program Files\IBM\UMS;C:\WINNT\system32;C:\WINNT;E:\Program Files\Mts;C:\WINNT\System32\WBEM;C:\PROGRA~1\IBM\UMS\Director\Bin;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 10 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0a01
PROMPT=$P$G
SystemDrive=C:
SystemRoot=C:\WINNT
TEMP=C:\TEMP
TMP=C:\TEMP
TOMCAT_HOME=e:\Tomcat3.2.3
UMS_DRIVE=C:
UMS_HOME=C:\Program Files\IBM\UMS
USERDOMAIN=GEO
USERNAME=GEONETADMIN
USERPROFILE=C:\WINNT\Profiles\geonetadmin
WIN32DMIPATH=C:\PROGRA~1\IBM\UMS\DMI
windir=C:\WINNT
</ nt_system_variables >
Anyone have any Ideas ?I should have included my wrappers.properties in the original part of the thread. Here it is with the working corrections.
Once I added : wrapper.class_path=E:\xdk_java_902b\lib\XSQLConfig.jar
to my wrappers.properties file the XML-003 error went away, i.e. its working ... I can see the XSQLCOnfig.xml file now. I don't think this is the nornal way this should be fixed but literally nothing else I did worked. I tried things like adding a system variable XML_CONF=%XML_HOME%\lib and modified my CLASSPATH to simply poiint to the %TOMCAT_HOME%\lib ( where my XSQLConfig.xml file is located). those did not get this woring ... only by adding the "wrapper.class_path=E:\xdk_java_902b\lib\XSQLConfig.jar
" to my wrappers.properties file did it work.
I hope this helps people, but I do believe this is very non-standard (this isn't the way this is supposed to be working). Everything I've read by Oracle OTN, Steve M. etc. and the boards here suggest this isn't supposed to be this hard. But it was for me.
now I'm dealing with a XML-007 error, but thats very solvable, theres plenty of documentation on why your JDBC connection is failing, worse comes to worse I'll re-install the JDBC-Oracle 8i client software.
E#
# $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v 1.2.2.1 2000/10/16 01:59:22 larryi Exp $
# $Revision: 1.2.2.1 $
# $Date: 2000/10/16 01:59:22 $
# jk_service.properties - a bootstrup file for the Tomcat NT service.
# This file provides jk_nt_service with the needed information to
# start tomcat at a different process.
# As a general note, the characters $( and ) are used internally to define
# macros. Do not use them!!!
# Whenever you see a set of lines such as:
# x=value
# y=$(x)\something
# the final value for y will be value\something
# Normaly all you will need to modify is the first two properties, i.e.
# wrapper.tomcat_home and wrapper.java_home. Most of the configuration
# is derived from these two.
# wrapper.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
wrapper.tomcat_home=E:\Tomcat3.2.3
# wrapper.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
wrapper.java_home=E:\jdk1.3.1_02
#------ ADVANCED MODE ------------------------------------------------
# Make sure that you read the how-to before making too many changes.
# Defining where the service is going to put the standard
# output of Tomcat. This is where System.out.println and
# System.err.println goes to.
wrapper.stdout=$(wrapper.tomcat_home)\logs\jvm.stdout
wrapper.stderr=$(wrapper.tomcat_home)\logs\jvm.stderr
# Additions to the path. put here directories where you store DLLs for
# native methods etc.
wrapper.ld_path=e:\
wrapper.ld_path=c:\
# Defining the classpath. All the rows that belongs to the class_path
# property are concatenated to create the classpath for Tomcat.
# If you have additional locations that you would like to add to the
# claspath you should add a new wrapper.class_path=<location> line.
wrapper.class_path=$(wrapper.tomcat_home)\classes
wrapper.class_path=$(wrapper.tomcat_home)\lib\jaxp.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar
# Here we add the classes required for the xsql servlet and any
# other apps.
wrapper.class_path=E:\xdk_java_902b\lib\XSQLConfig.jar
wrapper.class_path=E:\xdk_java_902b\lib\classes12.jar
wrapper.class_path=E:\xdk_java_902b\lib\classgen.jar
wrapper.class_path=E:\xdk_java_902b\lib\oraclexsql.jar
wrapper.class_path=E:\xdk_java_902b\lib\xmlmesg.jar
wrapper.class_path=E:\xdk_java_902b\lib\xmlparserv2.jar
wrapper.class_path=E:\xdk_java_902b\lib\xschema.jar
wrapper.class_path=E:\xdk_java_902b\lib\xsqlserializers.jar
wrapper.class_path=E:\xdk_java_902b\lib\xsu12.jar
wrapper.class_path=E:\xdk_java_902b\xdk\admin
# This is where Javac is located in JDK1.3.x
wrapper.class_path=$(wrapper.java_home)\lib\tools.jar
# and a tribute to JDK1.1.x
# wrapper.class_path=$(wrapper.java_home)\lib\classes.zip
# This is the Java interpreter used for running Tomcat
wrapper.javabin=$(wrapper.java_home)\bin\java.exe
# This is Tomcat's startup class (the class that contains Tomcat's
# starting point.
wrapper.startup_class=org.apache.tomcat.startup.Tomcat
# This is the location where tomcat's server.xml configuration file
# is located.
wrapper.server_xml=$(wrapper.tomcat_home)\conf\server.xml
# The NT service uses AJP12/AJP13 to shutdown Tomcat. The
# wrapper.shutdown_port tells the service the identity of the port that
# is used by AJP12/AJP13.
wrapper.shutdown_port=8007
# Can either be ajp12 or ajp13 depending on your configuration.
# Default value is ajp12
wrapper.shutdown_protocol=ajp12
# This is the command line that is used to start Tomcat. You can add extra
# parameters to it but you can not remove anything.
wrapper.cmd_line=$(wrapper.javabin) -classpath $(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) -home $(wrapper.tomcat_home) -
Offline Servicing of OS fails (failed to find properties of file 5)
Hi,
I'm unable to get the Offline Update Servicing of the OS to work. In the OfflineServicingMgr.log I Keep getting:
Failed to get update applicability. Dism.exe command line is below:"C:\Windows\system32\cmd.exe" /q /c ""D:\Microsoft\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\dism.exe" /Image:"D:\ConfigMgr_OfflineImageServicing\I0100042\ImageMountDir" /LogPath:%WINDIR%\Logs\Dism\dism_sccmAMD64.log /English /Get-PackageInfo /Packagepath:"D:\ConfigMgr_OfflineImageServicing\fc1721b9-7ee8-44a6-9842-b7d89596f126\KB2890660.cab">>D:\ConfigMgr_OfflineImageServicing\I0100042\[email protected]"
after this happened 5 times I get the following:
Failed to find properties of file 5
UnMounting Image (Commit Changes = 0) ...
Completed processing image package I0100042. Status = Failed
I also checked the dism_sccmAMD64.log but can't find a solution to this Problem, there are to much Errors in there.
dism_sccmAMD64.log:
2014-08-27 10:34:49, Info DPX Started DPX phase: Apply Deltas Provided In File
2014-08-27 10:34:49, Info DPX File could not be expanded, Source=update.mum, Target=(null), status=0x80070002
2014-08-27 10:34:49, Info DPX ProvideRequestedDataByFile failed, Response file Name: \\?\D:\ConfigMgr_OfflineImageServicing\7e1f745c-af8b-47a6-a3e0-41288d29c831\Windows8.1-KB2898464-x64.cab
2014-08-27 10:34:49, Info DPX Ended DPX phase: Apply Deltas Provided In File
2014-08-27 10:34:49, Info DPX DpxException hr=0x80070002 code=0x020102
2014-08-27 10:34:49, Info DPX Ended DPX phase: Resume and Download Job
2014-08-27 10:34:49, Info DPX DpxException hr=0x80070002 code=0x020217
2014-08-27 10:34:49, Info CBS Failed to extract file update.mum from cabinet \\?\D:\ConfigMgr_OfflineImageServicing\7e1f745c-af8b-47a6-a3e0-41288d29c831\Windows8.1-KB2898464-x64.cab [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-08-27 10:34:49, Info CBS Failed to extract package manifest from cabinet [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-08-27 10:34:49, Info CBS Failed to initialize internal package [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-08-27 10:34:49, Error CBS Failed to create internal package [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-08-27 10:34:49, Error DISM DISM Package Manager: PID=7840 TID=31584 Failed opening package. - CDISMPackageManager::Internal_CreatePackageByPath(hr:0x80070002)
2014-08-27 10:34:49, Error DISM DISM Package Manager: PID=7840 TID=31584 Failed to get the underlying CBS package. - CDISMPackageManager::OpenPackageByPath(hr:0x80070002)
2014-08-27 10:34:49, Error DISM DISM Package Manager: PID=7840 TID=31584 Failed to open the package at location: "D:\ConfigMgr_OfflineImageServicing\7e1f745c-af8b-47a6-a3e0-41288d29c831\Windows8.1-KB2898464-x64.cab" - CPackageManagerCLIHandler::ProcessPackagePath(hr:0x80070002)
2014-08-27 10:34:49, Error DISM DISM Package Manager: PID=7840 TID=31584 Failed to get the list of packages from the command line. - CPackageManagerCLIHandler::ProcessCmdLine_GetPackageInfo(hr:0x80070002)
2014-08-27 10:34:49, Error DISM DISM Package Manager: PID=7840 TID=31584 Failed while processing command get-packageinfo. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070002)
2014-08-27 10:34:49, Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=80070002
2014-08-27 10:34:49, Info DISM DISM Provider Store: PID=7840 TID=31584 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2014-08-27 10:34:49, Info DISM DISM Provider Store: PID=7840 TID=31584 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2014-08-27 10:34:49, Info DISM DISM Provider Store: PID=7840 TID=31584 Found the PE Provider. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2014-08-27 10:34:49, Info DISM DISM Provider Store: PID=7840 TID=31584 Finalizing the servicing provider(DISM Package Manager) - CDISMProviderStore::Internal_DisconnectProvider
2014-08-27 10:34:49, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/ConfigMgr_OfflineImageServicing/I0100042/ImageMountDir/Windows/System32/config/SOFTWARE
2014-08-27 10:34:49, Info CBS Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/ConfigMgr_OfflineImageServicing/I0100042/ImageMountDir/Windows/System32/config/SOFTWARE, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2014-08-27 10:34:49, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/ConfigMgr_OfflineImageServicing/I0100042/ImageMountDir/Windows/System32/config/SYSTEM
2014-08-27 10:34:49, Info CBS Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/ConfigMgr_OfflineImageServicing/I0100042/ImageMountDir/Windows/System32/config/SYSTEM, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2014-08-27 10:34:49, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/ConfigMgr_OfflineImageServicing/I0100042/ImageMountDir/Windows/System32/config/SECURITY
2014-08-27 10:34:49, Info CBS Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/ConfigMgr_OfflineImageServicing/I0100042/ImageMountDir/Windows/System32/config/SECURITY, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2014-08-27 10:34:49, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/ConfigMgr_OfflineImageServicing/I0100042/ImageMountDir/Windows/System32/config/SAM
2014-08-27 10:34:49, Info CBS Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/ConfigMgr_OfflineImageServicing/I0100042/ImageMountDir/Windows/System32/config/SAM, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2014-08-27 10:34:49, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/ConfigMgr_OfflineImageServicing/I0100042/ImageMountDir/Windows/System32/config/COMPONENTS
2014-08-27 10:34:49, Info CBS Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/ConfigMgr_OfflineImageServicing/I0100042/ImageMountDir/Windows/System32/config/COMPONENTS, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2014-08-27 10:34:49, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/ConfigMgr_OfflineImageServicing/I0100042/ImageMountDir/Windows/System32/config/DEFAULT
2014-08-27 10:34:49, Info CBS Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/ConfigMgr_OfflineImageServicing/I0100042/ImageMountDir/Windows/System32/config/DEFAULT, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2014-08-27 10:34:49, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/ConfigMgr_OfflineImageServicing/I0100042/ImageMountDir/Users/default/ntuser.dat
2014-08-27 10:34:49, Info CBS Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/ConfigMgr_OfflineImageServicing/I0100042/ImageMountDir/Users/default/ntuser.dat, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2014-08-27 10:34:49, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/ConfigMgr_OfflineImageServicing/I0100042/ImageMountDir/Windows/system32/smi/store/Machine/schema.datRight before, the error you mentioned, I see a couple of file not found message. You might want to check those, still it can be anything from a file that doesn't exist till too little disk space.
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
How to find PG.xml file name and path associated with a FUNCTION
Hi,
I am having a function:IRC_VIS_HOME_PAGE with Web HTML value as below:
OA.jsp?akRegionCode=IRC_VIS_HOME_PAGE&akRegionApplicationId=800&OAPB=IRC_BRAND
How to find PG.xml file name and path assoicated with above funtion.
Thanks,
ashokAshok,
Function IRC_VIS_HOME_PAGE will have 2 parameter defined for it which are OASF and OAHP where
OASF=<SelectedFunctionName> - this tells the Framework to select this function in the given "Home Page" menu context.
OAHP=<HomePageMenuName> - this is used ONLY with the OASF parameter, and it is used to establish the current menu context. It should point to a "Home Page" menu.
--Shiv -
"Adobe CFC Generator" error "cannot find ide_config.xml file"
Hi there
Yesterday I downloaded a CF Builder 2 Trial. I install in my machine I am running CF 9.01 Dev version.
When I try install "Adobe CFC Generator" extension "cannot find ide_config.xml file"
I try to find some fix. but I can't.
Some Ideas thank you!!With ColdFusion Builder 2, CFC Generator was intended to be removed.However mistakenly, CFC Generator was removed only partially.
If you want to use:
Plesae download it from: http://adobecfcgenerator.riaforge.org/
Or If you have ColdFusion Builder 1 or ColdFusion Builder 2 Beta installation:
You can take it from <ColdFusion Builder 1 or ColdFusion Builder 2 Beta Install Dir>\extensions and deploy it to your server instead of using the incorrectl installed CFC Generator.
Thanks,
Krishna -
Failed to find/read tar file:02 error loging in to my mobile bank
Hello
When I try to log into my online account on DNBNor bank (Norwegian Bank) using BankID Mobile I get this error for the last week:
"Failed to find/read tar file:02"
I have iPhone 3GS with iOs 4.2.1, and I have tried restore twice, same error.
This have worked earlier, and I'm sure it have worked after I upgraded to iOS 4.2.1.
Anyone have any ideas what can be wrong, where to look?
Thanks
Kjell ArneWhat is the path and start page that you have specified on
the first page of the FlashHelp layout dialog?
--Ben -
Upload XML file from server to itab
After failed to get a answer about download data from xml file in server to my itab, and searching and searching in hundred of post and threads i try my own solution for this issue.
I read the file with:
OPEN DATASET FICHERO FOR INPUT IN TEXT MODE ENCODING DEFAULT.
In this case the result is a table filled with register type string like this:
#<label>22222</label>
I need a table with this kind of value (example):
label | 22222
label2 | John
label3 | Smith
Therefore i have to parse the data of my table, i try with the FM:
TEXT_CONVERT_XML_TO_SAP
But dont works for me,
I am too new in ABAP.
The code for my report is very simple:
REPORT ZPRUEBA_XML.
DATA: BEGIN OF TABLA OCCURS 1,
TEXTO(256) TYPE C,
END OF TABLA.
DATA: FICHERO LIKE RLGRAP-FILENAME.
OPEN DATASET FICHERO FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF SY-SUBRC NE 0.
WRITE:/ 'ERROR'.
ENDIF.
FREE TABLA.
DO.
READ DATASET FICHERO INTO TABLA.
IF SY-SUBRC NE 0.
EXIT.
ELSE.
APPEND TABLA.
WRITE: TABLA-TEXTO.
ENDIF.
ENDDO.
CLOSE DATASET FICHERO.
And my ".xml" in the server is very simple too.
<label>222222</label>
<name>John</name>
<street>Smith, 23, NY</street>
Anyone can help me?
ThanksHi,
You could use a transformation to do that, or call FM 'TEXT_CONVERT_XML_TO_SAP'... you also have the class IF_IXML that should help you and a lot of threads on the subject, such as:
convert XML data into ABAP internal table
ABAP Class to convert XML to itab
Upload XML to internal table and vice versa in SAP 4.6C
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e66701fc-0d01-0010-9c9a-f8a36c4e87ba
Kr,
Manu. -
Crystal Reports 2013 Failed to find an Available Report Application Server.
Hi Experts,
I am unable to Publish Crystal Reports 2013 to the BI 4.1 SP2 Enterprise.
I have installed SAP CR 2013 on my Laptop and also on our Citrix machine, from both systems I am getting the following error when try to publish:
Failed to find an Available Report Application Server.
All the ports and firewall are open, when doing some trace with Wireshark, its assigning some random ports starting with 64960.
On the same machine, i have installed Crystal Reports 2008, I could publish reports to Enterprise.
Could you please let me know what might be the issue.
Is Crystal Reports 2013 need any specific port to be assigned?
Thanks,
KrisHello Experts,
In addition to assiging the ports for below servers,
Crystal 2013 Report Application Server
Crystal Processing Server
Input File Repository Server
Outout File Repository Server
I have configured the following setting also: Add Service Account that the
CMS runs under to the server's local admin group.
Still I am getitng the following error when trying to save the report to Enterprise:
" Failed to find an Available Report Application Server "
Please advise .
Thanks,
Kris -
Reading a XML File from server in BI Publisher
Hi All,
Can any one help me how i can get the XML file from server to BI Publisher using data source.
The file should transfer directly to BI Publisher with out storing it in any local directory in local system.
Thank you
Shalini.Shalini
Do you mean that you have another system that is going to serve up the XML data and you want BIP to be able to pick it up as a data source ?
Couple of options:
1, If the XML filename can remain static you can use the 'XML File' datasource. You need to set up a directory on the server and then maybe create a dummy XML file to start with upon which you can build a report. Then have your external data generator put the file into that directory and then schedule the report so that BIP will pick and report.
2. IS the data generator accessible via HTTP or web service - BIP supports those too.
3. More complex but with a little effort you can create a servlet that will pick up the file from a directory and serve it up to BIP on demand - Im going to write about this on the blog this week
Regards
Tim -
Import xml file from server to itab
Hi all,
I have a little issue loading data from xml file in server into my itab.
With my file in local (C:\example\example.xml) works fine, but if try this with the same file in the server (e:\example\example.xml) dont work. This is my code resume.
TYPES: BEGIN OF TY_TAB,
NAME TYPE STRING,
VALUE TYPE STRING,
END OF TY_TAB.
DATA: ITAB TYPE STANDARD TABLE OF TY_TAB,
WA TYPE TY_TAB.
* Nombre del fichero
DATA: NOMBREFICHEROXML LIKE IBIPPARMS-PATH,
* data XML
DATA: LCL_XML_DOC TYPE REF TO CL_XML_DOCUMENT,
V_SUBRC TYPE SYSUBRC,
V_NODE TYPE REF TO IF_IXML_NODE,
V_CHILD_NODE TYPE REF TO IF_IXML_NODE,
V_ROOT TYPE REF TO IF_IXML_NODE,
V_ITERATOR TYPE REF TO IF_IXML_NODE_ITERATOR,
V_NODEMAP TYPE REF TO IF_IXML_NAMED_NODE_MAP,
V_COUNT TYPE I,
V_INDEX TYPE I,
V_ATTR TYPE REF TO IF_IXML_NODE,
V_NAME TYPE STRING,
V_PREFIX TYPE STRING,
V_VALUE TYPE STRING,
V_CHAR TYPE CHAR2.
NOMBREFICHEROXML = 'E:\example\example.xml'.
CREATE OBJECT LCL_XML_DOC.
CALL METHOD LCL_XML_DOC->IMPORT_FROM_FILE
EXPORTING
FILENAME = NOMBREFICHEROXML
RECEIVING
RETCODE = V_SUBRC.
IF V_SUBRC EQ '0'.
V_NODE = LCL_XML_DOC->M_DOCUMENT.
CHECK NOT V_NODE IS INITIAL.
V_ITERATOR = V_NODE->CREATE_ITERATOR( ).
V_NODE = V_ITERATOR->GET_NEXT( ).
WHILE NOT V_NODE IS INITIAL.
CASE V_NODE->GET_TYPE( ).
WHEN IF_IXML_NODE=>CO_NODE_ELEMENT.
V_NAME = V_NODE->GET_NAME( ).
WHEN IF_IXML_NODE=>CO_NODE_TEXT OR
IF_IXML_NODE=>CO_NODE_CDATA_SECTION.
*text node
V_VALUE = V_NODE->GET_VALUE( ).
MOVE V_VALUE TO V_CHAR.
IF V_CHAR <> CL_ABAP_CHAR_UTILITIES=>CR_LF.
WA-NAME = V_NAME.
WA-VALUE = V_VALUE.
APPEND WA TO ITAB.
CLEAR WA.
ENDIF.
ENDCASE.
*advance to next node
V_NODE = V_ITERATOR->GET_NEXT( ).
ENDWHILE.
WRITE:/ 'file ok'.
ELSE.
WRITE:/ 'file ko'.
Anyone can help, or tell me a easy way to load xml file from server to my itab that works with my old sap 4.7.
thanks
Edited by: DIEGO_GT on Nov 18, 2011 12:04 PMHi Diego.
Next time try to search in [www.sdn.sap.com] first.
See the following example: [http://wiki.sdn.sap.com/wiki/display/ABAP/UploadXMLfiletointernal+table]
Regards.
Rafael Rojas. -
Reading XML file from server in BI Publisher
Hi All,
Can any one help me how i can get the XML file from server to BI Publisher using data source.
The file should transfer directly to BI Publisher with out storing it in any local directory in local system.
Thank you
Shalini.Shalini
Do you mean that you have another system that is going to serve up the XML data and you want BIP to be able to pick it up as a data source ?
Couple of options:
1, If the XML filename can remain static you can use the 'XML File' datasource. You need to set up a directory on the server and then maybe create a dummy XML file to start with upon which you can build a report. Then have your external data generator put the file into that directory and then schedule the report so that BIP will pick and report.
2. IS the data generator accessible via HTTP or web service - BIP supports those too.
3. More complex but with a little effort you can create a servlet that will pick up the file from a directory and serve it up to BIP on demand - Im going to write about this on the blog this week
Regards
Tim -
Cannot find BICAdapterMetadata.xml file
Hi,
We just deployed the BICAdater. But we are not able to find the BICAdapterMetadata.xml file to deploy. Can someone please tell me where i can find that file
Regards,
AnilAnil,
Please see this document where Prasad have mentioned on how to deploy this:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e2aeb02c-0601-0010-d680-c9be61ffa390
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6dc02f5d-0601-0010-cd9d-f4ff9a7e8c33
---Satish -
BC4J can't find existing xml file
hi, following a debug output with a "file not found" error.
the problem is, the file exist.
is it possible the container look in root directory?
[76] No xml file: /com/eautop/bc/master/master.xml, metaobj = com.eautop.bc.master.masterot directory
following the line around the error. i assume the outofmemory exception will be a follow up to the previous one.
any hints?
regards
wolfgang gillich
[65] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
[66] JavaVMVersion: 1.3.0-1
[67] JavaVMVendor: Compaq Computer Corp.
[68] JavaVMName: Classic VM
[69] OperatingSystemName: OSF1
[70] OperatingSystemVersion: V4.0
[71] OperatingSystemUsername: oracle
[72] Connected to Oracle JBO Server - Version: 3.2.9.76.3
[73] {{+++ id=10000 type: 'BC4J_CREATE_ROOTAM' Create Root Application Module 'com.eautop.bc.master.MasterAppModule'
[74] {{+++ id=10001 type: 'METAOBJECT_LOAD' Loading meta-object: com.eautop.bc.master.MasterAppModule
[75] {{+++ id=10002 type: 'METAOBJECT_LOAD' Loading meta-object: com.eautop.bc.master.master
[76] No xml file: /com/eautop/bc/master/master.xml, metaobj = com.eautop.bc.master.master
[77] CSMessageBundle (language base) being initialized
[78] }}+++ End Event10003 null
[79] Cannot Load parent Package : com.eautop.bc.master.master
[80] Business Object Browsing may be unavailable
[81] No xml file: /com/eautop/bc/master/MasterAppModule.xml, metaobj = com.eautop.bc.master.MasterAppModule
[82] }}+++ End Event10002 null
javaHello,
I'm trying to learn how to use an xml file to store user settings for an add in I'm creating. Up to this point, I've just used simple text files in the past that were structured a specific way. I thought I would try and learn to use XML for this after doing
some research online and came across this tutorial:
http://www.codeproject.com/Articles/8554/Application-Settings-the-NET-way-INI-Registry-or-X
I add the DataSet to my project, but when I get to the step where I'm supposed to add an element to the blank DataSet, I can't find the XML Schema toolbox items. I tried to manually add the toolbox items but couldn't find them. Does anyone know where they
are located so I can add them to my toolbox? Or perhaps another similar tutorial I could follow for creating an XML settings file that I can save to and read from easily for my add in. Since it is a dll, I can't use My.Settings, had already looked into that.
I appreciate any help offered, Thank you.
Is there a reason that you don't want to use Application Settings?
By the way - it's saved in XML format, not that that's really important.
Still lost in code, just at a little higher level. -
How to find the XML file size in the scenarios?
Hi All,
Recently i have attended an interview at a MNC.
They asked some realtime questions like
1.how to find the XML document size in a File-File scenario?
2.What is mass-assignment replication etc.....
Can anybody tell me the solution for these.
Best regards
Hari prasadIf the input is a flat file, there is no exact way to calculate the size of the generated XML file, since it depends on many factors (number of fields in the recordsets, size of the name of the fields, number of records, etc).
As a rule of thumb, generally ppl use XML file size = 2 x Flat file size, in order to do sizing calculations etc. But again, that is just an estimation, not a precise calculation.
Regards,
Henrique. -
Finding the XML file when importing ENH4 from SAP DVD
Hello,
We are installing the ENH4 from the SAP DVD 51033594, but in the DVD there is no xml file. How can I get one? Our Solution Manager is not yet properly configured as the installation is new.
Thanks and best regards,
AnaHi Ana,
You need to configure your system in Solution Manager.
Then when you access Maintenance Optimizer, solman will automatically detect the required patches/DVD's needed for your upgrade.
The XML file generated by solman is MANDATORY.
Thanks,
Saba.
Maybe you are looking for
-
Different versions of iTunes on same computer
Hi, I have an iTunes gift card that I would like to redeem, but you can't read the code. How can I redeem the gift card?!
-
Determine context value dinamically
Hi Gurus, I have to develop a report where as input value the user sets the year and in the columns we have the calendar week and in rows several KFs. Let say we have KF1 and KF2. KF1 is a ratio from the underlying infoprovider, Sales volume. KF2 is
-
ESB DB adapter and error logging
Hi ! I need a DB adapter in ESB to read records from a table and do a logical delete (update a status column) . I can get it to work om my laptop, but not in our dev machines. I noticed that if I change the the 'mcf-properties' in the wsdl-file for t
-
Set up asyncronous correlation to MSMQ / Dynamics AX2012
Hi Pros, I am using the MSMQ-Adapter to send an async. message to Dynamics AX2012. The message is processed by AX and the response is put to an outbound MSMQ directory. BizTalk receives the response but i have problems setting up a working correlatio
-
Planning & HFM Certifications - Advice Appreciated
Hello All – For those on the board that are certified Hyperion professionals (Planning and HFM). I'd really appreciate your input as to the value of these certifications both from the perspective of 1) Getting onto projects 2) Being able to perform o