Problem with Routine in Transformation
I have a routine that uses TIMECALC_DIFF to determine the difference between to date/times held in timestamp format.
All it generates is a duration of zero, no matter what the inputs are.
Value for YDATTIM is 20050812121821 and for YDATTIMF is 20050813121821 and the answer given is zero, when it should be 86400.
CONSTANTS: gc_timezone_system TYPE timezone VALUE 'MSTNO'.
DATA: t_first(14) TYPE c,
t_last(14) TYPE c,
/BIC/YDATTIM TYPE timestamp,
/BIC/YDATTIMF TYPE timestamp,
/BIC/YDATDUR TYPE i.
CALL FUNCTION 'TIMECALC_DIFF'
EXPORTING
timestamp1 = /BIC/YDATTIM
timestamp2 = /BIC/YDATTIMF
timezone = gc_timezone_system
IMPORTING
difference = /BIC/YDATDUR.
RESULT = /BIC/YDATDUR.
Thanks
Steve
In the transformation it generates the following code, and this doesn't seem to be editable;
IMPORTING
request type rsrequest
datapackid type rsdatapid
SOURCE_FIELDS-/BIC/YDATTIMF TYPE /BIC/OIYDATTIMF
SOURCE_FIELDS-/BIC/YDATTIM TYPE /BIC/OIYDATTIM
EXPORTING
RESULT type tys_TG_1-/BIC/YDATDUR**
DATA:
MONITOR_REC TYPE rsmonitor.
I have put all the code generated below
PROGRAM trans_routine.
CLASS routine DEFINITION
CLASS lcl_transform DEFINITION.
PUBLIC SECTION.
Attributs
DATA:
p_check_master_data_exist
TYPE RSODSOCHECKONLY READ-ONLY,
*- Instance for getting request runtime attributs;
Available information: Refer to methods of
interface 'if_rsbk_request_admintab_view'
p_r_request
TYPE REF TO if_rsbk_request_admintab_view READ-ONLY.
PRIVATE SECTION.
TYPE-POOLS: rsd, rstr.
Rule specific types
TYPES:
BEGIN OF tys_SC_1,
InfoObject: YDATTIMF Finish date/time.
/BIC/YDATTIMF TYPE /BIC/OIYDATTIMF,
InfoObject: YDATTIM Start date/time.
/BIC/YDATTIM TYPE /BIC/OIYDATTIM,
Field: RECORD.
RECORD TYPE RSARECORD,
END OF tys_SC_1.
TYPES:
BEGIN OF tys_TG_1,
InfoObject: YDATDUR Duration.
/BIC/YDATDUR TYPE /BIC/OIYDATDUR,
END OF tys_TG_1.
$$ begin of global - insert your declaration only below this line -
$$ end of global - insert your declaration only before this line -
METHODS
compute_YDATDUR
IMPORTING
request type rsrequest
datapackid type rsdatapid
SOURCE_FIELDS type tys_SC_1
EXPORTING
RESULT type tys_TG_1-/BIC/YDATDUR
monitor type rstr_ty_t_monitor
RAISING
cx_rsrout_abort
cx_rsrout_skip_record
cx_rsrout_skip_val.
METHODS
invert_YDATDUR
IMPORTING
i_th_fields_outbound TYPE rstran_t_field_inv
i_r_selset_outbound TYPE REF TO cl_rsmds_set
i_is_main_selection TYPE rs_bool
i_r_selset_outbound_complete TYPE REF TO cl_rsmds_set
i_r_universe_inbound TYPE REF TO cl_rsmds_universe
CHANGING
c_th_fields_inbound TYPE rstran_t_field_inv
c_r_selset_inbound TYPE REF TO cl_rsmds_set
c_exact TYPE rs_bool.
ENDCLASS. "routine DEFINITION
$$ begin of 2nd part global - insert your code only below this line *
$$ end of 2nd part global - insert your code only before this line *
CLASS routine IMPLEMENTATION
CLASS lcl_transform IMPLEMENTATION.
METHOD compute_YDATDUR.
IMPORTING
request type rsrequest
datapackid type rsdatapid
SOURCE_FIELDS-/BIC/YDATTIMF TYPE /BIC/OIYDATTIMF
SOURCE_FIELDS-/BIC/YDATTIM TYPE /BIC/OIYDATTIM
EXPORTING
RESULT type tys_TG_1-/BIC/YDATDUR
DATA:
MONITOR_REC TYPE rsmonitor.
$$ begin of routine - insert your code only below this line -
CONSTANTS: gc_timezone_system TYPE timezone VALUE 'GMTUK'.
DATA: t_first(14) TYPE c,
t_last(14) TYPE c,
/BIC/YDATTIM TYPE timestamp,
/BIC/YDATTIMF TYPE timestamp,
/BIC/YDATDUR TYPE i.
CALL FUNCTION 'ZZTIMEDIFF'
EXPORTING
/BIC/YDATTIM = /BIC/YDATTIM
/BIC/YDATTIMF = /BIC/YDATTIMF
timezone = gc_timezone_system
IMPORTING
difference = /BIC/YDATDUR.
RESULT = /BIC/YDATDUR.
$$ end of routine - insert your code only before this line -
ENDMETHOD. "compute_YDATDUR
Method invert_YDATDUR
This subroutine needs to be implemented only for direct access
(for better performance) and for the Report/Report Interface
(drill through).
The inverse routine should transform a projection and
a selection for the target to a projection and a selection
for the source, respectively.
If the implementation remains empty all fields are filled and
all values are selected.
METHOD invert_YDATDUR.
$$ begin of inverse routine - insert your code only below this line-
... "insert your code here
$$ end of inverse routine - insert your code only before this line -
ENDMETHOD. "invert_YDATDUR
ENDCLASS. "routine IMPLEMENTATION
Thanks
Steve
Similar Messages
-
Problems with App Design Transformer in Designer 9i
I've run into 2 problems using the ADT in Designer on Windows 2000. I've got 9i Developer Suite version 9.0.2.0.0 installed with no patches. Designer version is 9.0.2.80.10. Version control is not enabled.
1. Inside the RON, when I select a Business Function then Utilities->Designer->Application Design Transformer, I get a message "There is no selected workarea." From that point on, when I click on some other item (function, entity, etc.) I get "ORA-01008: Not all variables bound." It seems to have some problem trying to select the properties for the selected item.
2. I can get the ADT to work from the front panel or from the Funtion Hierarchy Diagrammer. However the function Description ends up in the Notes for the resulting module, and the function Notes do not show up in the module at all. This is different than what I'm used to in Designer 2.1, where the Description and Notes go right into the corresponding fields in the module.
I've searched all over OTN and MetaLink but couldn't find anything resembling these problems. Should I just apply the latest patch and hope for the best?Hello,
We could solve it and the problem was that the url for sap-cssurl did not have domain:port included!
The old usage worked for SP9 but not anymore for SP13.
SP13 - not working
sap-cssurl=http:/webdynpro/resources/application.company.com/myapp~app1/Applications/com.company.app1.main.APP1/sap_standard
SP13 - working (with domain + port)
cssurl=http://<domain:port>/webdynpro/resources/application.company.com/myapp~app1/Applications/com.company.app1.main.APP1/sap_standard
A similar issue seems to have the Theme Editor in for the preview mode, since exactly the same error occurs! Hope SAP looks at this and corrects it soon.
Thanks,
Robert -
XSL problem with javax.xml.transform.sax.SAXTransformerFactory
Dear sirs,
I use SAXTransformerFactory in order to transform a Hashtable to SAX Event and apply a XSL.
I try this code with the lastest version of apache parser.
It run well.
But, I put this software to WEBLOGIC 6.2 server and no run.
this check is true:
if (transFact.getFeature(javax.xml.transform.sax.SAXTransformerFactory.FEATURE)&&transFact.getFeature(javax.xml.transform.sax.SAXSource.FEATURE))
Some one can help me.
Thank in avance
The code:
java.io.ByteArrayOutputStream bout = new java.io.ByteArrayOutputStream();
com.cajarural.xml.HashtableParser parser = new com.cajarural.xml.HashtableParser(hashtable);
// Codigo para el TansformerHandler
// set the destination for the XSLT transformation
javax.xml.transform.TransformerFactory transFact = javax.xml.transform.TransformerFactory.newInstance();
if (transFact.getFeature(javax.xml.transform.sax.SAXTransformerFactory.FEATURE)&&transFact.getFeature(javax.xml.transform.sax.SAXSource.FEATURE))
javax.xml.transform.sax.SAXTransformerFactory saxTransFact = (javax.xml.transform.sax.SAXTransformerFactory) transFact;
javax.xml.transform.sax.TransformerHandler transHand = saxTransFact.newTransformerHandler(templates);
transHand.setResult(new javax.xml.transform.stream.StreamResult(bout));
parser.setContentHandler(transHand);
// attach the XSLT processor to the parser.parse();
return new String(bout.toByteArray());put Xalan in your war file then try using this kind of commands: System.setProperty("org.xml.sax.parser", "org.apache.xerces.parsers.SAXParser");
System.setProperty("javax.xml.parsers.SAXParserFactory", "org.apache.xerces.jaxp.SAXParserFactoryImpl");
System.setProperty("javax.xml.parsers.DocumentBuilderFactory", "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
System.setProperty("javax.xml.transform.TransformerFactory", "org.apache.xalan.processor.TransformerFactoryImpl");This tells JAXP what implementations it should use without even asking your administrator to modify the WebLogic setup...
It's what I've done with the WLS7.0 server I am using ;-) -
Styling XML with XSLT Problem with javax.xml.transform???
I have been trying to make a transformation and seem to be having a problem in that javax.xml.transform can not be found while using jdk1.3....If I use jdk1.4, there is no problem....
Does anyone know how I can get things to work using jdk1.3???
(Description of what I am doing...1) Building XML Source 2) Setting up the XSLT File 3) Building Source Object 4) Build Result Object 5) Transforming the Data.....MY RESULT SHOULD BE AN HTML PAGE)
I have tried putting xerces.jar and xalan.jar in my CLASSPATH....but this still doesn't work....onyl thing that has worked is using jdk1.4 as my JAVA_HOME....
PLEASE HELP!!!!PLEASE HELP....your advice here would be greatly appreciated.....
-
Hi-
Can we get back the transformations which got deleted/Overwritten in DB1. All this happened because of executing the "RSDG_AFTER_IMPORT_FOR_CORR " program in DB1 with Overwrite flag checked.
When I transported my changes to productio through Basis, It ended with RC12. I planned to try importing once again with the above program in PB1, by mistake I did that in DB1 with Overwrite mode.
When I realised that I did in DB1, I saw that the transformations got dissappeared.
If I create new transformations/DTP in DB1, then I will have to delete the old transformations which got transported in the past to PB1 which I dont want to do.
Is there any way I can retransport the transformations and DTP back to DB1 from Quality/Production. If I do this, will it let me do any enhancements in the future and use them for transports to PB1?
Pls. Suggest me what I can do to get back my old transformations in DB1.recollect into a transport and transport that request again
cheers
amit -
Problem with Illustrator CS3 transform tool
When I draw an object in Illustrator, for example a rectangle, then use the transform Height & Width boxes in the options bar to resize the rectangle into a square, the resulting square will not reflect the original size I wanted. For example: the original rectangle was 240 points by 174 points. I typed 250 points into the W & H boxes of the option panel to resize the rectangle into a 250 point square. Instead of a 250 point square, I get a rectangle 249.979 pts by 249.983 pts. Trying again with the same 250 point values will give me 250 pts by 249.993 pts. Trying a third time will result in the size I wanted originally. This has only started to happen within the last few weeks. I don't know what I did to cause this. Does anyone have any ideas??
Many thanks in advance, Fred.Use preview bounds get turned on? Look in the flyout menu of your align panel.
Snap to grid or snap to point get turned on? (I think that might do it too...) Look in your view menu. -
Antialiasing problems with custom geometric transform
Should not setting the transform of a component to a custom
geometric transform, say customTransformMatrix, like this:
component.transform.matrix = customTransformMatrix
and then drawing some vector graphics be
equivalent to manually
calculating the pixel coordinates using,
customTransformMatrix.transformPoint and then drawing the
vector graphics( without changing the transform of the component
from its default transform)?
Unfortunately, if I follow the first method I don't get
antialiasing. If I follow the second method I get antialiasing.
The simple application below draws two arcs side by side. The
arc on the left is drawn after changing the transform of the
component on which I am drawing to the custom transform. The output
looks aliased and bad. The arc on the right is drawn with the pixel
coordinates calculated using matrix.transformPoint. In this case
the drawing looks antialiased and good.
The custom transform involves mapping the width or height,
whichever is smaller, to 10 units, -5 to 5, with the origin at the
center.
Since I do see the drawing in both cases, I know that the
transform is getting applied. I don't understand why I don't get
antialiasing in one caseShould not setting the transform of a component to a custom
geometric transform, say customTransformMatrix, like this:
component.transform.matrix = customTransformMatrix
and then drawing some vector graphics be
equivalent to manually
calculating the pixel coordinates using,
customTransformMatrix.transformPoint and then drawing the
vector graphics( without changing the transform of the component
from its default transform)?
Unfortunately, if I follow the first method I don't get
antialiasing. If I follow the second method I get antialiasing.
The simple application below draws two arcs side by side. The
arc on the left is drawn after changing the transform of the
component on which I am drawing to the custom transform. The output
looks aliased and bad. The arc on the right is drawn with the pixel
coordinates calculated using matrix.transformPoint. In this case
the drawing looks antialiased and good.
The custom transform involves mapping the width or height,
whichever is smaller, to 10 units, -5 to 5, with the origin at the
center.
Since I do see the drawing in both cases, I know that the
transform is getting applied. I don't understand why I don't get
antialiasing in one case -
Problem with routine and it's infoobject (update rules)
In Metadata Repository my comm structure doesn't have an infoobject that is there in Adm. Workbench. That infoobject was included in a routine in update rules for other infoobject that was removed from the cube. In Metadata Repository the routine is still present in update rules, but not in Adm. Workbench. That makes me unable to remove it from the comm structure and of course delete the object.
How can I remove this routine? How can I make changes in Metadata?
BD - TRules - URules - Cube
A(numc) - A(numc) - B[routine converting A(numc to date)] - BJerry,
I had two objects:
ZDWIP_AUX is in comm structure and datasources
ZDWIP_REM is in Cube and Update Rules (the routine mentioned ZDWIP_AUX)
I deleted ZDWIP_REM from the cube and from catalogue.
Automatically removed in update rules.
ZDWIP_AUX is unmovable from comm structure and can't be deleted because it says that is in use by a routine that I can't see.
By recreating IObject do you mean, recreate all the scenario and remove in a different, like first the clean the recreated routine?! -
Problem with selecting and transforming layers:
I can't seem to click freely any longer between layers on my image. I have to got to my tool bar now to select a layer and then opt to "Show Transform Controls." I already tried resetting my preferences, what should I try next? I'm using the creative cloud complete version on a Mac. Help is much appreciated! Deadline tomorrow afternoon.
-JoelI can't seem to click freely any longer between layers on my image.
What does that mean? "Auto-Select" maybe?
I have to got to my tool bar now to select a layer and then opt to "Show Transform Controls."
Do you mean the Layers Panel?
"Show Transform Controls" should stick, does it turn off?
Could you please post a screenshot to illustrate the issue? -
Problem with READ Statement in the field routine of the Transformation
Hi,
I have problem with read statement with binary search in the field routine of the transformation.
read statement is working well when i was checked in the debugging mode, it's not working properly for the bulk load in the background. below are the steps i have implemented in my requirement.
1. I selected the record from the lookuo DSO into one internal table for all entried in source_packeage.
2.i have read same internal table in the field routine for each source_package entry and i am setting the flag for that field .
Code in the start routine
select source accno end_dt acctp from zcam_o11
into table it_zcam
for all entries in source_package
where source = source_package-source
and accno = source_package-accno.
if sy-subrc = 0.
delete it_zcam where acctp <> 3.
delete it_zcam where end_dt initial.
sort it_zcam by surce accno.
endif.
field routine code:
read table it_zcam with key source = source_package-source
accno = source_package-accno
binary search
transportin no fields.
if sy-subrc = 0.
RESULT = 'Y'.
else.
RESULT = 'N'.
endif.
this piece of code exist in the other model there its working fine.when comes to my code it's not working properly, but when i debug the transformation it's working fine for those accno.
the problem is when i do full load the code is not working properly and populating the wrong value in the RESULT field.
this field i am using in the report filter.
please let me know if anybody has the soluton or reason for this strage behaviour.
thanks,
Rahim.i suppose the below is not the actual code. active table of dso would be /bic/azcam_o1100...
1. is the key of zcam_o11 source and accno ?
2. you need to get the sortout of if endif (see code below)
select source accno end_dt acctp from zcam_o11
into table it_zcam
for all entries in source_package
where source = source_package-source
and accno = source_package-accno.
if sy-subrc = 0.
delete it_zcam where acctp 3.
delete it_zcam where end_dt initial.
endif.
sort it_zcam by surce accno.
field routine code:
read table it_zcam with key source = source_package-source
accno = source_package-accno
binary search
transportin no fields.
if sy-subrc = 0.
RESULT = 'Y'.
else.
RESULT = 'N'.
endif. -
Problems with transformation; infoobject not updated in DSO.
Hi all,
We are having some problems with one of our transformations between PSA and DSO.
Suddenly some of the fields are not filled in the DSO. The mapping for field Sales order number worked fine, and then I added an infoObject in the DSO to hold the info for Sales order item. I also replaced the infoobject that was supposed to hold the sales order number. After this, none of the two fields has any data in DSO. I checked the PSA, and the data is available here. I tested the rule in Rule details and for sales order number it gives the correct result, but for sales order item it gives a runtime error; assertion failed. I checked on SAP Notes, and found 929934. But the corrections are already added in our system.
Has anyone got any ideas on what to do?
BR,
LindaHi,
There are a number of problems in Transformation when either a source field or target field is changed.
This can lead to inconsistent transformation.
You can raise a message to SAP or best thing is if possible delete the Transformation and create a new one.
Regards,
Nitin -
Problems with transforming special characters
Hi,
I develop a small educational application ( http://sourceforge.net/projects/pauker/ ). I work with JDK-1.4.0 on Mandrake Linux 8.2. At first I used serialized objects to save the lessons to a file. This worked well until I wanted to change some public members of the involved classes. That's why I switched over to the new and shiny XML. Now I have a different problem!
Pauker saves its lessons in gziped XML files. Users from all over the world can create lessons containing very different characters. There are European characters like ������� and asian characters. Loading this lessons on a system with a different encoding works fine. Saving such a lesson on a system with a different encoding can destroy the lesson.
Example:
On a german system a user creates a lesson with the letter � on a card side and saves it. A different user working on an english system loads this lesson. The character "�" is displayed correctly. The english user saves the lesson. The character "�" will be replaced by a question mark in the xml file. Next time the english user loads the lesson she will not see "�" but "?" on the display.
Here is a little example program that does the transformation in exactly the way Pauker does. Please test it out.
import java.io.*;
import javax.xml.parsers.*;
import javax.xml.transform.*;
import javax.xml.transform.dom.*;
import javax.xml.transform.stream.*;
import org.w3c.dom.*;
public class XMLTest {
public XMLTest() {
try {
// create document
DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
Document document = documentBuilder.newDocument();
// fill document
Element element = document.createElement("Element");
document.appendChild(element);
element.appendChild(document.createTextNode("�������"));
// transform to XML
TransformerFactory transformerFactory = TransformerFactory.newInstance();
Transformer transformer = transformerFactory.newTransformer();
//transformer.setOutputProperty(OutputKeys.ENCODING, "ISO-8859-1");
transformer.setOutputProperty(OutputKeys.INDENT, "yes");
transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
DOMSource source = new DOMSource(document);
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
StreamResult result = new StreamResult(outputStream);
transformer.transform(source, result);
System.out.println("original: �������");
System.out.println(outputStream.toString());
} catch (Exception e) {
e.printStackTrace();
System.out.println();
public static void main(String[] args) {
new XMLTest();
So what do I have to do to fix this problem? I have a lot of new features waiting in the CVS but this bug is still open and discussed. I dont want to release a new version with such a gaping hole in it...
Thanks a lot!
If you prefer to reply peronally, please use Ronny.Standtke at gmx.deI don't see how you can say that there's a problem with saving your XML files when the code you post doesn't actually save it to a file. Your transform is being written to a ByteArrayOutputStream, which isn't used except for this statement which I assume is for debugging:System.out.println(outputStream.toString());Of course that is useless for debugging the problem you describe, for two reasons:
1. the toString() method uses your system's default encoding, which may be ISO-8859-1 but is definitely not UTF-8. You could write toString("UTF-8") but that is a waste of time because:
2. You use System.out.println() to examine the data, which writes it to a console that also probably does not use UTF-8. I don't know what encoding it does use, but UTF-8 is unlikely.
So, save your files using the UTF-8 encoding as robadmin suggested. And to test the result, make sure you use a tool that understands the UTF-8 encoding. -
Problem with standard Routine "Seniority"
Hi gurus,
I have a problem with the routine "Seniority" that evaluate the length of service for the infoObject 0SRVCLEN - Length of Service. It is a standard routine in the update rule 0HR_PA_0.
The problem occurs when the Employee has less than a year of service. The result of the routine is "0" but in the BW query "0" is interpreted like "#" - Not assigned.
How can I change the value of the Not assigned result?
This is the main part of the routine:
IF NOT EMPLOYEE_WA-ENTRYDATE IS INITIAL.
RESULT = ULTIMO0(4) - EMPLOYEE_WA-ENTRYDATE0(4).
IF ULTIMO4(4) LT EMPLOYEE_WA-ENTRYDATE4(4).
RESULT = RESULT - 1.
endif.
ENDIF.
Thanks
AlbertoSonal,
To find the number of items please correct the code as below:
Determine number of PO item lines
LOOP AT TKOMV WHERE<b> KNUMV = TKOMV-KNUMV</b>
AND NOT KPOSN IS INITIAL.
AT NEW KPOSN.
I = I + 1.
ENDAT.
ENDLOOP.
Keep rest all code as it is.
Let me know if this works,
Thanks. -
Problem with x:transform function : translation with XSLT
I've got a problem with this code :
This is the XML file :
<%@taglib prefix="x" uri="http://java.sun.com/jstl/xml"%>
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<c:import var="xslDoc" url="test.xsl"/>
<x:transform xslt ="${xslDoc}">
<students>
<student id="1">
<name>
<first>John</first>
<last>Smith</last>
<middle>T</middle>
</name>
<grade>
<points>72</points>
<letter>C</letter>
</grade>
</student>
</students>
</x:transform>This is the XSLT :
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="students">
<html>
<head>
<title>XSLT Transform</title>
</head>
<body>
<table border="1">
<tr><th>First</th><th>Last</th>
<th>Points</th><th>Letter</th></tr>
<xsl:apply-templates/>
</table>
</body>
</html>
</xsl:template>
<xsl:template match="student">
<tr>
<td><xsl:value-of select="name/first"/></td>
<td><xsl:value-of select="name/last"/></td>
<td><xsl:value-of select="grade/points"/></td>
<td><xsl:value-of select="grade/letter"/></td>
</tr>
</xsl:template>
</xsl:stylesheet>I use NetBeans 3.5.1 for compiling and testing, and on my machine all works fine.
But when i upload the code on the server i''ve this type of error :
HTTP Status 500 - Internal Server Error
exception
org.apache.jasper.JasperException: access denied (java.util.PropertyPermission org.xml.sax.driver read)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:457)
at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:576)
at java.lang.Thread.run(Thread.java:536)
root cause
java.security.AccessControlException: access denied (java.util.PropertyPermission org.xml.sax.driver read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
at java.lang.System.getProperty(System.java:572)
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:81)
at org.apache.taglibs.standard.tag.common.xml.TransformSupport.getSource(TransformSupport.java:280)
at org.apache.taglibs.standard.tag.common.xml.TransformSupport.getSource(TransformSupport.java:276)
at org.apache.taglibs.standard.tag.common.xml.TransformSupport.doStartTag(TransformSupport.java:159)
at org.apache.taglibs.standard.tag.el.xml.TransformTag.doStartTag(TransformTag.java:104)
at org.apache.jsp.test_jsp._jspService(test_jsp.java:78)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:457)
at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:576)
at java.lang.Thread.run(Thread.java:536)
org.apache.jasper.JasperException: access denied (java.util.PropertyPermission org.xml.sax.driver read)It seems a permission problem, but my experience with JSP is very poor , i've asked to control to my host
the policy of the folders but they didn't respond me yet.
Any suggestion ?
Thx for reading, and sorry for my rusty english :-PThanks.
I've already tried to insert the whole path. You mean this,right ?
<c:import var="xslDoc" url="http://www.domain.net/examples/test.xsl"/>I've searched a lot with google but i haven't find anything.
I've not searched a lot into the jakarta site, I'll do tomorrow, now it's
a bit late (1:45 AM in Italy :-0 ), so i think that i'll go to sleep.
Thanks for responding so soon!
I'll wait for your new infos.
Thanks again.
read you tomorrow. -
Problem with transforming coordinate systems
Hiho,
i've got a problem with transforming coordinate systems.
When I'm trying to transform a sdo_geometry object to another coordinate sytem and then back to the old system, the coordinates are not the same.
Here's an example:
StartSystem SRID is 8220 (Longitude / Latitude (DHDN))
TargetSystem SRID is 8307 (Longitude / Latitude (WGS84))
Original object:
Polygon: {ExteriorRing: LineString: { (0.0, -90.0) (1.5, 0.0) (0.0, 90.0) (4.5, 0.0) (0.0, -90.0)} }
Transformed object:
Polygon: {ExteriorRing: LineString: { (0.0, -5156.620156177403) (85.94366926962347, 0.0) (0.0, 5156.620156177403) (257.8310078088704, 0.0) (0.0, -5156.620156177403)} }
Transformed back to old system:
Polygon: {ExteriorRing: LineString: { (0.0, -5156.620156177403) (4924.209525017614, 0.0) (0.0, 5156.620156177403) (14772.628575052844, 0.0) (0.0, -5156.620156177403)} }
Any ideas what to do?
Thanks for the help in advance.
DirkHi Dirk
Since the transform you are trying to do is just a datum conversion of lat./long. coordinates, even the first transform yields obvious rubbish. What you have provided here does not illustrate how you submitted your polygon to CS_TRANSFORM.
Provide the syntax of your construction of the corresponding SDO_GEOMETRY object and your SQL select statement that gave these results.
Bruce
Maybe you are looking for
-
Error when adding image in-line with text
When using some of my templates I have no problem in putting a small graphic (a pdf icon) in-line with text. Yet with others the insertion of the same small graphic forces a newline before and after the graphic. If the text and image is placed in an
-
Hi there Could anyone give and advise regarding licensing? Here's my escenario: Puchased a phisycal server with VMWARE ESXI 5.5 1 Windows 2012 STD license 1 Windows 2012 essentials license 40 remote users accesing RDS in Load Balance My goal: Use th
-
Hi, Does anyone has somekind of instruction or step-by-step documentation (URL) how to install Oracle 8i on CentOS ? Thanks.
-
Unlock db user account thru OEM.
Hi, Is there anyway we can unlock database user account thru OEM.
-
Set first and last "X" values of array to a value
If I have a 1D DBL array, how can I set the first and last (e.g.) 100 values to, say, 0? I can think of doing a for loop for both the first and last segments, but wonder if there's a more elegant way. Solved! Go to Solution.