Custom Jar creation for SIM customizations
Hi,
Can anyone tell me how to create a custom jar for SIM customizations
( which has been done by using extension methodology ) and where to put it so the custom code is picked up first rather than the base code.
Thanks,
Susmita
sim-1311-impg1.pdf says:
Build/Packaging/Deployment Related
To build and deploy the customizations correctly, make a separate project for
custom-modified code. Make sure any existing Java files that are going to be altered
have the exact same class structure as the base code within this new project. New or
additional Java files might have a class structure that makes sense for the new code.
Build a custom JAR with the modified or newly created code. This custom JAR should
be placed first in the execution classpath so that classes found within the JAR are
chosen by the JVM rather than the base classes. This will require unsigning and
resigning all the JARs in the SIM-client application, since all JARs must be signed with
the same signature for Web Start to work correctly. Consult the jarsigner
documentation from Sun for further information on the JAR unsigning/signing
process.
Hope this helps,
Best regards,
Erik Ykema
Similar Messages
-
SALERT_CREATE -custom alert creation for validation
Hi,
I have done one scenario,in which i have used the custom alert creation calling the SALERT_CREATE function module from my udf.That is doing fine but now i have an understanding problem that, in the udf we need to use one RFC receiver comm channel,what is the use of that.As the function module we access is already present in PI server itself.
In case of RFC lookup when we access RFCs from remote server there we need one RFC receiver comm channel..that is valid but why in this case.
Can anyone please clarify me.
Cheers,
Abhishek.Solved itself.
-
Build error while NWDI ESS Project creation for ESS Customization
Hi
We are using SAP NetWeaver Developer Studio Version: 7.0.11 and trying to create a project in NWDI for ESS (ESS 6.0) customization.
When we create project from the Inactive DC (essgbpdatahttp://com.sap), it is giving several build errors.
We have tried Sync Sources many times, checked and verified the Java Build Path as well.
The 1st error in the Tasks tab is
The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.aii.proxy.framework.core.AbstractType. Fix the classpath then try rebuilding this project.
Then there are several other errors like
Application Per_Personal_GB: Component is missing.
Application Per_Personal_GB: Start up plug is missing.
Seems some dependent files/ DCs are missing but we are not sure which ones.
Could you please help?
RegardsHi PG
I could not find any gen_wdp folder in Navigator tab and also there are jar files but none of them have warnings.
Is there any thing else which is creating problem.
I exactly followed the steps mentioned in the thread ESS/MSS Customization Make it Simple
But standard SAP ESS package itself is giving lot of error.
Thanks
Ruplata -
Customer attributes creation for interface scenario ?
Hi Experts,
I want to create customer attributes in the interface scenario in dswp transaction.
I was able to create one using the SPRO transaction. but it does not allow me to add further.
Can anyone tell me how to resolve this or give any useful blogs, as i am a beginner.
Thanks,
Shamly
Edited by: Shamly MM on Jun 9, 2010 10:10 AMHi,
Are you looking for Application Monitors and Customer exits for your requirement. May be this [guide|https://websmp110.sap-ag.de/~sapdownload/011000358700006184412006E/Setup_Guide-Customer_Exit.pdf] can help you.
Hope this helps.
Regards,
Jagan -
Custom classpath and custom jar entry in R12
Hi all,
I have created the custom classpath and custom jar file for isrore process. I had put custom jar and custom class entry in orien_application.xml file. But it was working on R12 at doveloper mode. It will creates the classes for custom jsp file using custom import class or custom jar. But once i revert back the devloper mode means it won't work.
Could you please help..Oracle apps R12 - Compiling JSP with custom classpath
We all know that to compile JSP manually on the Oracle Application R12 instance, we need to run the file $FND_TOP/patch/115/bin/ojspCompile.pl.
Its help is as follows:
syntax: ./ojspCompile.pl COMMAND {ARGS}
COMMAND --compile update dependency, compile delta
--create rebuild entire dependency file
-delta.out update dependency, list delta to file
-dep.out update dependency, output heirarchy to file
ARGS -s matching condition for JSPs filenames
-p number of parallel compilations
-log to override logfile from ojspCompile.conf
You are
recommended to set the log file location
outside of any network file system shared (NFS) area/drive.
-conf to override ojspCompile.conf
--retry retry previously failed compilation attempts
--flush forces recompilation of all parent JSPs
--quiet do not provide an actively running progress meter
--fast instantly fail jsps that are possibly invalid
example1: ojspCompile.pl compile -s 'jtf%' -p 20 retry
example2: ojspCompile.pl compile -s 'jtflogin.jsp,jtfavald.jsp' flush
example3: ojspCompile.pl compile fast --quiet
If your JSP uses custom classes, then compiling jsp manually can fail if proper classpath is not set. Yes, even though if you have setup the classpath correctly in orion-application.xml, it will fail because this jsp compile utility does not read orion-application.xml classpath.
So, the problem is to identify where to set the classpath so that above utility can pick it up. After several search and looking into code, I found following:
By default, the jsp compiler script uses following configuration file
$INST_TOP/appl/admin/ojspCompile.conf
This conf file has a classpath field in it which is usually pointed to file
$INST_TOP/appl/admin/ojspCompile.properties
This property file lists the classpath used for JSP compilation.
So if your classes are not listed in this file, your jsps will not compile by ojspCompile.
Ofcourse, you can always set the "main_mode" to "recompile" in orion-web.xml, but that for production you do not want to change it and compile the JSP on file deployment.
References:
458338.1 How to Enable Automatic Compilation of JSP pages in R12 Environment
433386.1 JSP Pages Hanging in R12 After Removing Cached Class Files in _pages
783094.1 Compile jsp files at Application R12 at Windows -
Hi Guys,
We have created a custom package where in we are trying to call the standard API's of Oracle projects i.e PA_PROJECT_PUB.When we are trying to call these APIs we are facing the below issue.
We have tried testing in two instances ,Initially it worked in both instances.
Using the same API's multiple times we tested the same data set in these instances.
For the first few runs it works fine.But when we go on using the same API's again and again for our testing we face now and then the below issue.
Standard API's
=========
add_task
update_project
change_structure_status
create_draft_plan
Error:
ORA-20100: File o2670336.tmp creation for FND_FILE failed.You will find more information on the cause of the error in request log. in Package PA_OPPORTUNITY_MGT_PVT Procedure modify_project_attributes ORA-20100: File o2670336.tmp creation for FND_FILE failed.
You will find more information on the cause of the error in request log. in Package PA_PROJECT_PUB Procedure update_project:ORA-0000: normal, successful completionError while publishing the task
Please let us know if anyone of has come across the same situation.
Regards,
VijayBut have issue only with validating invoice batch. I followed metalink ID's 605542.1, 167990.1,261693.1,1088553.1,749491.1, 461271.1 and few more.Was this working before? If yes, any changes have been done recently?
Please see if these docs help.
APXAPRVL: Invoice Validation Errors With MSG-00001 and REP-1419 [ID 333305.1]
Invoice Validation Errors When Others:101505:Non-Oracle Exception Rep-1419 [ID 464125.1]
Invoice Validation Fails with REP-1419 Error in Ap_approval_matched_pkg.Execute_matched_checks [ID 293425.1]
Invoice Validation Failing On Fnd_file Could Not Write To File L0202306.Tmp [ID 461520.1]
Invoice Validation (APPRVL) Errors ORA-20001 APP-SQLAP-10000 PSA_FUNDS_CONTROL_PKG.glxfck [ID 463184.1]
Validate Invoice Error With ORA-20001: APP-SQLAP-10000: AP_FUNDS_CONTROL_PKG.Calc_QV [ID 432702.1]
Invoice Validation Program Is Erroring Out [ID 382844.1]
Error On Validation Of Invoices From Previous Periods [ID 412814.1]
Thanks,
Hussein -
While doing LSMW standard method for Customer master creation..
while doing LSMW standard method for Customer master creation.....
In 13th step I am getting this king of error
FB012 Session 1 : Special character for 'empty field' is /
FB007 Session 1 session name ZPROJ was opened
FB109 Trans. 1 : Transaction xd01 is not supported
FB016 ... Last header record ...
FB014 ... BKN00-STYPE 1
FB014 ... BKN00-TCODE xd01
FB014 ... BKN00-KUNNR
FB014 ... BKN00-BUKRS
FB014 ... BKN00-VKORG A1
FB014 ... BKN00-VTWEG 00
FB014 ... BKN00-SPART 0
FB014 ... BKN00-KTOKD
FB014 ... BKN00-KKBER BP01
FB013 ....Editing was terminated
Can anyone help how to solve this?Hello TJK,
<b>FB012 Session 1 : Special character for 'empty field' is /</b>
This is the special function in LSMW, for empty field system will put / sign automatically, so you need not to worry about that.
<b>FB007 Session 1 session name ZPROJ was opened</b> It is opening session ZPROJ which is your project name/object name.
<b>FB109 Trans. 1 : Transaction xd01 is not supported</b>
Check out your field mapping and conversion rule for object.
<b>FB013 ....Editing was terminated</b>
It is not finding proper field mapping rule / file inputs so the sytem terminates the LSMW object.
Check your field mapping and conversion rule, check your source fields, save the file in tab delimited format.
Hope this helps.
Regards
Arif Mansuri -
Required JAR's for developing custom adapter modules for PI 7.31 SP 09
Hello experts,
I have a new development wherein i have to consume .xlsx files in PI 7.31
i have gone through a lot of blogs but did not find any relevant JAR's specially for PI 7.31, I am planning to go for custom module development for conversion of .xlsx file into xml
so need your help for finding the JAR's for PI 7.31 and also some custom JAVA source code for conversion of excel spreadsheet into XML.
Regards,
Sushant.ShindeHi sushant,
The module key seems correct ffor you. But the blog you shared is cozy. I developed 4 adapter modules using a document. Please refer that.
And NWDS EHP1 is available you can use that to be perfectly sure on compatibility.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa?overridelayout=true
use the above document to verify the steps you followed-
Please provide following screenshots
NWA->configuration->infrastructure->Application Modules-> and search for *xlmodule*
if you find your module then click on it and at the bottom there will be a window with JNDI Name. Share that JNDI name and use that JNDI name in your Module. (localejbs/JNDIName).
Also go to NWA->TroubleShooting-> JNDI Browser and see where is your Adapter module situated. I mean under which directory. Either directly inside root/localejbs/ or root/localejbs/sap.com.
Please verify your steps according to that and redeploy and share result.
and Go to NWA- Site Map-> find Start & Stop
In that go to Java Applicaitons Tab and search for your module. It must be started. If it is stopped try starting it.
Regards,
Vikas -
JAR creation failed , for Command bean DC
Hi Experts,
I am trying to access an EJB module DC from WebDynpro through Java bean model DC.
In this when i tried to create a Jar file of the Java bean model, i got this error.
JAR creation failed. See details for additional information.
Problem writing /LocalDevelopmentdc_aptcbsap.com/bin/pg/com/atos/apt/bean/APTCommandBean.class to JAR: duplicate entry: pg/com/atos/apt/bean/APTCommandBean.class
I have created in all total 4 DC
1) EJB DC
2) EAR DC
3) Java bean DC
4) WebDynpro DC
I have reffered to the tutorial : Using EJBs in Web Dynpro application.
Can you tell me what am i missing?
Ashish ShahHi Sridhar,
Thanks for your suggestion.
I have built and deployed the EAR DC.
But When I added the following referencesto Java bean DC
1) EAR DC , EJB DC
2) ejb20.jar
and i tried to build java bean DC project, it throws error for these referenced DC.
And these referenced DCs are removed from the project.
Do i have to add anything in the Public part of EJB or EAR DC?
Can you tell me how to add those references in Public part and how to utilise them in other projects?
Regards,
Ashish Shah -
JAR creation failed. See details for additional information.-invalid header
Hi
I am working with 2 databases , 1 is oracle and the other is sybase in my java application.
The java application gets data from both the databases and creates 3 output files and 1 audit log file .
Now i tried creating the jar file
my manifest file looks like this :
Manifest-Version: 1.0
Sealed: true
Main-Class: tableA
Class-Path:jtds-1.2.jar;classes12.jar ----------------------------> is this correct .
Now when i try to create the jar file it gives me an err
JAR creation failed. See details for additional information.-
invalid header field
invalid header field
ANyone pls help me ... I am creating the jar file like rhis
export -> selecting JAR file -> selecting 1 and 3 rd checkboxes ->location of the jar file -> next->selecting 2 checkboxes in JAR PACKAGING OPTIONS -> ( my question is how to create the manifest file with class-path , their is no option ) so i am creating the manifest file and creating the jar file and then adding the class-path to the manifest file and removing the jar file and recreating the jar file now selecting the manifest file .
is this giving the above error --> if so how to create the manifest file before creating the jar file with class-path and main classDouble post: [http://forums.sun.com/thread.jspa?threadID=5358017&messageID=10559776#10559776]
-
What is the standard API for Customer Contact creation in R12
Hi All,
What is the standard API for Customer Contact creation in R12. my requirement is I need to create contact against Customer(Person/Organization).
I need to develop pl/sql package for create Contact using the following fields
First name , Last name , Email, Phone no, Ph ext,Mobile no,Contact no,Job title, Job title code,Country,Address1,Address2,Address3,Address4,
City,State,Postalcode.
Please help me.
Thanks,
K.MurugesanHi All,
Please update if you have any solution.
Thanks
Maanasa -
MBeanMaker is not creating Schema folder in JAR file for custom authenticat
I have created a custom authentication provider.I am using following code of build.xml to generate jar file for custom authentication provider
<target name="build.mdf" depends="copyConfigFiles">
<java classname="weblogic.management.commo.WebLogicMBeanMaker" fork="true" failonerror="true">
<jvmarg line="-Dfiles=./build/mili -DMDF=./build/mili/MILIAuthenticator.xml -DcreateStubs=true"/>
<classpath>
<pathelement path="${java.class.path}"/>
<pathelement location="./build/mili"/>
<pathelement location="./lib/weblogic.jar"/>
<pathelement location="./lib/wlManagement.jar"/>
<pathelement location="./lib/jcifs-1.2.0.jar"/>
</classpath>
</java>
</target>
<target name="copySrcFiles" depends="build.mdf">
<copy todir="./build/mili" flatten="true" overwrite="true">
<fileset dir="./src/java">
<include name="**/MILI*.java"/>
</fileset>
</copy>
</target>
<target name="SecurityProviderJar" depends="copySrcFiles">
<java classname="weblogic.management.commo.WebLogicMBeanMaker" fork="true" failonerror="true">
<jvmarg line="-Dfiles=./build/mili -DMJF=./build/MiliSecurityProviders.jar"/>
<classpath>
<pathelement path="${java.class.path}"/>
<pathelement location="./build"/>
<pathelement location="./lib/wlManagement.jar"/>
<pathelement location="./lib/weblogic.jar"/>
<pathelement location="./lib/jcifs-1.2.0.jar"/>
</classpath>
</java>
</target>
Build.xml is running fine without giving any error,but it is not generating schema folder in the jar file.
beacause of that my custom authentication provider is not comming in admin console.
Kindly help me to resolve this.Hi Ramesh,
Try out the following
1) Copy mediator.jar from SOA_HOME>/soa/modules/oracle.soa.mediator_11.1.1 to <MW_HOME>//soa/modules/oracle.soa.ext_11.1.1/classes
2) Goto <MW_HOME>//soa/modules/oracle.soa.ext_11.1.1/classes and run the following command:
a. jar -xvf mediator.jar
3) Now remove the jar file, i.e., mediator.jar from classes folder.
4) Restart the server.
Regards,
Srijith -
Internal customer creation for interplant stock transfer
hi all,
i just want to know which is the account group I can use for the internal customer.
and in that customer grp do I need to feel the dummy customer details like usual cust details ? or what elase?
will the only one customer be ok for two different receiving plants?
In MM> Purchasing> Purchase Ord --> Define shipping data for plant
we have different plant entries there if we go for details of plant we can see the customer number and the sales area here i cant understand that what customer we have to assign, that internal customer ? which Sales Area, same of a internal customer ???
can we maintain the different combinations like supplier plant becoming the delivering plant and vice a versa.
Please guide me on above query.
regards,
SanjayHi,
1. There is nothing about the Customer Account Group for Internal Customer... You may use the Standard Sold to Party account group for the same... But the best practice will be a different account group with different number range... this will be helpful to understand that this is internal customer when doing transactions... here you can also leave the non required fields....
if you use the Same Sold to party... its better to maintain different Customer Group for the internal customers...
2. what customer we have to assign, that internal customer ? Yes That Internal Customer only... that means that whenever you create a delivery for this customer... the delivery will reach this Plant....
This internal customer number is assigned to the plants which will a receving plant in STO...
But the Sales Area here requires for Shipping Plant and not for recieving plant... This Sales Area is assigned to create delivery and Billing during the STO for this plant whenever the same is used a shipping plant... so this will not be same internal customer's sales area... but one of the sales area responsible for this plant....
Hope this helps to you...
Thanks,
Muthu -
SO creation for one internal item with multiple customer code
Hello,
We want to create sales order for one internal product for one customer with multiple customer product code.
SAP allows only one to one relation in customer info record. Is there any work around for having multiple customer product code for our single internal product code in single sales order.
Regards,
Balu J KarbhariHello,
It is not possible. Please check OSS note 626931.
One alternative approach might be to trying to use the material determination functionality. Please try the below steps and check if it works for you.
T Code VD51: Create CMIR for Customer & Material
T. Code VB11: Maintain material determination for all required materials to point to the Material which has the CMIR.
T Code OVRQ: Substitution reasons. Make the configuration to print Original material . Check the column ENTRY, so on output the original material will be printed.
Hope this helps
Regards
Sai -
How can I use custom WLST commands for Oracle SOA Suite in Weblogic
Hi There,
I'm trying to view and search the weblogic log files using WLST on a Solaris/Unix system.
I have come across this "custom WLST commands for Oracle SOA Suite" and thought of using the custom logging commands to get my task done.
However, my WLST shell is not recognizing the commands and giving me the NameError!
wls:/devDomain1/domainRuntime> listLogs()
Traceback (innermost last):
File "<console>", line 1, in ?
NameError: listLogs
I tried the commands listLogs, displayLogs, getLogLevel & setLogLevel but in vain!
I have followed the instructions as per the oracle recommendation of using Custom WLST commands (http://docs.oracle.com/cd/E29597_01/core.1111/e10105/getstart.htm#ASADM10692) as below
- Launched the WLST shell from Oracle Home.
cd ORACLE_HOME/common/bin
./wlst.sh
- Tried to run the listLogs command from domainRuntime()
I would like to know if I need to import any additional libraries to run the custom WLST commands for Oracle SOA Suite in my WLST shell?
I have only weblogic 10.3.1 server installed on my Solaris 10 machine on which I have deployed the OSB application software.
There is no SOA Suite installed.
Or is there any other way I can browse the Server Log file and get the list of log messages? Basically I would like to use this feature in my script to customize it according to my requirement of listing specific error logs which I can work it out if I know how to make these commands work.
Please advise if this is possible and how?
Cheers.
SatishI have tried on my OSB installation (no SOA Suite here), the command listLogs() works (I was in online mode, after a connect), and the classpath is:
CLASSPATH=/opt/oracle/fmw11_1_1_5/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/oracle/fw11_1_1_5/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x6_64/lib/tools.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/oracle/fmw11_1_1_5/wlserver_10./server/lib/weblogic.jar:/opt/oracle/fmw11_1_1_5/modules/features/weblogic.server.modules_10.3.5.0.jar:/opt/oracle/fmw111_1_5/wlserver_10.3/server/lib/webservices.jar:/opt/oracle/fmw11_1_1_5/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/optoracle/fmw11_1_1_5/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/opt/oracle/fmw11_1_1_5/oracle_common/moules/oracle.jrf_11.1.1/jrf-wlstman.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lib/adfscripting.jar:/opt/oracl/fmw11_1_1_5/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lb/mdswlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/auditwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_cmmon/common/wlst/resources/igfwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jps-wlst.jar:/optoracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jrf-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/reources/oamap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/opt/oracle/fmw111_1_5/oracle_common/common/wlst/resources/ossoiap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/osoiap.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_comon/common/wlst/resources/sslconfigwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/wsm-wlst.jar:/optoracle/fmw11_1_1_5/utils/config/10.3/config-launch.jar::/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbynet.ar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbyclient.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/drby/lib/derbytools.jar::
The wlst.sh I have used is /opt/oracle/fmw11_1_1_5/osb/common/bin/wlst.sh
I hope this can help
Maybe you are looking for
-
Transaction to view the Batch Stock as on any date
Is there any Transaction to view the Batch Stock as on any date? Regrads Soumen
-
Dangerous Goods checks in transfer order (based on purchase order)
Dear, We have defined a process to transfer products from one plant of our company to another plant of our company based on a purchase order (Transfer order), a delivery and a shipment. Problem: the delivery and shipment could be checked in a Dangero
-
Intel duo Core and CS2 - does it work?
Hi guys, I'm doing really well. I ordered a 17" imac 1.82Ghz Intel Duo Core and I have not as yet received it. I have alos ordered Aperture (which will work but possibly quite slow) although I have upgraded to 2Gb Ram. I have also ordered Photoshop C
-
GetMicrophone when multiple mics are present
I'm trying to stream a webcam with a built-in microphone. The code is: var camera:Camera = Camera.getCamera(); var mic:Microphone = Microphone.getMicrophone(); But the system has two mics, a built in one on the sound card and one in the camera. getMi
-
Oracle CDC 10g, latest row only
New to Oracle CDC. For some of the source tables we are not interested in getting history. Is there a way the Change Tables can only contain the lastest version of the row? So the change table will only contain the rows that have changed, but only on