JDev 11.1.1.2.0 - Error while providing Error Handler Class in Databindings
I get this exception as soon as I provide a reference to ErrorHandlerClass in DataBindings.cpx
Error 500--Internal Server Error
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.InstantiationException, msg=empexceptions.model.EmpDCErrorHandler
at oracle.jbo.common.JBOClass.newInstance(JBOClass.java:253)
at oracle.jbo.uicli.mom.JUApplicationDefImpl.initializeBindingContext(JUApplicationDefImpl.java:1242)
at oracle.jbo.uicli.mom.JUApplicationDefImpl.populateContext(JUApplicationDefImpl.java:1215)
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:713)
at oracle.adf.model.BindingRequestHandler.initializeBindingContext(BindingRequestHandler.java:399)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:182)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.InstantiationException: empexceptions.model.EmpDCErrorHandler
at java.lang.Class.newInstance0(Class.java:340)
at java.lang.Class.newInstance(Class.java:308)
at oracle.jbo.common.JBOClass.newInstance(JBOClass.java:245)
... 34 more
DataBindings.cpx looks like this
<?xml version="1.0" encoding="UTF-8" ?>
<Application xmlns="http://xmlns.oracle.com/adfm/application"
version="11.1.1.55.36" id="DataBindings" SeparateXMLFiles="false"
Package="empexceptions.view" ClientType="Generic"
ErrorHandlerClass="empexceptions.model.EmpDCErrorHandler">and my error handler class looks like this
package empexceptions.model;
import oracle.adf.model.binding.DCBindingContainer;
import oracle.adf.model.binding.DCErrorHandlerImpl;
public class EmpDCErrorHandler extends DCErrorHandlerImpl {
public EmpDCErrorHandler(boolean b) {
super(false);
@Override
public void reportException(DCBindingContainer dCBindingContainer,
Exception exception) {
super.reportException(dCBindingContainer, exception);
}Am I doing anything wrong here?
hi Harry
See "28.10 Customizing Error Handling"
at http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/web_adv.htm#ADFFD1398
that says "... The exception error handler must have a default constructor, as shown in Example 28-27. ...".
success
Jan Vervecken
Similar Messages
-
Error while running DocumentOutbox handler class in content DB Dev kit
Hi,
I am able to compile the DocumentOutbox content handler class which comes with content DB Dev kit. But, when I run scriptdriver.sh, I am getting the following errors in the log file "RegisterDocumentOutbox.out".
Any help in resolving this would be appreciated
Next method: setDefaultScriptOperationsClass oracle.ifs.ecm.tools.script.AuditSpecificationOperations
Exception while invoking method 'setDefaultScriptOperationsClass oracle.ifs.ecm.tools.script.AuditSpecificationOperations' ; exception is:
java.lang.RuntimeException: Unable to construct operations instance
java.lang.RuntimeException: Unable to construct operations instance
at oracle.ifs.ecm.tools.script.EcmScriptDriver.setDefaultScriptOperationsClass(EcmScriptDriver.java:503)
at oracle.ifs.ecm.tools.script.EcmScriptOperations.setDefaultScriptOperationsClass(EcmScriptOperations.java:522)
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 oracle.ifs.ecm.tools.script.EcmScriptDriver.invokeMethod(EcmScriptDriver.java:431)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.run(EcmScriptDriver.java:257)
at oracle.ifs.ecm.tools.script.EcmDiffTest.main(EcmDiffTest.java:37)
elapsed time (ms) = 7
Next method: identifyByPath domain /oracle
Exception while invoking method 'identifyByPath domain /oracle' ; exception is:
java.lang.RuntimeException: Cannot register a null object (domain)
java.lang.RuntimeException: Cannot register a null object (domain)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.registerObject(EcmScriptDriver.java:972)
at oracle.ifs.ecm.tools.script.EcmScriptOperations.registerObject(EcmScriptOperations.java:9220)
at oracle.ifs.ecm.tools.script.EcmScriptOperations.identifyByPath(EcmScriptOperations.java:4889)
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 oracle.ifs.ecm.tools.script.EcmScriptDriver.invokeMethod(EcmScriptDriver.java:431)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.run(EcmScriptDriver.java:257)
at oracle.ifs.ecm.tools.script.EcmDiffTest.main(EcmDiffTest.java:37)
elapsed time (ms) = 69
Next method: defineAuditTypeListDefinition atl
Exception while invoking method 'defineAuditTypeListDefinition atl' ; exception is:
java.lang.RuntimeException: No such method with specified number of arguments (1)
java.lang.RuntimeException: No such method with specified number of arguments (1)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.invokeMethod(EcmScriptDriver.java:423)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.run(EcmScriptDriver.java:257)
at oracle.ifs.ecm.tools.script.EcmDiffTest.main(EcmDiffTest.java:37)
elapsed time (ms) = 0
Next method: addAuditType atl DOCUMENT_CREATED SUCCESS_ONLY
Exception while invoking method 'addAuditType atl DOCUMENT_CREATED SUCCESS_ONLY' ; exception is:
java.lang.RuntimeException: No such method with specified number of arguments (3)
java.lang.RuntimeException: No such method with specified number of arguments (3)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.invokeMethod(EcmScriptDriver.java:423)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.run(EcmScriptDriver.java:257)
at oracle.ifs.ecm.tools.script.EcmDiffTest.main(EcmDiffTest.java:37)
elapsed time (ms) = 1
Next method: addAuditType atl DOCUMENT_CREATED_AS_COPY SUCCESS_ONLY
Exception while invoking method 'addAuditType atl DOCUMENT_CREATED_AS_COPY SUCCESS_ONLY' ; exception is:
java.lang.RuntimeException: No such method with specified number of arguments (3)
java.lang.RuntimeException: No such method with specified number of arguments (3)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.invokeMethod(EcmScriptDriver.java:423)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.run(EcmScriptDriver.java:257)
at oracle.ifs.ecm.tools.script.EcmDiffTest.main(EcmDiffTest.java:37)
elapsed time (ms) = 3
Next method: addAuditType atl DOCUMENT_BECAME_VERSION SUCCESS_ONLY
Exception while invoking method 'addAuditType atl DOCUMENT_BECAME_VERSION SUCCESS_ONLY' ; exception is:
java.lang.RuntimeException: No such method with specified number of arguments (3)
java.lang.RuntimeException: No such method with specified number of arguments (3)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.invokeMethod(EcmScriptDriver.java:423)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.run(EcmScriptDriver.java:257)
at oracle.ifs.ecm.tools.script.EcmDiffTest.main(EcmDiffTest.java:37)
elapsed time (ms) = 0
Next method: addAuditType atl USER_APPLICATION_CONNECTED SUCCESS_ONLY
Exception while invoking method 'addAuditType atl USER_APPLICATION_CONNECTED SUCCESS_ONLY' ; exception is:
java.lang.RuntimeException: No such method with specified number of arguments (3)
java.lang.RuntimeException: No such method with specified number of arguments (3)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.invokeMethod(EcmScriptDriver.java:423)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.run(EcmScriptDriver.java:257)
at oracle.ifs.ecm.tools.script.EcmDiffTest.main(EcmDiffTest.java:37)
elapsed time (ms) = 1
Next method: defineAuditTargetSpecificationDefinition ats domain ALL_SUBITEMS
Exception while invoking method 'defineAuditTargetSpecificationDefinition ats domain ALL_SUBITEMS' ; exception is:
java.lang.RuntimeException: No such method with specified number of arguments (3)
java.lang.RuntimeException: No such method with specified number of arguments (3)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.invokeMethod(EcmScriptDriver.java:423)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.run(EcmScriptDriver.java:257)
at oracle.ifs.ecm.tools.script.EcmDiffTest.main(EcmDiffTest.java:37)
elapsed time (ms) = 0
Next method: defineAuditHandlerSpecificationDefinition ahs oracle.ifs.examples.handlers.DocumentOutbox 1H 00:30:00 true
Exception while invoking method 'defineAuditHandlerSpecificationDefinition ahs oracle.ifs.examples.handlers.DocumentOutbox 1H 00:30:00 true' ; exception is:
java.lang.RuntimeException: No such method with specified number of arguments (5)
java.lang.RuntimeException: No such method with specified number of arguments (5)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.invokeMethod(EcmScriptDriver.java:423)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.run(EcmScriptDriver.java:257)
at oracle.ifs.ecm.tools.script.EcmDiffTest.main(EcmDiffTest.java:37)
elapsed time (ms) = 0
Next method: createAuditSpecification DocOutboxSpec atl ats ahs "DocumentOutbox AuditSpecification"
Exception while invoking method 'createAuditSpecification DocOutboxSpec atl ats ahs "DocumentOutbox AuditSpecification"' ; exception is:
java.lang.RuntimeException: No such method with specified number of arguments (5)
java.lang.RuntimeException: No such method with specified number of arguments (5)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.invokeMethod(EcmScriptDriver.java:423)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.run(EcmScriptDriver.java:257)
at oracle.ifs.ecm.tools.script.EcmDiffTest.main(EcmDiffTest.java:37)
elapsed time (ms) = 0
Next method: showAuditSpecification DocOutboxSpec
Exception while invoking method 'showAuditSpecification DocOutboxSpec' ; exception is:
java.lang.RuntimeException: unknown object tag: DocOutboxSpec
java.lang.RuntimeException: unknown object tag: DocOutboxSpec
at oracle.ifs.ecm.tools.script.EcmScriptDriver.lookupObject(EcmScriptDriver.java:857)
at oracle.ifs.ecm.tools.script.EcmScriptOperations.lookupObject(EcmScriptOperations.java:9140)
at oracle.ifs.ecm.tools.script.EcmScriptOperations.showAuditSpecification(EcmScriptOperations.java:1572)
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 oracle.ifs.ecm.tools.script.EcmScriptDriver.invokeMethod(EcmScriptDriver.java:431)
at oracle.ifs.ecm.tools.script.EcmScriptDriver.run(EcmScriptDriver.java:257)
at oracle.ifs.ecm.tools.script.EcmDiffTest.main(EcmDiffTest.java:37)
elapsed time (ms) = 1
Thanks in AdvanceA parent folder must have set workflow configuration to be final - thus preventing any sub-folders from changing the policy.
Work your way through the various parent folders (via Web UI), and ensure "Do not allow subfolders to modify this operation's workflow settings" for the particular workflow/operation combination is not set.
Matt. -
I get an error while restoring, error unknown (1015) someone can help me with this problem?
is there a way to restore to the original? it is a fiends I phone and it was jailbroken, and it is giving her many problems, I look over the apple information but there is no steps to follow to fix this. do you have any idea
-
"Error while printing" error in Address Book
When I attempt to print a list of address book contacts in Address Book.app (both as a PDF or to a printer), I receive an error message simply stating "Error while printing." I've repaired my permissions and tried deleting the preferences for Address Book. How can I fix this and print out the list?
After discovering that my problem was more general (affecting the whole system, and not just Address Book), I looked in the Printer forum here in the discussions and referred to this one:
http://discussions.apple.com/thread.jspa?messageID=1264657�
I attempted to do as one user suggested and replace the 'libConverter.dylib' file. It did not work, and I returned the original 'libConverter.dylib' file to its folder. Magically, printing works now. Seems like it just needed to reset itself. -
Error while saving Prod order - "Class for order classification"
Hi all
I am getting the following error while saving the Production Order -
"Class for order classification has not been generated".
I went into the custiomization settings and tried to generate the class. But I get another error "No batch input data for screen SAPMSSY3 0131". The line items are also all in red and green.
Any help would be highly appreciated.
Thanks in advance.
HrishiSolved
-
View not copied or enhanced with wizard Error while creating Event Handler method in Z Component
Hello Friends,
In one Z Component (Custom Component), in one of the views, while creating event handler, it gave me error message that view not copied or enhanced with wizard.
I am aware that in Standard Component, if we want to create the event handler method then we need to first Enhance the Component and then we need to enhance the view.
But, in the Z Component (Custom Component), how to create event handler method in one of the views as while creating event handler method i am getting view not copied or enhanced with wizard error.Hi,
Add a method in views impl class with naming convention eh_on__* with htmt and html_ex parameters. I dont have have the system right now. Please check any existing event import export parameters.
Check out do handle event method in the same class.
Redefine that method. Call that event method in this handle method. See existing code for reference.
Attach that event to the button on click event in .htm page.
Regards,
Bhushan -
Error while compile .Java to .class
I am new in java card. I have some problem when compile java card applet.
1. I installed j2sdk1.4.2_07 and java_card_kit- 2_2_2 to build a sample java card. I set the environment as:
@echo off
set JC_HOME=C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2
set JAVA_HOME=c:\j2sdk1.4.2_07
set PATH=.;%JC_HOME%\bin;%JAVA_HOME%\bin;%PATH%
I created a java applet and saved in C\STCard, and I use windows command to compile, the command is:
c:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\samples>javac -g -classpath c:\STCard;..\lib\api.jar;..lib\installer.jar c:\STCard\*.java
but the error is: "cannot access javacard.framework.APDU"
What am I wrong?
2. I use eclipse 3.3.2, eclipse jcde 0.1, java_card_kit-2_2_2, jdk1.6.0 to compile java card applet. The compilation from .java to .class was no problem, but from the .class to .cap has problem:
java com.sun.javacard.converter.Converter -config .\converter2.opt
error: stcard.STCard: unsupported class file format of version 50.0.
What should I do to convert from .class to .cap?
Thx allI have a typically problem , I am a student and learning core java am just a beggineer in java,i have sucessfully installed my JavaEE1.5 software on my computer but have got a problem while compiling my Java programs ,while passing the commands in my command prompt i am encounteering a problem ,am geeting an error message in my command prompt" 'javac' is not recoginized as an internal or external command ,operable program or batch file".i had also tried my own software cd of JavaEE1.5 version and installed at others computers it is running sucessfully but can i know Why it is not geeting in to my Pc & giving compilation error while compiling my java programs. so kindly sujjest me my remedy of my problem.
-
Error while mapping a Java class for a Search Dialog Box component
Hi,
Scenario : There is PAR which I have developed for the sorting options for a Search Component set to be used in Km Search Iview.
I have copied this PAR from a similiar search functionality and customised the same.
Problem: When I deploy the PAR and then map this class for the sort options while creating a New Search Dialog box :
I get the following "Class not found error" ... Please can you let me know what could be the problem.
Any help would be appreciated here as I have tried all the possibilities to solve the problem.
Regards,
Vaishali.I modified the xml file as described in the forum.But the error persists.
One interesting thing is:
When I create model after restarting the NDS,I get the following error:
org.eclipse.swt.SWTException: Failed to execute runnable <i>(java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
JCO.nativeInit(): Could not initialize dynamic link library librfc. Found version "620.0.1237" but required at least version "620.0.1374".)</i>
I get the NoClassDef found error next time onwards,
Where do I get the 620.0.1374 version of librfc?
thanx.
Bhupesh -
Weblogic 8.1 :: Getting error while generating Client java class from WSDL
Hi,
For SOAP webservice, I am using ant script to generate java client from WSDL but getting below error. Please inform if any suggestion to resolve this.
Also let me know if any other alternative to generate client java code.
Ant script:
===========
<project name="project" default="generateClientJar">
<property file="build.property">
</property>
<taskdef name="clientgen" classname="weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask">
<classpath>
<fileset dir="${build_lib.dir}" includes="*.jar" />
</classpath>
</taskdef>
<path id="compile_path">
<pathelement location="C:/jar/wls-api.jar" />
<pathelement location="${build_lib.dir}/weblogic.jar" />
<pathelement location="C:/jar/webserviceclient+ssl.jar" />
<pathelement location="D:/Java_Src_10.1.0/nextgen_arch/wlpatch/webservices.jar" />
</path>
<target name="generateClientJar" depends="generate.client">
<clientgen wsdl="${wsdl.file}" classpathref="compile_path"
serviceName="${service.name}"
packageName= "${client.pkg}"
clientJar="${ws.client.name}" />
</target>
<target name="generate.client" description="Generate web-services client">
<property name="wsdl.file" value="${sms.wsdl.file}"/>
<property name="client.pkg" value="${sms.client.pkg}"/>
<property name="ws.client.name" value="${ws.sms.name}"/>
<property name="service.name" value="${sms.service.name}"/>
</target>
</project>
build.property file
===========
base=C:/SMS
lib=E:/jar_path
sms.wsdl.file=${base}/SMS.wsdl
sms.client.pkg=com.db.dbdi.gtbportal.sms.client
ws.sms.name=${lib}/ws_SmsService_client.jar
sms.service.name=SMSService
build_lib.dir = E:/jar_path
Error log:
================
Buildfile: D:\Java_Src_10.1.0\ant\build_weblogic8.xml
generate.client:
generateClientJar:
[clientgen] Generating client jar for C:/SMS/SMS.wsdl ...
[clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort.java:15: parameters is already defined in sendSMS(com.db.portal.webservices.sms.SendSMS,com.db.portal.webservices.sms.holders.SendSMSResponseHolder)
[clientgen] public void sendSMS(com.db.portal.webservices.sms.SendSMS parameters, com.db.portal.webservices.sms.holders.SendSMSResponseHolder parameters)
[clientgen] ^
[clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort.java:21: parameters is already defined in getStatus(com.db.portal.webservices.sms.GetStatus,com.db.portal.webservices.sms.holders.GetStatusResponseHolder)
[clientgen] public void getStatus(com.db.portal.webservices.sms.GetStatus parameters, com.db.portal.webservices.sms.holders.GetStatusResponseHolder parameters)
[clientgen] ^
[clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort_Stub.java:20: parameters is already defined in sendSMS(com.db.portal.webservices.sms.SendSMS,com.db.portal.webservices.sms.holders.SendSMSResponseHolder)
[clientgen] public void sendSMS(com.db.portal.webservices.sms.SendSMS parameters, com.db.portal.webservices.sms.holders.SendSMSResponseHolder parameters)
[clientgen] ^
[clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort_Stub.java:39: parameters is already defined in getStatus(com.db.portal.webservices.sms.GetStatus,com.db.portal.webservices.sms.holders.GetStatusResponseHolder)
[clientgen] public void getStatus(com.db.portal.webservices.sms.GetStatus parameters, com.db.portal.webservices.sms.holders.GetStatusResponseHolder parameters)
[clientgen] ^
[clientgen] Note: C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSService.java uses or overrides a deprecated API.
[clientgen] Note: Recompile with -deprecation for details.
[clientgen] 4 errors
*[*clientgen] java.io.IOException: Compiler failed executable.exec**
[clientgen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
[clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
[clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
[clientgen] at weblogic.webservice.tools.build.internal.CompilerHelper.compileFiles(CompilerHelper.java:80)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compileStubs(ClientGenImpl.java:627)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.generateStub(ClientGenImpl.java:572)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(ClientGenImpl.java:409)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:340)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:351)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:208)
[clientgen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[clientgen] at org.apache.tools.ant.Task.perform(Task.java:364)
[clientgen] at org.apache.tools.ant.Target.execute(Target.java:341)
[clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[clientgen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[clientgen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[clientgen] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
BUILD FAILED
D:\Java_Src_10.1.0\ant\build_weblogic8.xml:34: weblogic.webservice.tools.build.WSBuildException: Compiler failed executable.exec - with nested exception:
[java.io.IOException: Compiler failed executable.exec]
Total time: 1 minute 12 secondsHi,
Can u Please post the WSDL..here. I remember long back i resolved this kind of issue...when i was getting "*parameters is already defined in - - -*" while using ClientGen.
Once i will get the WSDL may be i can recall it...
If u have any problem in Posting the WSDL..in Forums .. then let me know I will send my E-Mail Address...
As far as i remember ..it usually happens when we Run ClientGen task of WLS81 ON the WebService/WSDL generated by WebLogic 9.x or Above. Please let me know if this is the Case with you as well... . I remember there is a Patch for it...for WLS8 ClientGen task...I dont remember the Patch Number Exactly.
Just For testing:
Just Use WLS9.x ClientGen task On the Same WSDL
<taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" />
I am sure you will not see this issue... because the issue is there only with WLS8 Clientgen...
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
Edited by: Jay SenSharma on Jan 8, 2010 4:32 PM
Edited by: Jay SenSharma on Jan 8, 2010 4:34 PM -
Error while activating the Implementation class of a BADI ?
Hello,
I am trying to activate a BADIi but its implementation class(ZCL_IM_DSD_ADD_CUST_IN_DNL) is not getting activated and giving the following object error on activation.
CPUB ZCL_IM_DSD_ADD_CUST_IN_DNL
and it says that "INCLUDE report "ZCL_IM_DSD_ADD_CUST_IN_DNL====CL" not found , where "DSD_ADD_CUST_IN_DNL" is the Impl. name of the definition "/DSD/ME_BAPI" implementing the interface "/DSD/IF_EX_ME_BAPI".
what am i missing here. Big time help will be extremely appreciated ..
Thanks a ton.Hi,
I had a quick qn,
Normally, the implementation name should start with Z. Can you create using the name 'DSD_ADD_CUST_IN_DNL' ? or are you using any access key (SSCR)?
For the infm, I have just tried to create one Z implementation in my system and it works fine. Could you please delete the current implementation and try it once again ?
Regards,
Selva K. -
Error while calling a super class public method in the subclass constructor
Hi ,
I have code like this:
CLASS gacl_applog DEFINITION ABSTRACT.
PUBLIC SECTION.
METHODS:
create_new_a
IMPORTING pf_obj TYPE balobj_d
pf_subobj TYPE balsubobj
pf_extnumber TYPE string
EXPORTING pfx_log_hndl TYPE balloghndl
EXCEPTIONS error
ENDCLASS.
CLASS gacl_applog IMPLEMENTATION.
METHOD create_new_a.
DATA: ls_log TYPE bal_s_log.
Header aufsetzen
MOVE pf_extnumber TO ls_log-extnumber.
ls_log-object = pf_obj.
ls_log-subobject = pf_subobj.
ls_log-aluser = sy-uname.
ls_log-alprog = sy-repid.
ls_log-aldate = sy-datum.
ls_log-altime = sy-uzeit.
ls_log-aldate_del = ls_log-aldate + 1.
CALL FUNCTION 'BAL_LOG_CREATE'
EXPORTING
i_s_log = ls_log
IMPORTING
e_log_handle = pfx_log_hndl
EXCEPTIONS
OTHERS = 1.
IF ( sy-subrc NE 0 ).
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
RAISING error.
ENDIF.
ENDMETHOD.
CLASS gcl_applog_temp DEFINITION INHERITING FROM gacl_applog.
PUBLIC SECTION.
DATA: log_hndl TYPE balloghndl READ-ONLY
, t_log_hndl TYPE bal_t_logh READ-ONLY
METHODS: constructor
IMPORTING pf_obj TYPE balobj_d
pf_subobj TYPE balsubobj
pf_extnumber TYPE string
EXCEPTIONS error
, msg_add REDEFINITION
, display REDEFINITION
ENDCLASS.
CLASS gcl_applog_temp IMPLEMENTATION.
METHOD constructor.
CALL METHOD create_new_a
EXPORTING pf_obj = pf_obj
pf_subobj = pf_subobj
pf_extnumber = pf_extnumber
IMPORTING pfx_log_hndl = log_hndl.
IF ( sy-subrc NE 0 ).
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
RAISING error.
ENDIF.
ENDMETHOD.
A public method of Super class has been called from the constructor of the sub class. we are getting the syntax error :
' In the constructor method, you can only access instance attributes, instance methods, or "ME" after calling the constructor of the superclass '
Can you please suggest how to change the code with out affecting the functioanlity.
Thank you ,
Lakshmi.Hi,
Call that method by instance of Subclass. OR
SUPER-->method.
Read very useful document
Constructors
Constructors are special methods that cannot be called using CALL METHOD. Instead, they are called automatically by the system to set the starting state of a new object or class. There are two types of constructors - instance constructors and static constructors. Constructors are methods with a predefined name. To use them, you must declare them explicitly in the class.
The instance constructor of a class is the predefined instance method CONSTRUCTOR. You declare it in the public section as follows:
METHODS CONSTRUCTOR
IMPORTING.. [VALUE(]<ii>[)] TYPE type [OPTIONAL]..
EXCEPTIONS.. <ei>.
and implement it in the implementation section like any other method. The system calls the instance constructor once for each instance of the class, directly after the object has been created in the CREATE OBJECT statement. You can pass the input parameters of the instance constructor and handle its exceptions using the EXPORTING and EXCEPTIONS additions in the CREATE OBJECT statement.
The static constructor of a class is the predefined static method CLASS_CONSTRUCTOR. You declare it in the public section as follows:
CLASS-METHODS CLASS_CONSTRUCTOR.
and implement it in the implementation section like any other method. The static constructor has no parameters. The system calls the static constructor once for each class, before the class is accessed for the first time. The static constructor cannot therefore access the components of its own class.
Pls. reward if useful.... -
Error while activating a persistent class
Hi,
I have created a persistent class and included fields of the custom table in persistent mapping.
But when I tried to activate the class I am getting the following error
Method IF_OS_FACTORY~CREATE_TRANSIENT has already been implemented.
Pls suggest how this can be resolved.
Regards,
SavithaHi Savitha,
By the error I can deduce that there are multiple implementations done for the method CREATE_TRANSIENT
of the interface IF_OS_FACTORY which is not recommended..
So please check the Where used list of that method or interface so that you could come to a conclusion.
Hope this would help you.
Good luck
Narin -
Error while calling badi using class cl_exithandler with getInstance
hi experts...we are using SAP ECC 6.0 version
I have created BADI Def and Implementation using se18 and se19 with some interface methods..
Problem:
I'm writing a report to call that using class CL_EXITHANDLER but it shows an Exception..
" Exception condition "DATA_INCONS_IN_EXIT_MANAGEM" raised."
Report example:
DATA: CL_EXIT TYPE REF TO CL_EXITHANDLER,
IF_USER_INSTANCE TYPE REF TO ZIF_EX_USER_MAILID1.
CALL METHOD cl_exithandler=>get_instance
EXPORTING
EXIT_NAME = 'ZBADI_USERMAIL_DEF'
* NULL_INSTANCE_ACCEPTED = SEEX_FALSE
* IMPORTING
* ACT_IMP_EXISTING =
CHANGING
instance = IF_USER_INSTANCE
* EXCEPTIONS
* NO_REFERENCE = 1
* NO_INTERFACE_REFERENCE = 2
* NO_EXIT_INTERFACE = 3
* CLASS_NOT_IMPLEMENT_INTERFACE = 4
* SINGLE_EXIT_MULTIPLY_ACTIVE = 5
* CAST_ERROR = 6
* EXIT_NOT_EXISTING = 7
* DATA_INCONS_IN_EXIT_MANAGEM = 8
* others = 9
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
so i found that all EXITs are in the Table " SXS_ATTR"
but what i have created BADI has not exist in that Table so that it gets an Exception(while i'm debugging found this)
so kindly tel me whats problem my BADI "ZBADI_USERMAIL_DEF" not maintained that Database table
but in Implentation class its working fine..yes i have created badi in Enhancement spot so regarding what u told i'm using GET BADI and CALL BADI
DATA:W_HANDLE TYPE REF TO ZBADI_USERMAIL_DEF.
GET BADI W_HANDLE.
CALL BADI w_handle->get_user_mailid
EXPORTING
uname = UNAME
changing
mailid = W_EMAIL
WRITE: / 'UNAME:',UNAME.
WRITE: / 'EMAIL ID',W_EMAIL.
CALL BADI w_handle->get_user_address_data
EXPORTING
uname = UNAME
changing
addrdata = W_ADDRDATA
IF W_ADDRDATA IS NOT INITIAL.
WRITE: / W_ADDRDATA-BNAME,W_ADDRDATA-NAME1,W_ADDRDATA-NAME2,W_ADDRDATA-TELPR,W_ADDRDATA-TELNR,W_ADDRDATA-TEL01.
ENDIF.
but here BADI are not called
Interface implementation class methods not executed so kindly tel me whats problem here.
Thanks in Advance
sivakumar -
Error while passing parameter fot class method
Hi abapers,
i am trying to do alv grdi dispaly using class cl_gui_alv_grid. i am getting error "ITAB1" is not type-compatible with formal parameter 'IT_OUTTAB'.
i attached code here.
Internal Tables
types: begin of itab,
matnr type mara-matnr,
maktx type makt-maktx,
end of itab.
data: itab1 like itab.
DATA: alvgrid type ref to cl_gui_alv_grid.
CALL METHOD ALVGRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_BUFFER_ACTIVE =
I_BYPASSING_BUFFER =
I_CONSISTENCY_CHECK =
I_STRUCTURE_NAME = 'ITAB'
IS_VARIANT =
I_SAVE =
I_DEFAULT = 'X'
IS_LAYOUT =
IS_PRINT =
IT_SPECIAL_GROUPS =
IT_TOOLBAR_EXCLUDING =
IT_HYPERLINK =
IT_ALV_GRAPHICS =
IT_EXCEPT_QINFO =
CHANGING
IT_OUTTAB = itab1.
IT_FIELDCATALOG =
IT_SORT =
IT_FILTER =
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
others = 4
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
please help me.Try this -
CALL METHOD ALVGRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_BUFFER_ACTIVE =
I_BYPASSING_BUFFER =
I_CONSISTENCY_CHECK =
I_STRUCTURE_NAME = 'ITAB'
IS_VARIANT =
I_SAVE =
I_DEFAULT = 'X'
IS_LAYOUT =
IS_PRINT =
IT_SPECIAL_GROUPS =
IT_TOOLBAR_EXCLUDING =
IT_HYPERLINK =
IT_ALV_GRAPHICS =
IT_EXCEPT_QINFO =
CHANGING
IT_OUTTAB = <b>itab1[].</b>
IT_FIELDCATALOG =
IT_SORT =
IT_FILTER =
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
others = 4
Cheers -
error: "You do not have sufficient privileges to perform the requested action."
The resolution on the other thread did not work for me. What could be wrong? I have installed Adobe Flash Media Live before without an issue but after I reformatted my PC I keep receiving this. Thanks in advance.I've solved it,
Change the permissions on the file (sudo chmod 755 httpd.conf)
then
sudo nano httpd.conf
and it works fine
thanks alot for your help
Maybe you are looking for
-
Error ' Quantity exceeds quantity in PO' in service entry sheet creation.
Hi, I am getting error "Quantity entered 7,000 exceeds quantity 5,000 in purchase order' , Message no. SE363" while creating service entry sheet PO Quantity - 1 AU Service quantity - 5 HR in service entry sheet creation i am giving 6HR instead of w
-
Display wakes when Remote iPhone app connects to iTunes
Ever since I installed Lion, I've noticed that now whenever I use the Remote app on my iPhone to connect to my iTunes library, it wakes my iMac's display. When I had Snow Leopard installed, the display would remain asleep, no matter what actions I to
-
Tascam FW 1884 solution...
Hi guys, this may or may not help for those of you with issues with the Tascam FW1884 Mixing desk/control surface/audio interface. I use mine for my live stage show, so I need it to be as reliable as possible. I went down the whole route under 10.4 o
-
How to present a checkbox on editable grid
Dear The Expert, I am learning APEX 4, I have a field named "Active" char(1), it only contained: Y or N how to present it as checkbox (Y as checked or N as unchecked) on the editable grid ? please advise many thanks in advance Regards Luc Edited by:
-
Increasing strength and time of vibration notifications
Help!! I used to own a blackberry and am thinking of returning to it because of the flash and vibrate notifications. I never hear or feel the vibration notificaitions on the iphone 4 and there is no flash option. Is there anything I can do to increas