JSObject error in c# reflection
hello,
I'm using c# and Javascript object to do some pdf manipulation. Please see the below code, I ran into an "Unknown Name" error at the last line when trying to get the "children" object from the BookmarkRoot. Getting the "name" and "color" worked fine, but I don't know why I'm getting the "unknown name" error for the "children". Am I missing something? any suggestions?
object jsObj = pdfFinal.GetJSObject();
object bmr = jsObj.GetType().InvokeMember(
"bookmarkRoot",
System.Reflection.BindingFlags.GetProperty,
null, jsObj, null);
object name = bmr.GetType().InvokeMember("name",
System.Reflection.BindingFlags.GetProperty,
null,bmr,null);
object color = bmr.GetType().InvokeMember("color",
System.Reflection.BindingFlags.GetProperty,
null, bmr, null);
//the below line gives Unknown name. (Exception from HRESULT: 0x80020006(DISP_E_UNKNOWNNAME))
object children = bmr.GetType().InvokeMember("children",
System.Reflection.BindingFlags.GetProperty,
null, bmr, null);
Thanks,
John
Use:
Array children = (Array)bmr.GetType() ....
Similar Messages
-
Dear all,
i am using bea weblogic 10.0 ant i am downloading the running Inventory.
but the below problem occurc when i run ant task for downloading that is
ant -buildfile propagation_ant.xml downloadSrc the below problem occurs. i am new to bea so how can i debug the problem
VERBOSE: InventoryTreeWalker: visiting node: Application:ContentServices:BEA Repository:ContentNodes:Webmasters:Sports:I won`t step down from presidency Khan.txt
ERROR: The Propagation operation ended in error.
java.lang.reflect.UndeclaredThrowableException
at weblogic.security.providers.xacml.authorization.XACMLAuthorizerMBeanImpl.policyExists(XACMLAuthorizerMBeanImpl.java:245)
at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.bea.p13n.security.internal.SecurityProviderProxy.invoke(SecurityProviderProxy.java:48)
at $Proxy54.policyExists(Unknown Source)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:241)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:239)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.kernelRunAs(SecurityPolicyDelegate.java:433)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.policyExists(SecurityPolicyDelegate.java:246)
at com.bea.p13n.entitlements.management.internal.RDBMSSecurityPolicyManager.getSecurityPolicy(RDBMSSecurityPolicyManager.java:204)
at com.bea.p13n.entitlements.management.SecurityPolicyManager.getSecurityPolicy(SecurityPolicyManager.java:119)
at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicy(SecurityHelper.java:146)
at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicies(SecurityHelper.java:122)
at com.bea.propagation.content.online.hierarchy.ContentNodeHierarchy.discoverChildren(ContentNodeHierarchy.java:113)
at com.bea.propagation.framework.hierarchy.ListNodeHierarchy.getChildrenNodes(ListNodeHierarchy.java:113)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:215)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:158)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:102)
at com.bea.propagation.framework.tool.io.InventoryTreeExport.walkDepthFirst(InventoryTreeExport.java:88)
at com.bea.propagation.framework.tool.io.InventoryFolderExport.walkDepthFirst(InventoryFolderExport.java:110)
at com.bea.propagation.framework.tool.io.InventoryArchiveExport.walkDepthFirst(InventoryArchiveExport.java:103)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:1017)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:991)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation_Remote(InventoryManagementServlet.java:510)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation(InventoryManagementServlet.java:453)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doService(InventoryManagementServlet.java:318)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doPost(InventoryManagementServlet.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:315)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
ERROR: The Propagation operation ended in error.
java.lang.reflect.UndeclaredThrowableException
at weblogic.security.providers.xacml.authorization.XACMLAuthorizerMBeanImpl.policyExists(XACMLAuthorizerMBeanImpl.java:245)
at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.bea.p13n.security.internal.SecurityProviderProxy.invoke(SecurityProviderProxy.java:48)
at $Proxy54.policyExists(Unknown Source)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:241)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:239)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.kernelRunAs(SecurityPolicyDelegate.java:433)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.policyExists(SecurityPolicyDelegate.java:246)
at com.bea.p13n.entitlements.management.internal.RDBMSSecurityPolicyManager.getSecurityPolicy(RDBMSSecurityPolicyManager.java:204)
at com.bea.p13n.entitlements.management.SecurityPolicyManager.getSecurityPolicy(SecurityPolicyManager.java:119)
at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicy(SecurityHelper.java:146)
at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicies(SecurityHelper.java:122)
at com.bea.propagation.content.online.hierarchy.ContentNodeHierarchy.discoverChildren(ContentNodeHierarchy.java:113)
at com.bea.propagation.framework.hierarchy.ListNodeHierarchy.getChildrenNodes(ListNodeHierarchy.java:113)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:215)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:158)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:102)
at com.bea.propagation.framework.tool.io.InventoryTreeExport.walkDepthFirst(InventoryTreeExport.java:88)
at com.bea.propagation.framework.tool.io.InventoryFolderExport.walkDepthFirst(InventoryFolderExport.java:110)
at com.bea.propagation.framework.tool.io.InventoryArchiveExport.walkDepthFirst(InventoryArchiveExport.java:103)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:1017)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:991)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation_Remote(InventoryManagementServlet.java:510)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation(InventoryManagementServlet.java:453)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doService(InventoryManagementServlet.java:318)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doPost(InventoryManagementServlet.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:315)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)your error seems to indicate that your embeddedLdap isnt in sync with the Database ? Did you either delete files from your file systems or cleanup the portal db or finally used a copy of some existing database for your domain?
-
Purpose: to migrate all the ACTIVE records from tier1 storage to tier 2 storage.
A have applied MLR 11 patch i.e Patch 20624268: WEBCENTER CONTENT BUNDLE PATCH 11.1.1.8.11
My Configurations
Tier 1 intradoc.cfg configuration
VaultDir=/u01/app/oracle/oracle/product/11.1.8/fmw/user_projects/domains/wcc_domain/ucm/cs/vault/
WeblayoutDir=/u01/app/oracle/oracle/product/11.1.8/fmw/user_projects/domains/wcc_domain/ucm/cs/weblayout/
I then changed the above parameters from TIer 1 to Tier2 as follows
VaultDir=/u01/tier1_storage/vault
WeblayoutDir=/u01/tier1_storage/weblayout
Then rebooted the machine. Now when i try to search for all the older records which were stored on Tier 1 above using GET_FILE
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://www.oracle.com/UCM">
<ns1:GenericRequest webKey="cs">
<ns1:Service IdcService="GET_FILE">
<ns1:Document>
<ns1:Field name="dDocName">OWCDEV_004521</ns1:Field>
<ns1:Field name="RevisionSelectionMethod">Latest</ns1:Field>
</ns1:Document>
</ns1:Service>
</ns1:GenericRequest>
</soap:Body>
</soap:Envelope>
I Get following error
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<ns2:GenericResponse webKey="cs" xmlns:ns2="http://www.oracle.com/UCM">
<ns2:Service IdcService="GET_FILE">
<ns2:Document>
<ns2:Field name="error">Error: java.lang.reflect.InvocationTargetException</ns2:Field>
</ns2:Document>
</ns2:Service>
</ns2:GenericResponse>
</env:Body>
</env:Envelope>
Problem
The biggest problem is that i am not able to search older records which are stored in tier1 storage using GET_FILE, But if i check in new records to Tier2 i am able to use GET_FILE to search them. I must be able to search both Tier1 and Tier 2 Storage content files using GET_FILE. To reproduce the error, change the vault and weblayout path from intradoc.cfg,reboot then try to use GET_FILE to search for records on the previous path, then the you will get the above error. I tried to create partition and storage rules but i am not successfull. I am not so sure exactly what to change here. Please adviceHi 2611729
For searching content items service is GET_SEARCH_RESULTS and for downloading the file its GET_FILE
I dont think changing the configuration value will serve the prupose over here. You need to move the contents from one location to other and going by the explanation you have provided that movement has not happened. Every content item has a metadata called xStorageRule which mentions the location where file is stored. In your case, though you've changed the configuration setting the metadata value is still of tier1 for older content items.
You have changed the default value and thats the reason contents are getting stored in tier2 storage now and you are able to access them via search. Since for older items xStorageRule holds older value which is different that current one you are not able to search.
However, i belive you're trying to move the contents from tier1 to tier2 storage since contents in tier1 storage have crossed X days and might not be accessed frequently by users.
Below mentioned option might work.
Retain your configuration setting for valut and weblayout as earlier.
1. Create a new storage rule Tier2Rule pointing to tier2
2. Archive your contents using Archiver applet.
3. Import the contents from created archive using applet and during import change the metadata xStorageRule to new storage rule Tier2Rule. This moves all your content onto tier2.
4. Checkin new documents and it gets stored in tier1 location. I assume default storage rule will point to tier1.
5. While searching using seach forms use the metadata StorageRule and it will provide dropdown of list (like tier1rule, tier2rule and so on). Select and perform the search.
For download using GET_FILE, i'm not sure whether by passing xStorageRule it will work or not. You'll have to try it out by small POC or customize the GET_FILE as required.
I've not tried this approach earlier but by system-wise understanding it should work.
Also, please refer UCM Backup strategy this discussion thread and others in the forum. Take a look at SAM-QFS which does this job transparently or any other solution in-line to that. -
Hi I m getting the below wxpection when i run test browser from workshop. please help me.
An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.reflect.InvocationTargetException:nullThamarai,
Can you provide more information on your jws ? Also can you start the server
from the command line with verbose option. This will cause
weblogic_debug.log to be generated in the domain folder.
Raj Alagumalai
Backline Workshop Support
"Thamarai Selvan" <[email protected]> wrote in message
news:[email protected]..
Hi I m getting the below wxpection when i run test browser from workshop.please help me.
>
An unexpected exception occurred while attempting to locate the run-timeinformation for this Web Service. Error:
java.lang.reflect.InvocationTargetException:null -
Axis error: java.lang.reflect.InvocationTargetException
Hello!
I have seen this question, asked many times, but I couldn't find any suitable solution for my problem. I am deploying a web service with Apache Tomcat 5.5.27 and Axis 1.4
When I make a call to the service in this way:
try{
call.setTargetEndpointAddress(new URL(endpoint));
}catch(Throwable e)
System.out.println("ERROR: " + e.getMessage() + " CAUSE: " + e.getCause());
e.printStackTrace();
return;
call.setOperationName(new QName("bookTicket"));
call.addParameter("flightIDs",XMLType.SOAP_ARRAY, ParameterMode.IN);
call.setReturnType(XMLType.XSD_STRING);
String reservationID = null;
try{
reservationID = (String)call.invoke(new Object[] {params});
}catch(Throwable e)
System.out.println("ERROR: " + e.getMessage() + " CAUSE: " + e.getCause());
e.printStackTrace();
return;
}I get the following error:
ERROR: java.lang.reflect.InvocationTargetException CAUSE: null
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.reflect.InvocationTargetException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:andr33a
java.lang.reflect.InvocationTargetException
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at client.AirplaneServiceClient.main(AirplaneServiceClient.java:113)The signature of the method I am calling looks like this:
public String bookTicket(String [] flightIDs) My CLASSPATH is set corectly and all the jars are in the right places (or at least most of them), because when I call any other method of my service, it works.
If anyone has encountered the same problem, any help would be appreciated.
I have tried to look in tomcat logs, but I didn't find anything relevant.
Thanks and looking forward for some answers.Steven,
Yes that is correct I receive this error message the moment I'am running JAG
This is the stack trace as you described:
Loading JHeadstart Addins
Addin | Version | Status
JHeadstart Shared Components| 11.1.1.0.31| Loaded
JHeadstart Utilities| 11.1.1.0.31| Loaded
JHeadstart Application Generator| 11.1.1.0.31| Loaded
JHeadstart Development Environment| 11.1.1.0.31| Loaded
JHeadstart Forms2ADF Generator| 11.1.1.0.31| Loaded
20:42:35 INFO (CollectionFactory) -Commons Collections 3.x available
20:42:35 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
20:42:35 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
20:42:35 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.set.ListOrderedSet]
JHeadstart Debugger: no debug session exists with key: "JAG"
20:42:42 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
20:42:42 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
20:42:42 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.set.ListOrderedSet]
20:42:44 DEBUG (ReloadableResourceBundleMessageSource) -Clearing entire resource bundle cache
20:42:45 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
JagRunner$1[102]: Invoking garbage collector
Regards,
Menk -
Using OWB in MOC map i am getting error:java.lang.reflect.invoc
Hi All,
When i am trying to deploy any of the ammping using OWB for oracle MOC.
As part of the deployment, when I tried for the first following mapping:
using MTH-->MTH_TARGET--> Mapping
· List of deployable objects and category (EBS-Specific / Non-EBS Specific)
· EBS Specific-Maps : MTH_WO_OI_INIT_DMF_MAP
I am gettinge the following error while opening the map :
java.lang.reflect.invocationtargetexception
Because of that its not deploying at all for any of the mapping.
I am sometimes getting error nested transactions are being carried out .But if I logging in and logging out this error doesn't comes but the error which I mentioned comes. (java.lang.reflect.invocationtargetexception)
Will appreciate, if anybody gets teh same error or have some solution.
Regards,
Ashok.your error seems to indicate that your embeddedLdap isnt in sync with the Database ? Did you either delete files from your file systems or cleanup the portal db or finally used a copy of some existing database for your domain?
-
JSObject error in applet when running in mozilla
HI
I have an applet from which i call javascript using JSObject
It works fine in IE, but i get the following error in mozilla, (1.0.7 and 1.5 version)
netscape.javascript.JSException
at netscape.javascript.JSObject.getWindow(Unknown Source)
at javachart.applet.sopChartApp.handlePick(sopChartApp.java:89)
at javachart.applet.sopChartApp$1.mousePressed(sopChartApp.java:35)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
This is code i have in my applet
try
JSObject win = (JSObject) JSObject.getWindow(applet);
win.eval("javascript:openReport(\'" + report + "\')");
} catch (Exception exc)
LogWriter.out("Error in printing report " + exc.getMessage(),
LogWriter.SEVERE);
exc.printStackTrace();
}AshishHi
Anyone know this issue
Ashish -
Ok - All help is really appreciated!
I'll get the configuration questions out of the way first...I'm using:
JWSDP 1.1
JDK 1.3.1_08
J2EE 1.3.1
I've been able to successfully run the "Hello World" example provided by the JWSDP 1.1 tutorial. I'm now trying to generate a WSDL using an interface that had worked with JWSDP 1.0 EA, but I'm getting the following error:
process-war:
[echo] Running wsdeploy....
[echo] CLASSPATH=C:\ATG\DAS6.2.0\DAS\lib\classes.jar:D:\j2sdkee1.3.1\lib\j2ee.jar:C:\ATG\ATG6.2.0\CIWS\lib\cacjdbc.jar:C:\ATG\ATG6.2.0\CIWS\lib\CIWS_JAXB.jar:C:\ATG\ATG6.2.0\CIWS\lib\oromatcher.jar:C:\ATG\ATG6.2.0\CIWS\lib\classes12.zip:C:\ATG\ATG6.2.0\CIWS\j2ee-apps\ciws\java-code:C:\ATG\ATG6.2.0\CIWS\j2ee-apps\ciws\web-app\WEB-INF\classes
[exec] info: created temporary directory: D:\ciws-ws\ciws\build\wsdeploy-generated\jaxrpc-deploy-615014
[exec] java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: javax/ejb/CreateException
[exec] at java.lang.Class.getMethods0(Native Method)
[exec] info: processing endpoint: ciws
[exec] at java.lang.Class.getMethods(Class.java:737)
[exec] at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.processInterface(RmiModeler.java:270)
[exec] at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.modelPort(RmiModeler.java:232)
[exec] at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.buildModel(RmiModeler.java:195)
[exec] at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:85)
[exec] at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:61)
[exec] at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:368)
[exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.process(DeployTool.java:259)
[exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.process(DeployTool.java:229)
[exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.run(DeployTool.java:182)
[exec] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:41)
[exec] at com.sun.xml.rpc.tools.wsdeploy.Main.main(Main.java:24)
[exec] at java.lang.reflect.Method.invoke(Native Method)
[exec] at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
[exec] Result: 1
Here are my configuration files:
common/build.properties
# This file contains properties common to the tutorial examples
# for JAX-RPC.
jwsdp.home=D:\\jwsdp-1.1
tut-root=${jwsdp.home}/docs
# tut-root=D:\\wspack-docs
build=build
url=http://localhost:8080/manager
jaxrpc.home=${jwsdp.home}/jaxrpc-1.0.3
jaxp.holme=${jwsdp.home}/jaxp-1.2.2
saaj.home=${jwsdp.home}/saaj-1.1.1
wscompile-path=${jaxrpc.home}/bin
rlib=${jaxrpc.home}/lib
plib=${jaxp.home}/lib
pelib=${jaxp.home}/lib/endorsed
slib=${saaj.home}/lib
wlib=${jwsdp.home}/jwsdp-shared/lib
rjars=${rlib}/jaxrpc-api.jar:${rlib}/jaxrpc-ri.jar
pjars=${plib}/jaxp-api.jar
pejars=${pelib}/xercesImpl.jar:${pelib}/xalan.jar:${pelib}/xsltc.jar:${pelib}/dom.jar:${pelib}/sax.jar
sjars=${slib}/saaj-api.jar:${slib}/saaj-ri.jar:${slib}/dom4j.jar
wjars=${wlib}/jax-qname.jar:${wlib}/commons-logging.jar:${wlib}/mail.jar:${wlib}/activation.jar
jwsdp-jars=${rjars}:${pjars}:${pejars}:${sjars}:${wjars}
build.properties
# This file is referenced by the build.xml file.
atg-home=C:\\ATG
ciws-home=${atg-home}\\ATG6.2.0\\CIWS
example=ciws
context-path=ciws
package-name=/com/enc/ciws/wrapper
client-class=com.enc.ciws.client.CiwsClient
client-jar=${example}-client.jar
portable-war=${example}-portable.war
deployable-war=${context-path}.war
# ORIGINAL --> war-path=${tut-root}/tutorial/examples/jaxrpc/${example}/dist/${deployable-war}
war-path=D:\\ciws-ws\\ciws\\dist\\${deployable-war}
atg-das-jar=${atg-home}\\DAS6.2.0\\DAS\\lib\\classes.jar
j2ee-jar=D:\\j2sdkee1.3.1\\lib\\j2ee.jar
ciws-jars=${ciws-home}\\lib\\cacjdbc.jar:${ciws-home}\\lib\\CIWS_JAXB.jar:${ciws-home}\\lib\\oromatcher.jar:${ciws-home}\\lib\\classes12.zip
ciws-classes=${ciws-home}\\j2ee-apps\\ciws\\java-code:${ciws-home}\\j2ee-apps\\ciws\\web-app\\WEB-INF\\classes
custom-classpath=${atg-das-jar}:${j2ee-jar}:${ciws-jars}:${ciws-classes}
build.xml
<!DOCTYPE project [
<!ENTITY commonTargets SYSTEM "./ciws-targets.xml">
]>
<project name="JAX-RPC Tutorial" default="build" basedir=".">
<property file="${user.home}/build.properties"/>
<property file="../common/build.properties"/>
<property file="build.properties"/>
&commonTargets; <!-- The ant targets are in ../common/targets.xml -->
<target name="build" depends="build-service"
description="Executes the targets needed to build the service.">
</target>
</project>
config.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl location="http://localhost:8080/ciws/ciws?WSDL" packageName="com.enc.ciws.wrapper"/>
</configuration>
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
<web-app>
<display-name>CIWS</display-name>
<description>A web application containing a JAX-RPC endpoint for CIWS</description>
<session-config>
<session-timeout>60</session-timeout>
</session-config>
</web-app>
jaxrpc-ri.xml
<?xml version="1.0" encoding="UTF-8"?>
<webServices
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd"
version="1.0"
targetNamespaceBase="http://com.test/wsdl"
typeNamespaceBase="http://com.test/types"
urlPatternBase="/ws">
<endpoint
name="ciws"
displayName="CIWS"
description="A web service to inquiry about claims"
interface="com.enc.ciws.wrapper.CIWSWrapper"
implementation="com.enc.ciws.wrapper.CIWSWrapperImpl"/>
<endpointMapping endpointName="ciws" urlPattern="/ciws"/>
</webServices>
Snippets of ant script (ciws-targets.xml)
<target name="process-war" depends="set-ws-scripts"
description="Runs wsdeploy to generate the ties and create a deployable WAR file">
<echo message="Running wsdeploy...."/>
<echo message="CLASSPATH=${custom-classpath}"/>
<delete file="dist/${deployable-war}" />
<exec executable="${wsdeploy}">
<arg line="-verbose"/>
<arg line="-keep"/>
<arg line="-tmpdir"/>
<arg line="${build}/wsdeploy-generated"/>
<arg line="-classpath"/>
<arg line="${custom-classpath}"/>
<arg line="-o"/>
<arg line="dist/${deployable-war}"/>
<arg line="dist/${portable-war}"/>
</exec>
</target>
And finally the code!! (I know, I know...probably not good with all the exceptions)
package com.enc.ciws.wrapper;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface CIWSWrapper extends java.rmi.Remote {
String getAdjusterInfo(String claimInquiryRS) throws java.rmi.RemoteException;
String getClaimDetail(String requestString)
throws
java.rmi.RemoteException,
java.io.IOException,
javax.xml.bind.ValidationException,
javax.xml.bind.UnmarshalException,
javax.ejb.CreateException,
javax.naming.NamingException,
com.enc.ciws.utils.exception.InvalidRequestException;
String getClaimHistory(String requestString) throws java.rmi.RemoteException;
String getClaimSummaryByPolicyHolderInfo(String claimInquiryRS)
throws
java.rmi.RemoteException,
java.io.IOException,
java.text.ParseException,
javax.xml.bind.ValidationException,
javax.xml.bind.UnmarshalException,
javax.ejb.CreateException,
javax.naming.NamingException,
com.enc.ciws.utils.exception.InvalidRequestException;
String getClaimSummaryByPolicyNumber(String claimInquiryRS)
throws
java.rmi.RemoteException,
java.io.IOException,
javax.xml.bind.ValidationException,
javax.xml.bind.UnmarshalException,
javax.ejb.CreateException,
javax.naming.NamingException,
com.enc.ciws.utils.exception.InvalidRequestException;
String getClaimSummaryByStatus(String claimInquiryRS)
throws
java.rmi.RemoteException,
java.io.IOException,
java.text.ParseException,
javax.xml.bind.ValidationException,
javax.xml.bind.UnmarshalException,
javax.ejb.CreateException,
javax.naming.NamingException,
com.enc.ciws.utils.exception.InvalidRequestException;
public String getPaymentDetail(String requestString)
throws java.rmi.RemoteException;
String getSubroDetail(String requestString)
throws
java.rmi.RemoteException,
java.io.IOException,
javax.xml.bind.ValidationException,
javax.xml.bind.UnmarshalException,
javax.ejb.CreateException,
javax.naming.NamingException,
com.enc.ciws.utils.exception.InvalidRequestException;
}try just using the wscompile.bat/.sh commandline tool first. It will automatically setup the classes used
by wscompile and jaxrpc, you will only then need to specify the classpath to your classes on the
commandline. This might help you isolate the problem so you can fix the ant tasks. -
Warning to error message not reflecting for message no06219
Sir,
ply help me for the message no "06219" which is used for po
purpose system should not take price from last po if validity expires.
this message is not reflecting
regards
ameyfrom OSS Note 675523 - Conditions are copied from Last Purchase Order:
Use the user parameter EVO to indicate that no price adoption from last Purchase Order must take place:
IMG: MM -> Purchasing -> Environment data -> Default values for Buyers
-> Setting for Default values.
Select or setup a default value and on the "price adoption" tab you may choose how copying of conditions from last purchase order must behave. Select "Do not copy".
Then assign this default value to the user, using the EVO parameter. -
Error while creating a datasource for XMLfile in DataFederator
Hi,
I am trying to create a datasource in Data federator for XML file, when I tried to click on Generate Elements and Attributes button
Data Federator gives me error "Java.lang.reflect.InnovationTargetException".
Thanx In Advance.
Yogesh
Edited by: mahayog74 on Dec 2, 2011 11:09 AMIt looks like more of an issue with connecting to essbase, usually "java.lang.UnsatisfiedLinkError: no HspEssbaseEnv in java.library.path" means planning has not been installed or deployed correctly, what OS is it running on?
Cheers
John
http://john-goodwin.blogspot.com/ -
Hi everybody,
I have two Distinct Databases on two distinct servers. (Oracle Ent. Release 10.2.0.3.0 on AIX 5.3). After I install the latest patch last week, One of the APEX installation has some problems on Home>Application Builder Page. The error message is very random and
report error:
ORA-06502: PL/SQL: numeric or value error: NULL index table key value.
When i change the view (details to icons), everything goes to normal. This error message is reflected some of the pages (report region) of some of my applications randomly. When it appears in a report region, i deselect the order method of the region, the result is normal.
But the other APEX application on the other instance has no problem. It is a bug? or Should i re-install the APEX instance?
Thank you for your interest?
Gökhan ÇATALKAYANo, but we have a reproducible test case now so we're working on it. See ORA-06502: PL/SQL: numeric or value error: NULL index table key value
Scott -
Error @scheduling report creation
hi everyone,
I wanna schedule a job, but I'm always getting the following errors:
java.lang.reflect.InvocationTargetException
caused by: java.lang.NullPointerException
org.quartz.JobExecutionException: oracle.apps.xdo.XDOException
and also an java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column.
I'm created xmlp schema, I run the scripts and also added the <scheduler> tag in the configuration file. what's wrong?
I'm working for a customer, so it would be nice, if someone could help me ;)
thxbtw - the underlying database is of version 9.2.0.7.0 ... is there a problem with that?
-
ERROR VNIC creation job failed
Hello All,
I have brought oracle VM X86 manager into ops center 12c control. When I try to create a new virtual machine it is throwing the ‘ERROR VNIC creation job failed’ error. Can anybody throw some light over this issue.
Thanks in advance.
Detailed log is
44:20 PM IST ERROR Exception occurred while running the task
44:20 PM IST ERROR java.io.IOException: VNIC creation job failed
44:20 PM IST ERROR VNIC creation job failed
44:20 PM IST ERROR com.sun.hss.services.virtualization.guestservice.impl.OvmCreateVnicsTask.doRun(OvmCreateVnicsTask.java:116)
44:20 PM IST ERROR com.sun.hss.services.virtualization.guestservice.impl.OvmAbstractTask.run(OvmAbstractTask.java:560)
44:20 PM IST ERROR sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
44:20 PM IST ERROR sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
44:20 PM IST ERROR sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
44:20 PM IST ERROR java.lang.reflect.Method.invoke(Method.java:597)
44:20 PM IST ERROR com.sun.scn.jobmanager.common.impl.TaskExecutionThread.run(TaskExecutionThread.java:194)
Regards,
georgeHi friends
I managed to find the answer. Internally it is has some indexes in the data base level. It still maintains the indexes in the shadow tables. Those all need to be deleted. With our Basis team help I have successfully deleted those and recreated the indexes.
As Soorejkv said sap note 1283322 will help you on this to understand the scenarios.
Thank you all.
Regards
Ram -
ERROR received when trying to open an existing UNIX/Linux monitor in the console.
In the SCOM 2012 R2 console, you go to Authoring | UNIX/Linux Log File Monitoring, and double click on any of the existing configured monitors, you get error below. Has anyone seen this ?
Thx...
Date: 4/27/2015 2:27:53 PM
Application: Operations Manager
Application Version: 7.1.10226.0
Severity: Error
Message:
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.TypeContainer.get_ContainedType()
at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomExtensionsCommon.AddTemplatePages(LaunchTemplateUIData launchData, Form form)
at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomExtensionsCommon.RunPrivate(Object[] userData)
at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomExtensionsCommon.Run(Object[] userData)No, the SCOM online UNIX/Linux MP stuff is only for OM 2007 R2. All the latest UNIX/Linux MP(B)s for SCOM 2012 and above come from the link below. There are multiple download msi's so make sure you grab the one for your version of SCOM 2012.
http://www.microsoft.com/en-us/download/details.aspx?id=29696
The current release is UR5 but UR6 will be coming out very soon, within the next week or two at the latest.
Note that you can generally install the latest MP(B)s on lower UR versions of SCOM. We try to keep them independent but every once and awhile there are bits that require you to be at a specific UR on SCOM as well. We update the release notes with the details
as needed.
Regards,
-Steve -
Error calling WSDL Service in Swing application.
I'm having the following error when calling a web service in a Swing Application.
getUserInfo is defined and properly deployed. I tried several time to recreate WSDL cache and auto generated code, but nothing changed.
Exception occurred during event dispatching:
java.lang.Error: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jdesktop.application.ApplicationAction.noProxyActionPerformed(ApplicationAction.java:662)
... 88 more
Caused by: java.lang.Error: Undefined operation name getUserInfos
at com.sun.xml.ws.model.JavaMethodImpl.freeze(JavaMethodImpl.java:327)
at com.sun.xml.ws.model.AbstractSEIModelImpl.freeze(AbstractSEIModelImpl.java:97)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:268)
at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:683)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:340)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:323)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:305)
at javax.xml.ws.Service.getPort(Unknown Source)
at com.up4b.mercury.services.ServerManagerService.getServerManagerPort(ServerManagerService.java:56)
at com.up4b.mercury.client.MercuryClientLoginBox.checkUser(MercuryClientLoginBox.java:139)
... 93 moreOK.
So here is an inside view of what I'm doing:
Service is coded in a J2EE Web Application like this:
* Web service operation
@WebMethod(operationName = "userInfos")
public Musers userInfos(@WebParam(name = "userId")
Long userId) {
return serverManager.getUserInfos(userId);
}And in the client (Swing application generated by Netbeans) the code is:
try { // Call Web Service Operation
com.up4b.mercury.services.CampaignManagerService service = new com.up4b.mercury.services.CampaignManagerService();
com.up4b.mercury.services.CampaignManager port = service.getCampaignManagerPort();
java.lang.Integer campaignId = client.getCampaignId();
java.util.List<com.up4b.mercury.services.Mstatus> result = port.getStatusList(campaignId);
Iterator iter = result.iterator();
String[] statusArray = new String[255];
statusArray[0] = "Sélectionner un statut";
int i = 1;
while (iter.hasNext()) {
com.up4b.mercury.services.Mstatus ts = (com.up4b.mercury.services.Mstatus) iter.next();
statusArray[i] = ts.getStatusSdesc();
i++;
status.setToolTipText("Statut de la fiche");
status.setModel(new javax.swing.DefaultComboBoxModel(statusArray));
status.setSelectedIndex(0);
// Reset pause mode to false and button to proper state
pauseButton.setSelected(false);
pauseButton.setText("Pause");
pauseState = false;
} catch (Exception ex) {
getClient().setIsActive(false);
}
Maybe you are looking for
-
ICal Calendar sync with iCloud Calendar
I am moving from Google calendar to iCal and need some help. I have imported my Google calendar into iCal, but now that I created new calendars (to make different events different colors) events are disappearing. For example - my Google calendar came
-
The addons I use a lot are not compatible with Firefox 4...if I had known, I would have kept the older version....having a real hard time getting the old one back....The mozilla folder in my Programs has version 1.9 listed which is crazy...I had at l
-
Issue upgrading from R 3.1.2 to R 3.1.3
Hi, i wanted to upgrade my system tonight, but I am having a problem with the R package. I currently have version 3.1.2, and an upgrade to version 3.1.3 is available. After typing sudo pacman -Syu the upgrade of the packages fails with the error mess
-
Error: c0000005 address: 39db7b7d
Hello, I have the following problem: Every time, immediatly after I run Adobe Album SE - it gives me error: c0000005 on address: 39db7b7d, "Photoshop album has encountered a problem and needs to close.We are sorry for the inconvenience". I tryed with
-
How can i copy the screen of a website to a file every 15 seconds
pe this site: http://www.beleggen.nl/aex?gclid=CIPKy_S8nL4CFWvkwgod9VMA4w append this quote and time to file every 15 seconds Thanks Peter maljers