Changes to sapxmltoolkit.jar from PI7.0 to PI7.1
Hi.
This question is about "XSLT Mapping with Java Enhancement".
We have build numerous interfaces that uses java functions in a XSL mapping.
This works fine in PI7.0, but when porting to PI7.1 it stops to work.
SAP gives examples how to make this work:
PI7.0: http://help.sap.com/saphelp_nw70/helpdata/EN/55/7ef3003fc411d6b1f700508b5d5211/frameset.htm
PI7.1: http://help.sap.com/saphelp_nwpi71/helpdata/en/83/2200cb50d345c793336d9a1683163e/frameset.htm
The examples are identical, but again, it dosnt work on PI7.1.
In PI7.1 the sapxmltoolkit.jar has been renamed to "sap.comtcsapxmltoolkit~sapxmltoolkit.jar". Trying to use the xsl process on standard XSLT transformations work fine.
When trying the mentioned PI7.1 example, it throws an exception (TransformerConfigurationException), with the following Error Message: "ERROR: 'The first argument to the non-static Java function 'concat' is not a valid object reference."
When trying with the PI7.0 sapxmltoolkit.jar, it works like a charm!
Hope someone can help resolve this problem...
Regards...
Peter
Hi Stefan.
Thanks for a quick reply.
It works now.
Wonder how I missed that check button
Regards...
Peter
Similar Messages
-
Error in Muenchian method in XSLT mapping using sapxmltoolkit.jar
Hi,
The following example produces a different result in SAP from that of Altova, Microsoft providers. It is a resonably complex Muenchian transformation that I have reduced this to the core issue:
Have tried with SP14 but same result on every delivered version of sapxmltoolit.jar
I am trying to extract a unique set of locationCodes to assemble an IDOC for each locationCode - breaking out the relevant order lines.
<b>My question is twofold:</b>
a) is the behaviour of sapxmltoolkit errannt to the spec?
b) is there another way to produce this list or work around?
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" indent="yes"/>
<xsl:key name="partner-ids" match="PRODQNTY/LOCNQNTY" use="locationCode"/>
<xsl:template name="buildIdoc" match="ORDER">
<ORDERS05>
<xsl:for-each select="PRODQNTY/LOCNQNTY[count(.|key('partner-ids',locationCode)[1])=1]">
<xsl:sort select="locationCode" data-type="number"/>
<xsl:comment><xsl:value-of select="locationCode"/> Location Code</xsl:comment>
<xsl:comment><xsl:value-of select="../lineNo"/> Line Number</xsl:comment>
<IDOC BEGIN="1"></IDOC>
</xsl:for-each>
</ORDERS05>
</xsl:template>
</xsl:stylesheet>
<b>Sample input document:</b>
?xml version="1.0"?>
<ORDER loops-id="ORDER">
<PRODQNTY loops-id="PRODQNTY">
<lineNo>1</lineNo>
<productCode>9990007454</productCode>
<LOCNQNTY>
<locationCode>001</locationCode>
<quantityOrdered>6</quantityOrdered>
</LOCNQNTY>
<LOCNQNTY>
<locationCode>004</locationCode>
<quantityOrdered>3</quantityOrdered>
</LOCNQNTY>
<LOCNQNTY>
<locationCode>005</locationCode>
<quantityOrdered>2</quantityOrdered>
</LOCNQNTY>
<LOCNQNTY>
<locationCode>006</locationCode>
<quantityOrdered>1</quantityOrdered>
</LOCNQNTY>
<LOCNQNTY>
<locationCode>007</locationCode>
<quantityOrdered>1</quantityOrdered>
</LOCNQNTY>
<LOCNQNTY>
<locationCode>009</locationCode>
<quantityOrdered>3</quantityOrdered>
</LOCNQNTY>
<LOCNQNTY>
<locationCode>021</locationCode>
<quantityOrdered>1</quantityOrdered>
</LOCNQNTY>
<LOCNQNTY>
<locationCode>082</locationCode>
<quantityOrdered>2</quantityOrdered>
</LOCNQNTY>
<unDefData></unDefData>
<segmentCount>0</segmentCount>
</PRODQNTY>
<PRODQNTY loops-id="PRODQNTY">
<lineNo>2</lineNo>
<productCode>1864503696</productCode>
<LOCNQNTY>
<locationCode>001</locationCode>
<quantityOrdered>4</quantityOrdered>
</LOCNQNTY>
<LOCNQNTY>
<locationCode>004</locationCode>
<quantityOrdered>2</quantityOrdered>
</LOCNQNTY>
<LOCNQNTY>
<locationCode>005</locationCode>
<quantityOrdered>2</quantityOrdered>
</LOCNQNTY>
<LOCNQNTY>
<locationCode>006</locationCode>
<quantityOrdered>1</quantityOrdered>
</LOCNQNTY>
<LOCNQNTY>
<locationCode>007</locationCode>
<quantityOrdered>1</quantityOrdered>
</LOCNQNTY>
<LOCNQNTY>
<locationCode>009</locationCode>
<quantityOrdered>1</quantityOrdered>
</LOCNQNTY>
<LOCNQNTY>
<locationCode>021</locationCode>
<quantityOrdered>1</quantityOrdered>
</LOCNQNTY>
<LOCNQNTY>
<locationCode>082</locationCode>
<quantityOrdered>1</quantityOrdered>
</LOCNQNTY>
</PRODQNTY>
</ORDER>
<b>Expected Output:</b> - from Altova - 1 record per locationCode
<?xml version="1.0" encoding="UTF-8"?>
<ORDERS05>
<!--001 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1" />
<!--004 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1" />
<!--005 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1" />
<!--006 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1" />
<!--007 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1" />
<!--009 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1" />
<!--021 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1" />
<!--082 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1" />
</ORDERS05>
<b>Output from sapxmltoolkit.jar</b> - 1 record per locationCode per PRODQNTY line so I get a non unique set of locationCodes: (every location twice in this example - and with 16 order lines, every location 16 times and 128 IDOCs (instead of 8 IDOCs).
<?xml version="1.0" encoding="utf-8"?>
<ORDERS05>
<!--001 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1"/>
<!--001 Location Code-->
<!--2 Line Number-->
<IDOC BEGIN="1"/>
<!--004 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1"/>
<!--004 Location Code-->
<!--2 Line Number-->
<IDOC BEGIN="1"/>
<!--005 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1"/>
<!--005 Location Code-->
<!--2 Line Number-->
<IDOC BEGIN="1"/>
<!--006 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1"/>
<!--006 Location Code-->
<!--2 Line Number-->
<IDOC BEGIN="1"/>
<!--007 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1"/>
<!--007 Location Code-->
<!--2 Line Number-->
<IDOC BEGIN="1"/>
<!--009 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1"/>
<!--009 Location Code-->
<!--2 Line Number-->
<IDOC BEGIN="1"/>
<!--021 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1"/>
<!--021 Location Code-->
<!--2 Line Number-->
<IDOC BEGIN="1"/>
<!--082 Location Code-->
<!--1 Line Number-->
<IDOC BEGIN="1"/>
<!--082 Location Code-->
<!--2 Line Number-->
<IDOC BEGIN="1"/>
</ORDERS05>A bit more heartache & trials and I solved it
The key defition is unstable in XSLT the way I defined it
Simple change to the XSLT: remove the PRODQNTY node reference from the match attribute:
<b>incorrect key:</b>
<xsl:key name="partner-ids" match="PRODQNTY/LOCNQNTY" use="locationCode"/>
<b>correct key:</b>
<xsl:key name="partner-ids" match="LOCNQNTY" use="locationCode"/>
And the "group-by or Muenchian method" loop statement:
<xsl:for-each select="PRODQNTY/LOCNQNTY[count(.|key('partner-ids',locationCode)[1])=1]">
Hopes this helps someone else....
Regds Doug. -
Hi, does anyone know how to invoke the JDev 10.1.3 oc4j_remote_deploy.jar from the command line? We have it working for 10.1.2, for automated deployment scripts.
If I try the same thing for 10.1.3, I get an error.
See below my command line and the output.
I think the error is in the Oc4jDcmServlet URL, the format seems to have changed from 10.1.2 to 10.1.3.
I tried to reverse-engineer by using an HTTP tracer, but that did not help.
Any help would be much appreciated.
Regards, Maarten Brugman
======================== command line: ==================
"C:\j2sdk1.4.2_09\bin\java.exe" -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdev-work\ebrp-new\ear\target\installer\oc4j_remote_deploy.jar http://lnvx0027:29805/Oc4jDcmServletAPI/ oc4jadmin ***** listApplications /oracle/oaedv03/oracle/oas/10.1.3/ontwj2e1013 UNDEFINED UNDEFINED OC4J_OEBRP
============ output: ====================================
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command listApplications /oracle/oaedv03/oracle/oas/10.1.3/ontwj2e1013
UNDEFINED UNDEFINED OC4J_OEBRP
Command = LISTAPPLICATIONS
Opening connection to Oc4jDcmServlet
Setting userName to oc4jadmin
Sending command to DCM servlet
**** Could not check HTTP response code
** Thread[main,5,main] ** Fri May 11 17:18:13 CEST 2007 ** ** EXCEPTION: java.
net.SocketException: Unexpected end of file from server
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:822)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:820)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:635)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272
at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.isHttpResponseOk(Unknow
n Source)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.sendCommand(Unknown Sou
rce)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.execute(Unknown Source
at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.listApplications(Unkno
wn Source)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmMain.main(Oc4jDcmMain.java:71)
#### HTTP response is NOT ok
Closing connection to Oc4jDcmServlet
#### DCM command did not complete successfully (-1)
#### HTTP return code was -1
============ end output =================================In my opinion, you will succeed in handling linefeeds in output texts by using an <tt><af:outputFormatted></tt> tag in conjuction with a JSF converter that replaces the linefeeds with a <tt><br></tt> tag in the text. You will have to implement a custom converter class (this is quite simple, see below) and to set it to the <tt>converter</tt> attribute of the <tt><af:outputFormatted></tt>. The converter class should look like:
public class MyLinefeedConverter implements javax.faces.convert.Converter
public MyLinefeedConverter() {
public Object getAsObject(FacesContext context, UIComponent component, String value) {
return value;
public String getAsString(FacesContext context, UIComponent component, Object value) {
if (value==null) return "";
if (value instanceof String) return ((String)value).replace("\n", "<br>");
return value.toString();
}In this way the linefeeds in your text values will be replaced by <tt><br></tt>, which will be rendered by the corresponding <af:outputFormatted> tag as line breaks. -
Error when trying to create a types jar from a web service WSDL
Hi,
I generated a WSDL from a web service. When I try to generate a types jar from that WSDL in another project, I get an error:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
com.bea.workshop.webservices.servicecontrol.ui.except.TypeGenerationFailedException: Buildfile: C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml
Trying to override old definition of task wsgen
build:
build-types:
clean-types:
[echo] Deleting types directory c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
[echo] Deleting types jar C:\eclipsews\AAATest\WebContent\WEB-INF\lib\CaregiverEBillingMasterServiceServiceTypes_xmlbeans_apache.jar
[mkdir] Created dir: C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
generate-src-code:
[echo] Generating types of family xmlbeans_apache from WSDL at file:/C:/eclipsews/AAATest/src/test/CaregiverEBillingMasterServiceService.wsdl, all services. Outputting to c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
[typesGen] Generating complex Java types for schema types in WSDL file:/C:/eclipsews/AAATest/src/test/CaregiverEBillingMasterServiceService.wsdl. Outputting to C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474 ...
[typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfTreatmentDetailItem@http://org/abc/claims/caregiver/ebilling/services
[typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfDocumentTypeAutoPayWrapper_literal@java:org.abc.claims.caregiver.ebilling.services.util
[typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfJavaLangint_literal@java:org.abc.claims.caregiver.ebilling.services
[typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfDocumentSubmissionHierarchy@http://org/abc/claims/caregiver/ebilling/services
[typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfMessageCode@http://org/abc/claims/caregiver/ebilling/services
[typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfFeeCodeType@http://org/abc/claims/caregiver/ebilling/services
[typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfBatchMessage@http://org/abc/claims/caregiver/ebilling/services
[typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfArrayOfJavaLangstring_literal@java:org.abc.claims.caregiver.ebilling.services.util
[typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfJavaLangstring_literal@java:org.abc.claims.caregiver.ebilling.services.util
compile-src-code:
[echo] Compiling source files from c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474 to c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
[javac] Compiling 298 source files to C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
[javac] ----------
[javac] 1. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 51)
[javac] public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
[javac] ----------
[javac] 2. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 54)
[javac] public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
[javac] ----------
[javac] 3. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 58)
[javac] public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
[javac] ----------
[javac] 4. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 61)
[javac] public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
[javac] ----------
[javac] 5. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 64)
[javac] public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
[javac] ----------
[javac] 6. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 67)
[javac] public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
=== snipped here due to huge file size ===
[javac] 2680. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\org\xfa\schema\xfaData\x10\SignatureDocument.java (at line 99)
[javac] public static org.xfa.schema.xfaData.x10.SignatureDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
[javac] ----------
[javac] 2681. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\org\xfa\schema\xfaData\x10\SignatureDocument.java (at line 103)
[javac] public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
[javac] ----------
[javac] 2682. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\org\xfa\schema\xfaData\x10\SignatureDocument.java (at line 107)
[javac] public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
[javac] ----------
[javac] 2682 problems (2682 errors)
BUILD FAILED
C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:73: The following error occurred while executing this line:
C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:107: The following error occurred while executing this line:
C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:181: Compile failed; see the compiler error output for details.
Total time: 17 seconds
at com.bea.workshop.webservices.servicecontrol.ui.util.TypesGenerationScript.run(TypesGenerationScript.java:197)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: org.eclipse.core.runtime.CoreException: C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:73: The following error occurred while executing this line:
C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:107: The following error occurred while executing this line:
C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:181: Compile failed; see the compiler error output for details.
at org.eclipse.ant.core.AntRunner.handleInvocationTargetException(AntRunner.java:451)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:383)
at com.bea.workshop.webservices.servicecontrol.ui.util.TypesGenerationScript.run(TypesGenerationScript.java:185)
... 1 more
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I was previously able to generate a types jar just fine from the web service's WSDL. Recently, I made some changes to the web service. Apparently, these changes to the web service now cause the WSDL to be unparseable when trying to generate types jars.
Any ideas?The WSDL is generated from my web service. I made heavy revisions to my web service which, in turn, affected the resultant WSDL. The changes I made to my web service were almost exclusively related to object substitution. For example, prior to the change I was referencing object A from my web service; after the change, I was referencing object B. The objects that I'm referring to are XMLBeans, if that matters. I can't really describe it more than that without actually showing you the WSDL.
I would post the WSDL file here to allow you to try to create a types jar out of it, but the WSDL exceeds the 30000 character limit for this field. There is no way for me to attach the WSDL to this post. -
Cm.jar is working even after deleting the jar from Server
Hi,
To update the environment with the new changes we had manually copied the cm.jar into the respective folders but due to some class errors Deployment was not successful,So as a matter of trial we had deleted cm.jar from the respective folders and then we had ran the initialsetup,
Strange thing what we have observed is that all the custom logic which was initially deployed through cm.jar was still exisiting in the applicationserver and are getting executed smoothly
This is the process what we have followed
Method 1:
1) Stop server
2)
Copy cm.jar to SPLBASE/etc/conf/root/WEB-INF/lib
Copy cm.jar to SPLBASE/etc/conf/XAI-APP/WEB-INF/lib
Copy cm.jar to SPLBASE/ splapp/businessapp
Copy cm.jar to SPLBASE/ splapp/ standalone/lib
3) Run InitialSetup
4) Start Server
Method 2:
1) Stop server
2) Set Exploded directories to true
3) Initial Setup
4)
Copy cm.jar to SPLBASE/splapp/applications/root/WEB-INF/lib
Copy cm.jar to SPLBASE/ splapp/applications /XAI-APP/WEB-INF/lib
Copy cm.jar to SPLBASE/ splapp/businessapp
Copy cm.jar to SPLBASE/ splapp/ standalone/lib
5) Run InitialSetup
6) Start Server
Method 3:
1) Cm packaging.
Even after removing cm.jar from all places manually my custom code which I deployed initially is working. I could run custom batch and custom algorithm. Very Strange. I am not sure what I missed or where application is referring to.
We want the old code to be removed permanently from server?Can you anyone help?
Thanks
shivaHi Mr Shankar,
Even if you have deleted the cm.jar file from respective location.It do exist in splapp.war file.If you will extract that file you will find the cm.jar file in /splapp/web-inf/lib/cm.jar location.So whenever you will run the initialsetup it will restore the cm.jar.This thing is happening in your case also.So delete the file from splapp.war and rebuild the war.This will solve your issue.
Hope it will work for you.
Regards
sunil sahu -
Does SAP supports transport of TPZ files from PI7.11 to XI3.0 ???
Hi,
Does SAP supports transport of TPZ files from PI7.11 to XI3.0 ???
because after Pasting PI7.11 .tpz files into import directory of Development XI3.0 .. I am not able to find these files into ID/IR -Tools - Import ?
What could be reason ??
Regards
PSHave check this note :Note 1247043 - Release Restrictions for EHP 1 for SAP NetWeaver PI 7.1
BC-XI-CON-SOP
No release
XI 3.0 message protocol in the SOAP adapter
Supported with EHP 1 for SAP NetWeaver Process Integration 7.1 (version abbreviated with 7.11 from now on) is the XI 3.0 message protocol in the SOAP adapter for the communication between an Advanced Adapter Engine version 7.11 and ABAP proxies generated in the SAP NetWeaver Process Integration versions 3.0, 7.0, 7.10, 7.11; Advanced Adapter Engine version 7.11 and 7.10; SAP Partner Connectivity Kit version 7.11 and below, Java SE Adapter Engine 7.11 and below, Integration Server 7.11. However for all above listed scenarios the following functions are currently not supported: Acknowledgements, Transport & message level security, Principal propagation, Bulk support on sender-side, HTTP destinations support. Not supported with EHP 1 for SAP NetWeaver Process Integration 7.1 is the XI 3.0 message protocol in the SOAP adapter for the communication between an Advanced Adapter Engine version 7.11 and Java proxies, Integration Server 7. 10 and below.
( Changed at 18.12.2009 )
Regards
Pothana -
Revision: 1649
Author: [email protected]
Date: 2008-05-09 14:49:18 -0700 (Fri, 09 May 2008)
Log Message:
Renamed our customized Velocity JAR from mm-velocity-1.4.jar to velocity-dep-1.4-flex.jar.
The standard Velocity name for this JAR, which is built by Velocity's "jar-dep" target, is velocity-dep-1.4.jar. We append "-flex" to indicate that we've customized it, just as for our customized Batik JAR.
This change affected the mxmlc classpath in modules/compiler/build.xml, the packaging scripts, and the Eclipse projects.
I also renamed mm-velocity-LICENSE.txt and mm-velocity-NOTICE.txt to drop the "mm-" prefix.
Bugs: -
QA: No
Doc: No
Reviewer: Jono
Ticket Links:
http://bugs.adobe.com/jira/browse/velocity-1
http://bugs.adobe.com/jira/browse/dep-1
http://bugs.adobe.com/jira/browse/dep-1
Modified Paths:
flex/sdk/trunk/build.xml
flex/sdk/trunk/development/eclipse/java/flex-jars/.classpath
flex/sdk/trunk/modules/compiler/build.xml
Added Paths:
flex/sdk/trunk/lib/velocity-LICENSE.txt
flex/sdk/trunk/lib/velocity-NOTICE.txt
flex/sdk/trunk/lib/velocity-dep-1.4-flex.jar
Removed Paths:
flex/sdk/trunk/lib/mm-velocity-1.4.jar
flex/sdk/trunk/lib/mm-velocity-LICENSE.txt
flex/sdk/trunk/lib/mm-velocity-NOTICE.txt1) Did you assigned weblogic user to presentation server admin after the upgrade?
Obiee11g: Administration link is missing for weblogic User(Presentation Services)
2) Goto Administration tab and do 'Scan and Update Catalog Objects That Require Updates'
Thanks,
Saichand -
How can I change the background of a running webpage on my own. Example Facebook I want to change its background color from white to black just in my view, not for all. Cause I really hate some site with white background because as I read for an hour it aches my eyes but not on those with darker background color.
You can use the NoSquint extension to set font sizes (text/page zoom) and text colors on web pages.
*NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/ -
We have an itunes account on our desktop and both my kids have it on iphone and ipod. I went in and changed out user name from an old e-mail address which is no longer accessible to my one I use now... When the kids try to sign onto the itunes store it tells them they have the wrong user name..
Can this be fixed??Did you change the email address or create a new Apple ID?
If the email address associated with the account was merely changed, sign out of the Apple ID on the devices and sign in using the new credentials. -
I changed my land/region to Germany, but i want my app store in English language, how can i change it to English from German?
plz help..You cannot.
-
My iMessage on my mac is sending from my email. How do i change it to send from my phone number?
As far as I know, you can't. Your mac can only send from emailadresses
-
How to Change a Default Value from Drop Down Box displayed in Web Dynpro?
Hi,
How to Change a Default Value from 'High' to 'Low' in a Drop Down Box for RANGE field displayed in Standard Web Dynpro Component. I saw a Default Value set for a RANGE field in View Context When I select that field and click on Display. I am seeing Default Value set it to 'HI'. Please let me know how to change from HIgh to Low.
I appreciate your help!
Thanks,
Monicahi,
use the set_attribute( ) method now to set the attribute with a particular key eg HIGH in ur case
// u can use the code wizard( control +f7) this code will be auto generated when u select the
//radio button to read the context node
DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
DATA ls_cn_node TYPE wd_this->element_cn_node.
* navigate from <CONTEXT> to <CN_NODE> via lead selection
lo_nd_cn_node = wd_context->get_child_node( name = wd_this->wdctx_cn_node ).
* get element via lead selection
lo_el_cn_node = lo_nd_cn_node->get_element( ).
* set single attribute
lo_el_cn_node->set_attribute(
name = `ATTribute name.`
value = 'LOW' ).
it will solve ur query ..
also refer to this component
wdr_test_events -> view dropdownbyidx and dropdownbykey ->method name onactionselect.
regards,
amit -
Can't change quantity when copy from Sale order for Delivery
Hi all!
Can i use authorization for can't change quantity when copy from Sale order for Delivery.Tien,
Approval will not work when you have mutiple rows of data. You would have to work with SP Transaction Notification
There has been threads before on the forum on the same topics.
Block the Quantity in Sales Delivery
Approval Procedure for chaning quantity in Delivery Document
Suda -
How do I change my itunes account from one computer to my new one?
how do I change my itunes account from one computer to my new one?
How to move your music to a new computer:
http://support.apple.com/kb/HT4527
About authorization and deauthorization:
http://support.apple.com/kb/HT1420 -
Changing my apple ID from u.s to saudi apple ID
Hello how is everythig going ,,
I want to Change my apple ID from u.s to saudi apple ID.Are you in Saudi Arabia ? If you are then log into your account and update your region, payment details (if using a credit card on your account then you can only use a Saudi card with the Saudi store), and billing address.
On your computer's iTunes you should be able to edit your details by going into the Store > View Account menu option and logging into your account. If you are doing it on your iPad then tap on your id in Settings > iTunes & App Store and tap on 'View Apple ID' on the popup and log into your account .
Maybe you are looking for
-
How do I add a submit button to a pdf form?
hello I am trying to add a submit button to a pdf form... is this possible though forms central or Acrobat Pro?
-
Notification or Alert when selecting Item with charge on Sales Order???
Hello, Is it possible to make an notification / alert on a salesorder when entering a item with batch/charge??? Now everytime the customer must enter CTRL-TAB on amount field to select a batch but don't get a reminder for the batch. They don't want t
-
Keeping the values in Request bean across more than 2 pages
Hi..., I have created a Bean with request scope & want to access it across 3 different pages. From the 1st page once I submit the values , I do a forward (redirect=no) to the second page where I can print the values . From the 2nd page I then do a fo
-
Queries that return no results cause exception
When I run a query that returns no records, my program crashes and burns, giving me the error message that no data was found; something doesn't seem right about that. Shouldn't it be able to handle this situation? Does anyone know what I'm doing wron
-
Hello Peers, Can any body give the solution for negative posting in cash journals. when am posting with amt more than cash available in my cash a/c am getting this error: *Payment amount is larger than cash on hand. Change amount Message no. F5A055*