Problem Deploying Custom Transformation Provider to Remote System
Hello Experts,
I have successfully created a custom XML Transformation Provider/transformer and deployed it to my local development system and to a remote sandbox system. We are using NWDI and the transformation provider is within the context of a DC. However, I am deploying to both my local dev and the remote sandbox systems using the u201CQuick PAR Uploadu201D in NWDS.
After deploying the same PAR to both my local portal and the remote sandbox systems I can see the new service is deployed in both portals (System Administation -> Support -> Runtime -> etc..). I can also see the service registered successfully in the portal registryu2014again, in both systems.
Everything works fine on my local dev when I run code to retrieve and apply the custom transformer to source XML. The new transformer is also available when creating an XML iView. However, I cannot retrieve or use the new transformer (u201Cno such transformeru201D errors) using the same code on the remote sandbox system. Also, the new transformer is not available when using the XML iView wizard.
It seems the custom transformation provider is deploying successfully on the remote system, but the transformer is not.
Both systems are ostensibly identical, NW 7.0 EP SPS14. The credentials Iu2019m using when performing the Quick PAR Upload have Administrator/Super Admin Role privileges. (I even tried uploading the PAR directly into the portal using the Admin Console to see if that made a differenceu2026it did not).
Any ideas why a transformer would not be available after a custom transformation provider deploys without any apparent errors to the remote system?
Thanks for your time!
Hi,
I presume this issue is not that common.
Any ideas on where to look (logs) for results after a PAR is deployed to the server? I do not see any errors in the defaultTrace related to the deployment and I've looked through other logs, too. In any case, the "custom" transformation provider service appears in the portal, but I still don't see the tranformer itself.
Thanks again,
Dave
Similar Messages
-
Problem deploying Custom Page to E-Business Server
Hi All,
We have the below setup:
- Single Instance of Oracle E-Business Suite 12.1.3 with Database 10.2.0.5 running on RHEL 5.
I have developed a custom page which has a "drop down box" with a few selections (type of the file) and a "file upload" item and tested it in JDeveloper (Patch# 9879989) and it works fine.
Now, I need to deploy and test it on the server and link it to a menu and a responsibility.
I am trying to understand how to use the Import tool (oracle.jrad.tools.xml.importer.XMLImporter) to deploy this simple page, but I am unable to set the parameters to correct values for import.bat file.
On my local PC, the directory structure is as follows:
Classes folder:
C:\SOFTWARE\ORACLE\JDEVOA\JDEVHOME\JDEV\MYCLASSES\
└───mycompany
└───oracle
└───apps
└───fnd
└───upload
└───webui
│ CustomAppModule.xml
│ CustomAppModuleImpl.class
│ CustomAppsListEO.xml
│ CustomAppsListEOImpl.class
│ CustomAppsListEOView.xml
│ CustomAppsListEOViewImpl.class
│ fndUploadPkg.xml
│ NjmcLobs.xml
│ NjmcLobsCollImpl.class
│ NjmcLobsImpl.class
│ NjmcLobsView.xml
│ NjmcLobsViewImpl.class
│ webui.xml
│ xxUploadPG.xml
│
├───common
│ bc4j.xcfg
│
└───webui
xxUploadCO.class
Projects folder
C:\SOFTWARE\ORACLE\JDEVOA\JDEVHOME\JDEV\myprojects
└───mycompany
└───oracle
└───apps
└───fnd
└───upload
└───webui
│ CustomAppModule.xml
│ CustomAppModuleImpl.java
│ CustomAppsListEO.xml
│ CustomAppsListEOImpl.java
│ CustomAppsListEOView.xml
│ CustomAppsListEOViewImpl.java
│ fndUploadPkg.xml
│ webui.xml
│ xxUploadPG.xml
│
├───common
│ bc4j.xcfg
│
└───webui
xxUploadCO.javaOn the server we have a custom application xxnjmc in $APPL_TOP folder
How do set the -rootdir, -rootPackage, and -mmddir parameters for the import.bat file?
I appreciate any comments.
Thanks,
SinanThanks, Prince,
I figured it all out. I did rename it as xxnjmc as you suggested:
Here are the steps I typed up for my own reference and just wanted to share:
DEPLOYING CUSTOM OAF Pages:
1. Zip "C:\Software\Oracle\JDEVOA\jdevhome\jdev\myclasses\xxxxxx" folder as xxxxxx.zip
2. Login to middle-tier server with applprod/password
3. Navigate to $JAVA_TOP
4. Upload xxxxxx.zip file into $JAVA_TOP and unzip
5. chmod -R 775 xxxxxx
6. Navigate to "/u0/oracle/prod/apps/apps_st/appl/xxxxxx/12.0.0/"
7. mkdir mds
8. Upload "C:\Software\Oracle\JDEVOA\jdevhome\jdev\myclasses\xxxxxx\oracle\apps\fnd\upload\webui" (with the webui folder) into "/u0/oracle/prod/apps/apps_st/appl/xxxxxx/12.0.0/mds"
9. chmod -R 775 /u0/oracle/prod/apps/apps_st/appl/xxxxxx/12.0.0/mds
10. On the local PC
cd C:\Software\Oracle\JDEVOA\jdevbin\oaext\bin>
import C:\Software\Oracle\JDEVOA\jdevhome\jdev\myprojects\xxxxxx\oracle\apps\fnd\upload\webui\xxUploadPG.xml -username APPS -password APPS -rootdir C:\Software\Oracle\JDEVOA\jdevhome\jdev\myprojects -dbconnection "(description = (address_list = (address = (community = tcp.world) (protocol = tcp)(host = 10.1.0.6)(port = 1521)))(connect_data = (sid = PROD)))"
BOUNCE APACHE
adapcctl.sh stop
adapcctl.sh start
11. Login to E-Business Suite with SYSADMIN/SYSADMIN user and "Application Developer" responsibility
12. Navigate to Application-> Function
13. Add xxxxxx_FILEUPLOAD function with the following values:
User Function Name: Company File Upload
Description : Company File Upload
In the Properties tab:
Type : SSWA jsp function
In the Web HTML tab:
HTML Call : OA.jsp?page=/xxxxxx/oracle/apps/fnd/upload/webui/xxUploadPG
14. Switch to System Administrator responsibility
Navigate to Application-> Menu
Query for the menu you want to add this function to
Add the following menu item:
Prompt: File Uploader
Function: Company File Upload
Description: Upload files for custom applications
Sinan -
Problems deploying custom JAAS login module (ClassNotFound)
Hi,
I've developed a custom made JAAS login module that filters on IP addresse which I am moving from 6.20 to 6.40.
I've pretty much followed the procedures from http://help.sap.com/saphelp_nw04/helpdata/de/46/3ce9402f3f8031e10000000a1550b0/content.htm , the only major difference is that I needed a reference to WebCallback and therefore a reference to com.sap.security.api.sda from my library project.
I've especially followed the step with "Adding a Reference to the Classloader of the Security Provider" (http://help.sap.com/saphelp_nw04/helpdata/de/2b/23e4407211732ae10000000a155106/content.htm) , but I think its this step that fails. This has been set to library:<library name> , where <library name> is what is written on the right hand side of visual admin under library. I see that the library is deployed under the folder bin\ext\customer.com~com.customer.portal.login.IPRuleLibrary , so maybe I will try that name tomorrow morning.
The exceptions I get are
#1.5#001321B3B106005C0000000800002E380004039375E59BA6#1129831779936#com.sap.engine.services.security#sap.com/irj#com.sap.engine.services.security#Guest#1####ae7c5500419411daa7fd001321b3b106#SAPEngine_Application_Thread[impl:3]_17##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.security.exceptions.BaseSecurityException: Cannot load a login module.
at com.sap.engine.services.security.login.LoginContextFactory.init(LoginContextFactory.java:95)
at com.sap.engine.services.security.login.LoginContextFactory.getLoginContext(LoginContextFactory.java:133)
at com.sap.engine.services.security.server.AuthenticationContextImpl.getLoginContext(AuthenticationContextImpl.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.system.SystemLoginModule.initialize(SystemLoginModule.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:662)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.getLoggedInUser(SAPJ2EEAuthenticator.java:86)
at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.getLoggedInUser(AuthenticationService.java:305)
at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:96)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:186)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:295)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:351)
at com.sap.portal.navigation.Gateway.service(Gateway.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
Caused by: java.lang.ClassNotFoundException: com.customer.portal.login.IPRuleLoginModule
Found in negative cache
- Loader Info -
ClassLoader name: [common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore]
Parent loader name: [Frame ClassLoader]
References:
library:com.sap.ip.basecomps
library:core_lib
common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
library:servlet
library:sapxmltoolkit
library:com.sap.mw.jco
library:com.sap.util.monitor.jarm
library:j2eeca
library:opensql
interface:security
interface:log
interface:shell
interface:keystore_api
library:ejb20
interface:webservices
library:com.sap.guid
interface:appcontext
interface:endpoint_api
interface:resourceset_api
interface:resourcecontext_api
common:service:iiop;service:naming;service:p4;service:ts
interface:ejbcomponent
interface:container
interface:visual_administration
interface:transactionext
interface:dsr_ejbcontext_api
service:timeout
library:tc~jmx
library:tcSLUTIL
service:memory
library:antlr
library:jdbdictionary
library:opensqlextensions
interface:cross
service:locking
service:file
Resources:
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
security.class
tc_sec_saml_toolkit_api.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
adminadapter
adminadapter.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
com.sap.security.core.ume.service
com.sap.security.core.ume.service.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
webservices_lib
jaxrpc-api.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
com.sap.security.api.sda
com.sap.security.api.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
dbpool
opensqllib.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
jmx
jmx_sec.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
webservices_lib
jaxm-api.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
keystore
keystore.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
security
security.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
basicadmin
jstartupapi.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
security.class
tc_sec_saml_jaas.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
connector
connectorimpl.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
webservices_lib
webservices_lib.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
security.class
tc_sec_jaas.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
security.class
tc_sec_saml_service_api.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
security.class
tc_sec_userstore_lib.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
webservices_lib
saaj-api.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
com.sap.security.core.sda
com.sap.security.core.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
com.sap.security.core.sda
com.sap.security.core.tpd.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
security.class
tc_sec_csi.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
security.class
tc_sec_ssf.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
userstore
userstore.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
dbpool
sqljimpl.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
security.class
tc_sec_saml_xmlbind.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
security.class
tc_sec_saml_util.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
dbpool
dbpool.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
deploy
deploy.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
security.class
tc_sec_saml_toolkit_core.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
jmx
jmx.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
security.class
tc_sec_compat.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
jmx_notification
jmx_notification.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
configuration
configuration.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
basicadmin
jstartupimpl.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
security.class
tc_sec_https.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
services
basicadmin
basicadmin.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
security.class
tc_sec_jaas_test.jar
C:
usr
sap
EQ2
J13
j2ee
cluster
server1
bin
ext
com.sap.security.api.sda
com.sap.security.api.perm.jar
Loading model: {parent,local,references}
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:348)
at com.sap.engine.services.security.Util.loadClass(Util.java:262)
at com.sap.engine.services.security.Util.loadClassFromAdditionalLoaders(Util.java:204)
at com.sap.engine.services.security.login.LoginContextFactory.init(LoginContextFactory.java:92)
... 45 more
#1.5#001321B3B106005C0000000900002E380004039375E5A109#1129831779936#com.sap.engine.services.security#sap.com/irj#com.sap.engine.services.security#Guest#1####ae7c5500419411daa7fd001321b3b106#SAPEngine_Application_Thread[impl:3]_17##0#0#Error##Java###Cannot load login module class .#1#com.customer.portal.login.IPRuleLoginModule#Hi,
The problem was solved by using the name customer.com~com.customer.portal.login.IPRuleLibrary for the library (so basically look at the name of your library folder under cluster\j2ee\serverx\bin\ext , not the name reported by visual admin).
Also I was able to modify the properties of the login module runtime, which made me very happy
Dagfinn -
Hi folks,
I have a SLD set up to use the R/3 backend on the same server. I've also added another R/3 backend to the technical systems, so I can set up a JCO to use this. When I try to set up a JCO with the new backend and try to ping it I get the following error:
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=trel-p40 GROUP=PUBLIC R3NAME=SOE MSSERV=sapmsSOE PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR service 'sapmsSOE' unknown TIME Thu May 31 12:43:10 2007 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE nixxhsl.cpp LINE 776 DETAIL NiHsLGetServNo: service name cached as unknown COUNTER 1
As I can see the JCO points to my local R/3 not to the remote one. So here's my question: How do I tell the SLD that my newly added technical system is in some onther place. I've added the hostnames respectivly but I can't see how the sld would know where to look for a hostname that's not part of the local domain.
Any help would be highly appreciated!
Thanks in advance,
RobertSure, so here's what I'm trying to do: I have a development system consistion of an ERP 5 plus Portal 6.0 and all nessaccery components. I'll use this system to develop webdynpro apps and get them running in the portal.
It's basically just prototypes but in order to give some customers the big picture I wanna connect my webdynpro apps to the customers R/3 for a live presentation with real data.
The Connection runns over JCOs implementing the SLD destination and login data for the remote system (customer side). The remote R/3 just holds an functional package (don't know how it's called in English) that's RFC enabled.
So now I'm facing the problem: How do I get the remote system to be accessable by my JCOs. My thought was just add it in the SLD as a technical system.
As you can see I'm lacking basic understanding of SLD. Maybe you could set me on the right track? -
Error while extracting data from a remote system
Hi,
I am facing problem while extracting data from a remote system. The connection is alright I can extract the table required from the remote system,but when I deploy it I get this error
ORA-04052: error occurred when looking up remote object [email protected]@ORACLE_UBN_15_LOCATION1
ORA-00604: error occurred at recursive SQL level 1
ORA-28000: the account is locked
ORA-02063: preceding line from UBNDW@ORACLE_UBN_15_LOCATION1
here Scott.demo1 is the table and UBNDW is the sid of the remote system and ORACLE_UBN_15_LOCATION1 is the location. Please help me out with this
ThanksHi,
IDOC's need to be processed manually either in OLTp or in BW depending on the failure. Error msg in monitor status will take u to either BW or OLTP whernever there is a prob. Process IDOC's , this will start the left over packets and will finish the load.
we hav to check IDOC in WE05(t-code) and know the status these are WE51,WE52,WE53 AND GOTO WE19 there we hav to execute the exist Idoc will succesfully loaded Idoc
Goto St22 see the short dump error msg..
post if there any inf..
Thanks,
Shreya -
Custom xml transformer provider for xml iview template
I have been trying to get a custom simple xml transformer to work, which will show up in the xml iview template. I have seen the SAP Help docs and the recent weblogs on the subject. I can't get this simple transform functionality to work. I can get as far as registering my own transformer, however I get an error on the page when trying to use it: "Error while using XML iView, please contact your system administrator." My understanding was all I needed to do was provide a xsl, a transformers.xml file, and a service reference in the portalapp.xml.
All I really want to do is take some xml docs I created and display them in the portal. I know that I can write a quick java app to do this myself. However, I am trying to use the built in functionality of the portal (which it appears no one is using except for RSS feeds).
I would prefer to have the output be htmlb from my xsl file. My understanding was that I should create my own xml tranformer provider and then also use the XHTMLB --> HTMLB built in transformer.
Has anyone been successful in trying to create their own xml transformer for the xml iView?
I am wasting a lot of time trying to use methods in the SAP Help Docs, is it worth the effort to use the transformer method?
Eager to award points,
SeanHi
I have successfully deployed a transformer by doing the following:
In PAR, in /dist/xml/XSLLibrary/Transformers, put XSL
In /dist/xml, put transformers.xml file that describes the XSL
In portalapp.xml, add registry entry for transformer and service entry for transformer service.
If you want, you can send transformer PAR and I can look at it ([email protected]).
There could be something wrong with the XSL; this would be more complicated to diagnose.
Daniel -
Transformation: Need for calling a custom function module on source system
Hi Gurus,
I need to use a custom FM residing on source system within the transformation to determine the type (e.g. posting type) of a document item. The logic is quite complex with many exceptions (many if statements) and 2 customizing & few transparent tables are in use as well in the FM.
From my point of view, there are few options for achieving the outcome:
1. Copy the FM logic 1:1 in transformation
2. Transport the FM from ERP to BW system
3. Source system delivers the info (e.g. with an extra field "posting_type")
4. Access the FM directly via RFC/BAPI
However, there are pros and cons for each of the alternatives:
*Option 1*
pros:
cons: consistency problem, need for importing customizing tables & source tables, high maintenance effort
*Option 2*
pros: better consistency compared to Option 1
cons: need for importing tables, administrative efforts
*Option 3*
pros: no logic is needed at BW side, no transformations means no impact on performance, high consistency, no administrative effort
cons: structure in source system has to be changed, impact on historical records
*Option 4*
pros: best consistency (better than Option 3 as FM might change), no administrative effort
cons: impact on performance during transformation
Could you please verify my assumptions and give suggestions on solving the problem?
Thanks a lot!
Regards,
MengHi Joon,
According to me.
If Historical data amount is so high, historical data is available in BW(at PSA level or acquisition layer or corporate memory layer) and headache to load history data(because of overload on ECC due to huge amount of data) from ECC then I will suggest combination of 3 and 4 steps.
If fetching history data from ECC is not headache for you then go for step 3.
Step 3 is most common approach in BW, which is easy for implementation and support.
Regards,
Ashish -
OWB10.1 Deploying public custom transformations
We are in the process of upgrading from OWB 9.0.4 to 10.1.
We have come across a problem in 10.1 that we can't remember ever having in 9.0.4.
When a public custom transformation is selected in the deployment manager no record appears on the right hand side of the screen. This is different behavior to what is expected, and the observed behavior for other object types (mappings, process flows & database transformations) in 10.1.
The result of not seeing the object in the right hand side of the deployment manager is that we are unable to select a deployment action so we are unable to deploy the functions.
Any ideas?Does anyone use OWB 10.1?
-
I'm implementing a custom authorization provider for WebLogic 7.
In my Access Decision isAccessAllowed method I need to check values of
the parameters passed to an EJB method. Now, if an EJB method I have
two parameters of the same type, for example int, when I get
ContextElement array from ContextHandler and iterate through it to get
names and values of the parameters I get the same value (value of the
first int parameter) from both ContextElement's.
Here is the code:
String [] names = ch.getNames();
for (int i = 0; i < names.length; i++)
String name = names;
System.out.println("name = " + name);//here it gets array of
Strings, which contains two parameter names: "int","int",
which are the types of EJB method parameters
ContextElement[] ces= ch.getValues(names);
for (int j = 0; j < ces.length; j++)
ContextElement ce = ces[j];
System.out.println(ce.getName()+ " = " + ce.getValue());
//here if the value of the first int was 2 and the second 0,
it would get 2 from both ContextElements (each of ContextElements will
have name "int"
If I try this with method parameters of different types, for example
int with value 2 and long with value 0, then this code work fine -
first ContextEleement has name int and value 2 and the second has name
long and value 0.
Thanks,
-Oleg Kozlov.I'm implementing a custom authorization provider for WebLogic 7.
In my Access Decision isAccessAllowed method I need to check values of
the parameters passed to an EJB method. Now, if an EJB method I have
two parameters of the same type, for example int, when I get
ContextElement array from ContextHandler and iterate through it to get
names and values of the parameters I get the same value (value of the
first int parameter) from both ContextElement's.
Here is the code:
String [] names = ch.getNames();
for (int i = 0; i < names.length; i++)
String name = names;
System.out.println("name = " + name);//here it gets array of
Strings, which contains two parameter names: "int","int",
which are the types of EJB method parameters
ContextElement[] ces= ch.getValues(names);
for (int j = 0; j < ces.length; j++)
ContextElement ce = ces[j];
System.out.println(ce.getName()+ " = " + ce.getValue());
//here if the value of the first int was 2 and the second 0,
it would get 2 from both ContextElements (each of ContextElements will
have name "int"
If I try this with method parameters of different types, for example
int with value 2 and long with value 0, then this code work fine -
first ContextEleement has name int and value 2 and the second has name
long and value 0.
Thanks,
-Oleg Kozlov. -
Deploying a custom reporting provider in Oracle Service Bus
Hi All,
I am new to OSB. From the reporting documentation I understand that we can register a custom reporting provider which will be called by the Report actions in the service bus. I have written a reporting handler which implements "com.bea.wli.reporting.ReportingDataHandler" and a listener class which extends "weblogic.application.ApplicationLifecycleListener" class. In the listener class I register my report handler class with the ReportingDataManager.
I understand that the listener class has to packaged and deployed in the WLS. Can someone help me explaining how this should be done.
I tried deploying it as a jar but my tests do not reveal that the Report action in OSB did call my report handler. I have followed the instructions as given in http://edocs.bea.com/wls/docs90/programming/lifecycle.html yet I am not successful. I have also disabled the default JMS reporting provider.
What needs to be done after deploying the listener? How does the OSB make use of the new listener?
Any pointers in right direction will help me a lot.
Thanks,
Abarajithan.
Edited by: user5120225 on 27-May-2009 21:00What needs to be done after deploying the listener? How does the OSB make use of the new listener?Did you enable reporting in your application/OSB? operational settings for the proxy contains check box (in sbconsole) Reports which should be enabled
and also we have to put reporting action in our pipeline. Is the reporting provider not receiving events/reports even after this ?
thanks
Manoj -
Problem showing remote systems in MAX
I am having trouble viewing traces set up on remote systems in Max. I am using version 4.7.0f4 Whenever I try to set up a new remote system, it cannot find any remote computers. I have tried using both the computer name (which is resolved to an IP address in the hosts file) and the just IP address. I get this error: "Unable to initialize connection to remote system(s)."
it's: agilent 34980a. i'm trying to reach it through global network but when i'm at the place where i have my device in local network everything is working fine.
Does anyone have any ideas?Hi jacur,
Can you give more details? Which protocol would you like to use to connect to the device? It may appear under Devices and Interfaces if you use certain protocols.
Does the Agilent 34980 support communication over global network? Is the network gateway configure in the device? Are you sure your firewall not blocking MAX communication?
Have you installed a software that makes MAX able to find the device on network? You can check the Instrument Driver Network... may be this driver is useful: http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=5871 -
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 -
Using Federated Security in BizTalk against custom Token Provider and Custom Token
Hi,
I as the topic states, I'm trying to get BizTalk to use a Custom Token Provider with custom tokens.
So I thought this would be rather painless using ws2007FederationHttpBinding but got stuck. The problem is that the service expect soap action and a special structure (se example):
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsc="common.namespace" xmlns:ws="securitytoken.namespace">
<soapenv:Header>
<wsc:AutHeader>
Containing Custom Auth header information tags, about 20 or so
</wsc:AutHeader>
</soapenv:Header>
<soapenv:Body>
<ws:SECSSecurityTokenCreate_V1_0InputArgs>
<ws:SecurityTokenCreateRequest>
<ws:securityToken><!-- signed SAML assertion --></ws:securityToken>
</ws:SecurityTokenCreateRequest>
</ws:SECSSecurityTokenCreate_V1_0InputArgs>
</soapenv:Body>
</soapenv:Envelope>
Response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SECSSecurityTokenCreate_V1_0OutputArgs xmlns:ns2="common.namespace" xmlns="tokenservice,namespace">
<SecurityTokenCreateResponse>
<securityToken> <!-- THE Custom TOKEN --> </securityToken>
</SecurityTokenCreateResponse>
<ResponseState>
<ns2:ErrorCode>0</ns2:ErrorCode>
<ns2:Severity>0</ns2:Severity>
<ns2:ComponentId>201</ns2:ComponentId>
<ns2:StrErrorCode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
<ns2:Message>OK</ns2:Message>
<ns2:NativeError xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
<ns2:LogSequence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
</ResponseState>
</SECSSecurityTokenCreate_V1_0OutputArgs>
</soap:Body> </soap:Envelope>
Error Message in BizTalk, when I send message via ws2007FederationHTTPBinding to the SOAP service, as expected the soap structure dosent match the expected one from the server, most obvisly is the missing SOAP action and incorrect BODY element.
System.ServiceModel.ProtocolException: The content type text/html; charset=iso-8859-1 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 521 bytes of the response were: '<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>Server</soap:Value>
</soap:Code>
<soap:Reason>
<!--1 or more repetitions:-->
<soap:Text xml:lang="en">Missing operation for soapAction [null] and body element [{http://docs.oasis-open.org/ws-sx/ws-trust/200512}RequestSecurityToken] with SOAP Version [SOAP 1.2]</soap:Text>
</soap:Reason>
</soap:Fault>
</soap:Body>
</soap:Envelope>'. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at System.Servi
My plan to solve this is to try using beahviors added to the "inner" wcf binding that will help reconstruct the message from the standard form that I has, but I'm a bit vorried that I start to solve this and later on I'll have to add custom handling
for token extraction and handling since the token should be placed in a custom header in the soap envelope with custom namespace =).
So my question is, could this be solved via sw2007FederationHttpBinding or is an orchestration and some custom code for signing the path forward?
Thanks in advance for any help or guidance!
/MattiasIt's a little tough to use sw2007FederationHttpBinding, I faced similar situation before. :(
-
Where to upload custom JACC provider jar for AS9.1 (Glassfish V2 Beta 1)?
Hello,
as I do have some issues with SOAPMessage object on AS9.0U1 as described here: http://forum.java.sun.com/thread.jspa?threadID=5162508
I'm also trying to duplicate this issue on AS9.1 (Glassfish V2 Beta 1). At the first I need to deploy our custom JACC provider. I've provided correct setup in admin console Configuration -> Security -> JACC providers, I've also switched to use this provider and as I'm used to, I've uploaded JACC provider jar file to the domains/domain1/lib directory. The problem is, it's not working since starting AS9.1 complains about not found class of my provider. As I said, this is exactly how it's working for me on AS9.0U1. Anyway, I've tried to upload the jacc provider jar file to domains/domain1/lib/ext, but then starting AS9.1 complains about missing javax/security/jacc/PolicyContextException. Whole error message in the server log looks like:
[#|2007-04-20T10:12:52.015+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.objectsecurity.openpmf.jacc.Policy;|SEC1143: Loading policy provider com.objectsecurity.openpmf.jacc.Policy.|#]
[#|2007-04-20T10:12:52.031+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=822161e0-8f06-433a-b052-fb42afffb14a;|java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
Caused by: java.lang.NoClassDefFoundError: javax/security/jacc/PolicyContextException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at com.sun.enterprise.security.PolicyLoader.loadPolicy(PolicyLoader.java:133)
at com.sun.enterprise.security.SecurityLifecycle.onInitialization(SecurityLifecycle.java:96)
at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:240)
at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:93)
at com.sun.enterprise.server.PEMain.run(PEMain.java:316)
at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
... 5 more
Please note that com.objectsecurity.openpmf.jacc.Policy is a Policy provider of our own JACC provider.
My question is: where exactly to upload JACC provider jar file in order to have it working correctly?
Thanks!
KarelDid you solve this problem? I've been spinning my head over this. I reinstalled my jdk, reinstalled glassfish, and updated my java.policy file and I still get the same problem.
-
Custom Security Provider impossible to remove the MBean Jar File
Hi,
I am currently developping a custom security provider for Weblogic. I
have deploy my Mbean File Jar on a remote server weblogic running on
solaris. NO authentication provider for this security provider has
been defined in the console, it means there is no link with this
security provider. Nevertheless, when I remove the MJF the server
crashes when starting:
<...>
<May 21, 2003 3:37:08 PM CEST> <Critical> <WebLogicServer> <000364>
<Server failed during initialization.
Exception:weblogic.management.configuration.ConfigurationException: -
with nested exception:
[javax.management.MBeanException: Commo type:
be.fgov.minfin.ccff.security.provider.CCFFSimpleSampleAuthenticator is
not loaded. Checks MJFs.]
javax.management.MBeanException: Commo type:
be.fgov.minfin.ccff.security.provider.CCFFSimpleSampleAuthenticator is
not loaded. Checks MJFs.
at weblogic.management.commo.CommoModelMBean.load(CommoModelMBean.java:588)
at weblogic.management.commo.Commo.initInstances(Commo.java:241)
at weblogic.management.commo.Commo.init(Commo.java:125)
at weblogic.management.AdminServerAdmin.initializeCommo(AdminServerAdmin.java:477)
at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:108)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
<...>
I have been looking through all the config file where the MJF
(removed) could be linked but I did not find anything.
I am really confused because with my local weblogic running on
win2000, there is no problem to remove this MJF.
Thx in advance,
tiggyTiggy,
Remove the userConfig directory under your domain directory. That should
fix the problem.
Thanks,
~satya
Tiggy wrote:
Hi,
I am currently developping a custom security provider for Weblogic. I
have deploy my Mbean File Jar on a remote server weblogic running on
solaris. NO authentication provider for this security provider has
been defined in the console, it means there is no link with this
security provider. Nevertheless, when I remove the MJF the server
crashes when starting:
<...>
<May 21, 2003 3:37:08 PM CEST> <Critical> <WebLogicServer> <000364>
<Server failed during initialization.
Exception:weblogic.management.configuration.ConfigurationException: -
with nested exception:
[javax.management.MBeanException: Commo type:
be.fgov.minfin.ccff.security.provider.CCFFSimpleSampleAuthenticator is
not loaded. Checks MJFs.]
javax.management.MBeanException: Commo type:
be.fgov.minfin.ccff.security.provider.CCFFSimpleSampleAuthenticator is
not loaded. Checks MJFs.
at weblogic.management.commo.CommoModelMBean.load(CommoModelMBean.java:588)
at weblogic.management.commo.Commo.initInstances(Commo.java:241)
at weblogic.management.commo.Commo.init(Commo.java:125)
at weblogic.management.AdminServerAdmin.initializeCommo(AdminServerAdmin.java:477)
at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:108)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
<...>
I have been looking through all the config file where the MJF
(removed) could be linked but I did not find anything.
I am really confused because with my local weblogic running on
win2000, there is no problem to remove this MJF.
Thx in advance,
tiggy
Maybe you are looking for
-
Create a new page in Text Edit?
I know Text Edit has limited functionality but I havent been able to find any tutorials or basic information on Text Edit and eventually I may get Pages or Word for Mac, but for right now, I dont really need anything fancy so I'm hoping Text Edit wil
-
I trying to download a book as a pdf to view through my adobe reader. But every time I do I keep getting the same error message saying that the file is not a supported file type or because the file has been damaged it can't be opened or viewed. What
-
ITunes won't open due to problem with audio configuration
Out of the clear blue iTunes will not open any longer. I get a gray message screen that says iTunes can't open due to an audio configuration problem. Any answers for this???
-
New to this, so I apologize if I'm beating a dead horse, but I need some advice. Two things. 1) iTunes is very slow connecting to the store or changing locations within the store. Its okay on downloading songs (not great but doesn't take minutes like
-
Internal error in IP - cannot see filters with variables
Hello Gurus, Please help me with this issue. I'm having a problem with data in a productive environment. When I try to access any filter with a variable, in Modeler, I receive the following error message: Internal error: Failed to read variables for