Java.lang.reflect.UndeclaredThrowableException while running client

Hi
All I did is that I created and deployed a very simple Stateless session EJB having
one remote method as follows
String getProducerName(String)
Deployment seems to be okay as I can see the deployed EJB, access the client.jar,
But when I am calling above mentioned method, I receive following errors.
Please help
Thanks
Ratan...
Scanner has tokens:
[OPENTAGBEGIN]
[NAME] (META)
[NAME] (NAME)
[CHARDATA] (GENERATOR)
[NAME] (CONTENT)
[CHARDATA] (WebLogic htmlKona WebLogic Server 6.1 SP2 12/18/2001
11:13:46 #
154529 )
[TAGEND]
[SPACE] (
[CLOSETAGBEGIN]
[NAME] (HEAD)
[TAGEND]
[SPACE] (
[OPENTAGBEGIN]
[NAME] (BODY)
[NAME] (bgcolor)
[CHARDATA] (white)
[NAME] (alink)
[CHARDATA] (#397F70)
[NAME] (link)
[CHARDATA] (#640078)
[NAME] (vlink)
[CHARDATA] (#DE7E00)
[TAGEND]
[SPACE] (
[OPENTAGBEGIN]
[NAME] (FONT)
[NAME] (FACE)
E7E00">
<FONT FACE=e <-- bad character
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException: Error
at line:
8 col:13 Line:8 ''' expected, got char[72]
at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXEle
mentFactory.java:60)
at weblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:130)
at weblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream.j
ava:46)
at weblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.jav
a:258)
at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.jav
a:171)
at weblogicx.xml.stream.XMLEventStreamBase.startElement(XMLEventStreamBase.java:1
64)
at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:86)
at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:464)
at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:430)
at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
at weblogic.soap.wsdl.WebServiceInvocationHandler.invoke(WebServiceInvocationHand
ler.java:31)
at $Proxy0.getProducerName(Unknown Source)
at WSClient.main(WSClient.java:27)
[WSClient.java]

Hi
Please ignore earlier message.
I could figure out the problem, it was due to miss match/Typo in URI and message
was not revealing it. until I scanned through and compared with Examples.
Thanks
N'Joy
Ratan...
"Ratan" <[email protected]> wrote:
>
>
>
Hi
All I did is that I created and deployed a very simple Stateless session
EJB having
one remote method as follows
String getProducerName(String)
Deployment seems to be okay as I can see the deployed EJB, access the
client.jar,
But when I am calling above mentioned method, I receive following errors.
Please help
Thanks
Ratan...
Scanner has tokens:
[OPENTAGBEGIN]
[NAME] (META)
[NAME] (NAME)
[CHARDATA] (GENERATOR)
[NAME] (CONTENT)
[CHARDATA] (WebLogic htmlKona WebLogic Server 6.1 SP2 12/18/2001
11:13:46 #
154529 )
[TAGEND]
[SPACE] (
[CLOSETAGBEGIN]
[NAME] (HEAD)
[TAGEND]
[SPACE] (
[OPENTAGBEGIN]
[NAME] (BODY)
[NAME] (bgcolor)
[CHARDATA] (white)
[NAME] (alink)
[CHARDATA] (#397F70)
[NAME] (link)
[CHARDATA] (#640078)
[NAME] (vlink)
[CHARDATA] (#DE7E00)
[TAGEND]
[SPACE] (
[OPENTAGBEGIN]
[NAME] (FONT)
[NAME] (FACE)
E7E00">
<FONT FACE=e <-- bad character
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException:
Error
at line:
8 col:13 Line:8 ''' expected, got char[72]
at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXEle
mentFactory.java:60)
at weblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:130)
at weblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream.j
ava:46)
at weblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.jav
a:258)
at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.jav
a:171)
at weblogicx.xml.stream.XMLEventStreamBase.startElement(XMLEventStreamBase.java:1
64)
at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:86)
at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:464)
at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:430)
at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
at weblogic.soap.wsdl.WebServiceInvocationHandler.invoke(WebServiceInvocationHand
ler.java:31)
at $Proxy0.getProducerName(Unknown Source)
at WSClient.main(WSClient.java:27)

Similar Messages

  • Java.lang.reflect.UndeclaredThrowableException

    Hi All,
    I've created few xsds under the schema package and I'm populating the xsd dataobject un a process file. One of the attributes is an array and when I try to populate this array, I'm getting an exception (mentioned below). It does work fine when I don' t populate that array attribute and populate all non array attributes. There is no problem with the xsds as I've created the jar file using XMLbeans and tested the same code in Eclipse and it works fine but when I test the same code in bea workshop it just doesn't let me populate that array attribute. I'm sure there is some problem with the Weblogic understanding of the xsd objects but I don't have any clue of its solution. I'm running bea8.1 sp5 integration server.
    When I did a printStackTrace this is what I got. Also please see the bold line, it says Unknown Source for the array object. There is no error in the xsds and I checked the Schema.jar file using a decompiler. Everything looks good to me.
    java.lang.reflect.UndeclaredThrowableException
    at $Proxy22.setCustomerAccntArray([Lcom/qwest/billing/cdeSchema/CustomerAccntNumberType;)V(Unknown Source)[/b]
    at processes.orchestratorProcess.populateAggregationRequest()V(orchestratorProcess.jpd:190)
    at processes.orchestratorProcess_wf$ImplPerform3.invoke(Lcom/bea/wli/bpm/runtime/ProcessState;)V(orchestratorProcess_w
    f.java:50)
    at com.bea.wli.bpm.runtime.Perform.execute(Lcom/bea/wli/bpm/runtime/ProcessState;)Lcom/bea/wli/bpm/runtime/Activity;(P
    erform.java:32)
    at com.bea.wli.bpm.runtime.Receive.messageDelivery(Lcom/bea/wli/bpm/runtime/ProcessState;[Ljava/lang/Object;)Ljava/lan
    g/Object;(Receive.java:91)
    at com.bea.wli.bpm.runtime.Receive.messageDeliveryAction(Lcom/bea/wli/bpm/runtime/ProcessState;[Ljava/lang/Object;)Lja
    va/lang/Object;(Receive.java:71)
    at com.bea.wli.bpm.runtime.ProcessState.processMessage(I[Ljava/lang/Object;Z)Ljava/lang/Object;(ProcessState.java:176)
    Please help me out with the same.Thanks,
    Saurabh

    Got the solution. The line in BOLD was missing. It allocates the memory for the object before setting the custAccntNumType object into the Array.
    CustomerAccntNumberListType accntNumberListType = CustomerAccntNumberListType.Factory.newInstance();
    CustomerAccntNumberType[] cAccntNumberTypesArr = new CustomerAccntNumberType[5];
    for (int i = 0; i < 5; i++) {
    CustomerAccntNumberType custAccntNumType = CustomerAccntNumberType.Factory.newInstance();
    custAccntNumType.setCustomerAccntNumber("Saurabh" + i);
    custAccntNumType.setProrationEventId(i);
    cAccntNumberTypesArr[i] = custAccntNumType;
    try {              
    accntNumberListType.addNewCustomerAccnt();
    accntNumberListType.setCustomerAccntArray(i,custAccntNumType);
    } catch(Exception e) {
    System.out.println("Cause of the exepion " +e.getCause());
    e.printStackTrace();
    //throw e;
    }

  • Java.lang.reflect.InvocationTargetException while executing xjc.bat.

    Hi , After installing the latest Webservice pack ,
    i'am trying to run the Sample application in examples directory .
    ( JAXB ).while running the XJC command i am getting follwing exception .
    I tried to run the same command by pointing the Classpath to JDK 1.3 as well as Jsdk 1.4 but no luck .
    Can any one tell me what's wrong with my setup any help is appriciated .
    Thanks in advance,
    Abhijit Choudhary .
    X:\Abhijit\JAXB\jaxb-1.0\examples\users-guide\SampleApp1>xjc po.xsd -p primer.po
    parsing a schema...
    compiling a schema...
    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:324)
    at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    Caused by: java.lang.InternalError: internal error: SHA-1 not available.
    at sun.security.provider.SecureRandom.init(SecureRandom.java:86)
    at sun.security.provider.SecureRandom.<init>(SecureRandom.java:65)
    at java.security.SecureRandom.<init>(SecureRandom.java:131)
    at com.sun.crypto.provider.SunJCE.<clinit>(DashoA6275)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:306)
    at java.lang.Class.newInstance(Class.java:259)
    at java.security.Provider.loadProvider(Provider.java:153)
    at java.security.Security$3.run(Security.java:349)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.Security.loadOneMoreProvider(Security.java:346)
    at java.security.Security.getEngineClassName(Security.java:557)
    at java.security.Security.getEngineClassName(Security.java:594)
    at java.security.Security.getImpl(Security.java:1043)
    at java.security.MessageDigest.getInstance(MessageDigest.java:120)
    at java.io.ObjectStreamClass.computeDefaultSUID(ObjectStreamClass.java:1568)
    at java.io.ObjectStreamClass.access$100(ObjectStreamClass.java:45)
    at java.io.ObjectStreamClass$1.run(ObjectStreamClass.java:169)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.io.ObjectStreamClass.getSerialVersionUID(ObjectStreamClass.java:166)
    at java.io.ObjectStreamClass.writeNonProxy(ObjectStreamClass.java:553)
    at java.io.ObjectOutputStream.writeClassDescriptor(ObjectOutputStream.java:591)
    at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1142)
    at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1100)
    at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1179)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050)
    at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    at com.sun.codemodel.fmt.JSerializedObject.<init>(JSerializedObject.java:27)
    at com.sun.tools.xjc.generator.ObjectFactoryGenerator.generate(ObjectFactoryGenerator.java:290)
    at com.sun.tools.xjc.generator.ObjectFactoryGenerator.<init>(ObjectFactoryGenerator.java:111)
    at com.sun.tools.xjc.generator.SkeletonGenerator.<init>(SkeletonGenerator.java:114)
    at com.sun.tools.xjc.generator.SkeletonGenerator.generate(SkeletonGenerator.java:92)
    at com.sun.tools.xjc.Driver.generateCode(Driver.java:728)
    at com.sun.tools.xjc.Driver.run(Driver.java:423)
    at com.sun.tools.xjc.Driver._main(Driver.java:113)
    at com.sun.tools.xjc.Driver.access$000(Driver.java:77)
    at com.sun.tools.xjc.Driver$1.run(Driver.java:93)

    HI,
    I also got the same problem. It were throwing the java.lang.reflect.InvocationTargetException while the running xjc.bat from <jaxb installed dir>\bin\ and refering the schema through full path.
    I am current running with j2sdk1.4.1_01 and jwsdp1.1.
    The solution which worked out for me was
    Just go to directory where you saved the xml schema file(.xsd file).just modify the System path to refer xjc.bat and taht's it.
    Run the xjc with XmlSchema file name with output package name and target directory like follows:
    xjc "XmlSchema.xsd" -d <targetdirectory> -p <packagename>
    Hope this will help
    Regards,
    Atul

  • Java.lang.reflect.UndeclaredThrowableException on deployment

    I am trying to deploy very simple web app and on start up I got this exception java.lang.reflect.UndeclaredThrowableException.
    My web.xml has <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
    2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> as header.If I change this to
    point to version 2.2 everything is OK.I am running WLS6.1sp2.
    Can somene shed some light on this for me?
    Thanks

    Note that WebLogic 6.1 doesn't implement final version of Servlet 2.3 spec,
              and javax.servlet.Filter shipped with WebLogic is different from one in the
              final spec. Try to recompile your filter with weblogic.jar in the classpath
              and add missing methods.
              JM <[email protected]> wrote:
              > I am getting:
              > <Error deploying application .\config\cmsdata\applications\cms-ear.ear:
              > java.lang.reflect.UndeclaredThrowableException>
              > No stack trace is displayed.
              > If I remove the following from the descripor, everything works fine:
              > <filter>
              > <filter-name>multipartFilter</filter-name>
              > <filter-class>com.oreilly.servlet.MultipartFilter</filter-class>
              > </filter>
              > <filter-mapping>
              > <filter-name>multipartFilter</filter-name>
              > <url-pattern>/*</url-pattern>
              > </filter-mapping>
              > Server version is 6.1 SP2.
              > Please, help!
              Dimitri
              

  • Error deploying application - java.lang.reflect.UndeclaredThrowableException

    Hi! I use WebLogic Server 6.1 SP2 on SuSE Linux platform.
    I tried to install a new EJB application. The server has showed "Receiving file...uploadhas
    completed, now installing... done" on screen.
    But I found that there has an "error deploying application - java.lang.reflect.UndeclaredThrowableException"
    on the server log. (Pls see details on the attached file)
    How to solve it?
    [Exception.txt]

    Karpoor,
    Can you post the stacktrace please?
    Ravi Akella.
    Karpoor wrote:
    I am newt to EJB I have been trying to deploy this stateless session
    bean onto the server weblogic 6.1 I have been getting this error
    error deploying Application
    java.lang.reflect.undeclaredThrowableException
    kindly do reply about how to solve this error
    thankx for the same.
    karpoor

  • Java.lang.reflect.InvocationTargetException on FCS Client start

    Hi,
    I've searched the Google and elsewhere but I haven't been able to find out about this error - java.lang.reflect.InvocationTargetException
    The client downloads and installs fine. Then when it starts, it asks for a certificate verification and then kicks up this error and dies.
    This is on a 17" iMac G5 with 10.4.11 and the Java update 6 installed.
    The FCS client works great on the Microsoft Windows Vista machine we have here, as well as other 10.4 apple machines, so I'm pretty sure it's not a network or server issue.
    Any help or guidance would be appreciated. TIA.

    Clear JAVA Caches.
    Try this:
    1) Go to Applications >Utilities > Java > and startup Java Preferences
    2) Under General Tab, go down to Temporary Internet Files section and click "Settings..." button.
    3) In the Temporary Files Settings window, click the "Delete Files.." button. Click Ok and quit application.
    4) Download your FCS Java Client Application again from your browser (http:// YOUR.IP.ADDRESS/finalcutserver) and install as usual.
    Good Luck!
    Message was edited by: isazaly

  • "java.lang.NoClassDefFoundError" error while run t-code SXMB_IFR in XI

    Hi
    When I am trying to run t-code <b>SXMB_IFR</b> in Xi it give me below error.
    <b>Exception Details
    Exception class: java.lang.NoClassDefFoundError
    Message
    java.lang.NoClassDefFoundError
    Stacktrace
    Thrown:
    java.lang.NoClassDefFoundError: null
         at com.sap.aii.ibrep.server.transport.api.RepTransportServiceStartup.startupIbrepTransportServices(RepTransportServiceStartup.java:22)
         at com.sap.aii.ibrep.server.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:426)
         at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:374)
         at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:201)
         at jsp_Main1172666584171._jspService(jsp_Main1172666584171.java:21)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:467)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:181)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         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:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)</b>
    Reg,
    Hiren Patel

    Hi Hiren,
       Check these threads:
    Problem starting SXMB_IFR and J2EE Engine
    java.lang.NoClassDefFoundError
    Regards,
    Subhasha Ranjan

  • "java.lang.NumberFormatException" error while running custom BIP report

    Hi,
    When we are running a custom BIP report, it is completing in ERROR at times and running Succesfully at times for the same set of parameters.
    Please let us know the solution if any one faced similar kind of an issue.
    Below is the log file when the program errors out:
    Calling XDO Data Engine...
    java.lang.NumberFormatException: For input string: "000</UIN><ACC>726030</ACC><ACC_N>Express Services - Mail and Courier</ACC_N><S_ACC_N>00000</S_ACC_N><S_ACC_NA>Default - Sub Account</S_ACC_NA><I_CO>000</I_CO><PROD>Term Life - GBL - Allocation Ind NQ NP BCLIC Direct</PROD><BAL>1126.47</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3123</R_ID>ACC_N><S_ACC_NA>Default - Sub Account</S_ACC_NA><I_CO>000</I_CO><PROD>Annuities Dep Type - Allocation Ind NQ NP OCB</PROD><BAL>13.5</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3124</R_ID>N><ACC>MGMT_ACCT_HIERARCHY</ACC><ACC_N/><S_ACC_N/><S_ACC_NA/><I_CO/><PROD>FPDA - Other Ind Q NP BCLIC Ind Agt</PROD><BAL>176028.27</BAL><A_L>0</A_L><P_ACC/><S_F>Y</S_F><R_ID>36</R_ID>_T>>726030</ACC><ACC_N>Express Services - Mail and Courier</ACC_N><S_ACC_N>00000</S_ACC_N><S_ACC_NA>Default - Sub Account</S_ACC_NA><I_CO>000</I_CO><PROD>Annuities Other - Allocation Ind NQ NP NON OCB</PROD><BAL>2.58</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3127</R_ID>R_ID>3128</R_ID>S_F><R_ID>41</R_ID>ther - Allocation Ind NQ NP BCLIC Career</PROD><BAL>267.97</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3131</R_ID>areer</PROD><BAL>53.31</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3132</R_ID>o CV Ind NQ NP BCLIC Direct</PROD><BAL>-29963</BAL><A_L>0</A_L><P_ACC/><S_F>Y</S_F><R_ID>46</R_ID>N>Telecommunication/Online Services</ACC_N><S_ACC_N>00000</S_ACC_N><S_ACC_NA>Default - Sub Account</S_ACC_NA><I_CO>000</I_CO><PROD>Term Life - Other - Allocation Grp NQ NP BCLIC Career</PROD><BAL>.06</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3135</R_ID>_ACC_NA><I_CO>000</I_CO><PROD>LTC - Allocation Ind Guar Ren NON OCB</PROD><BAL>22.05</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3136</R_ID>ROD>Term Life - Other - Allocation Grp NQ NP BCLIC Career</PROD><BAL>1118.96</BAL><A_L>0</A_L><P_ACC/><S_F>Y</S_F><R_ID>51</R_ID>S_ACC_N>00000</S_ACC_N><S_ACC_NA>Default - Sub Account</S_ACC_NA><I_CO>000</I_CO><PROD>Annuities Other - Allocat"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:59)
         at java.lang.Integer.parseInt(Integer.java:467)
         at java.lang.Integer.parseInt(Integer.java:508)
         at oracle.apps.xdo.dataengine.ScalableStringList.get(ScalableStringList.java:162)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeRowSetListToStream(XMLPGEN.java:1277)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:559)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:308)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:334)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:294)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Oracle error 6502: java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "APPS.FND_CONCURRENT", line 1331
    ORA-06512: at line 1
    has been detected in FND_CONCURRENT.SET_INTERIM_STATUS.+---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    9662
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 970405 on node UXEBSCMP01 at 29-SEP-2012 21:02:30.
    Post-processing of request 970405 failed at 29-SEP-2012 21:02:30 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 29-SEP-2012 21:02:30
    Thanks.

    If you use parameters you can try playing with them to narrow down the values on which the error occurs. Anyway, need to get the output in XML (without template) and review it. If it's not too huge, post the XML here.

  • "SYSTEM FAILURE" during JCo call.java.lang.reflect.UndeclaredThrowableExcep

    Hi All
    I have developed Java mapping program where I am calling three BAPI in sequence and trying to map all three bapi data to single Target XML file or Multiple target xml files depends on the in coming data.
    Now I want these files name should be genereted dynamically .So I have used below  Dynamic Configuration code in my java mapping program.********************************************************************************************************************************************************************
    try
         String currDate = new String();
         String currTime= new String();
         DateFormat dFormat=new SimpleDateFormat("yyyyMMdd");
         DateFormat tFormat = new SimpleDateFormat("HHmmss");
         java.util.Date date = new Date();
         TimeZone cetTimeZone = TimeZone.getTimeZone("CET");
         tFormat.setTimeZone(cetTimeZone);
         currDate = dFormat.format(date);
         currTime= tFormat.format(date);
         String pubDate=currDate + currTime;
         String ext=".xml";
         String event="-1_1-";
         trace.addInfo("********  Before  Dynamic Configuration ***************" );
         DynamicConfiguration conf =(DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
                                            DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File","FileName" );
         trace.addInfo("********  After  Dynamic Configuration ***************" );
         String tempFileName="NL09-"eventponum+ "-" pubDateext;
         trace.addInfo("The name of the file is  : " + tempFileName);
         conf.put(key, "tempFileName");
                catch (Exception e)
                     trace.addWarning("Error While creating File Name"+e.getMessage());
                     throw new Exception("Error While creating File Name",e);
    Now the problem is when I am using above code I am getting following error
    "SYSTEM FAILURE" during JCo call.
    java.lang.reflect.UndeclaredThrowableException
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">JCO_SYSTEM_FAILURE</SAP:Code>
      <SAP:P1>java.lang.reflect.UndeclaredThrowableException</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>&quot;SYSTEM FAILURE&quot; during JCo call.
    java.lang.reflect.UndeclaredThrowableException</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
    Could please tell me why I am facing this problem only when I am using  Dynamic configuration code.
    If I dont use  Dynamic configuration code then I am not getting any error .But my requirement is to generate dynamic file name (Note I have tried with Variable Substution also, It is also not solving my problem as I need time stamp of ("CET") time zone).

    Hi Abhishek,
    Yes I have appended throws StreamTransformationException and imported the relevant StreamTransformationException class also.
    Here I am getting strange thing when  I am adding dynamic configuration code " SYSTEM FAILURE" during JCo call. But Jco cal is something to internal systems which does not relate to Dynamic Configuration.
    If I run my code with out any Dynamic Configuration code then it is running with out any errors.
    But I need this  Dynamic Configuration inorder to generate dyanamic file name.

  • ERROR: The Propagation operation ended in error. java.lang.reflect.Undeclar

    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?

  • Catching java.lang.reflect.InvocationTargetException

    Hi all,
    Our Windows NT service developed in Java is throwing exception
    java.lang.reflect.InvocationTargetException when run as a service.
    The same code does not throw this exception when run interactively.
    We are trying to get a list of files in particular folder.
    The suspect line of code is:
    fLogFiles = fLogFolder.listFiles();
    where fLogFolder is File object pointing to a folder.
    My guess is this is permissions issue but running
    the service by the administrator also causes the problem.
    I tried to catch the exception with
    ========================================================
    catch (java.lang.reflect.InvocationTargetException ex)
    ex.getTargetException().printStackTrace();
    ============================================
    but compiler gives this error
    exception java.lang.reflect.InvocationTargetException is never thrown
    in the body of corresponding statement
    I know for sure that the exception is thrown there.
    Any help will be greatly appreciated.
    TIA

    How do you use Java in a NT Service? If you are using
    JavaService or some other "multi-purpose" service
    launcher, then you are probably registering the method
    that should be run as service by name, and the
    launcher then calls that method using reflection? My
    guess is that either the code trying to invoke your
    method is throwing the exception because of some
    environment problem - or your code throws some other
    exception that is then translated to
    InvocationTargetException on their end of invoke().
    Hard to say without more information though.
    Br - J
    We use com.ms.service package.
    It works fine. The service monitors MQSeries queue and creates files out of messages. We wanted to check for duplicate contents and hence
    I'm trying to get to existing messages.

  • An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.reflect.InvocationTargetException:null

    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:null

    Thamarai,
    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

  • Error while updating Targets-Server : java.lang.reflect.InvocationTargetException

    Hi,
    I got this error below when i try to deploy my ejb.It's happen when i select the
    targets-server in weblogic console. Can anyone help me please?
    Thank you in advance.
    Sukanya
    java.lang.reflect.InvocationTargetException: javax.management.RuntimeOperationsException:
    RuntimeException thrown by the invoke method of the Dynamic MBean
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy10.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
         at $Proxy76.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.console.utils.SetException: An error occurred while updating
    Targets-Server on Proxy for mydomain:Application=Wallet,Name=wallet-ejb,Type=EJBComponent
    - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke
    method of the Dynamic MBean]]
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    Hi Sukanya,
    Could you please tell me how u solved this error?
    I am also getting the same error!!!
    Sherry.

  • Java.lang.reflect.InvocationTargetException

    Hi,
    I am new to EJB. i've developed my first EJB Program using Netbeans.
    Here are my classes :
    package ejb;
    import javax.ejb.Stateless;
    @Stateless(mappedName="Bean30")
    public class Bean30Bean implements Bean30Remote
    public String getResult()
    return "This is EJB 3.0 Bean";
    Remote Interface :
    package ejb;
    import javax.ejb.Remote;
    @Remote
    public interface Bean30Remote {
    String getResult();
    Calling EJB :
    InitialContext ctx = new InitialContext();
    Bean30Remote br = (Bean30Remote) ctx.lookup("Bean30#ejb.Bean30Remote");
    System.err.println("EJB message is: " + br.getResult());
    While lookup, it is throwing me an exception :
    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:597)
    at org.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:438)
    at org.glassfish.appclient.client.AppClientFacade.main(AppClientFacade.java:165)
    Caused by: javax.naming.NamingException: Lookup failed for 'Bean30#ejb.Bean30Remote2' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is javax.naming.NamingException: ejb ref resolution error for remote business interfaceejb.Bean30Remote2 [Root exception is java.lang.ClassNotFoundException: ejb.Bean30Remote2]]
    at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)
    at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at applicationclientfortest.Main.main(Main.java:27)
    ... 6 more
    Caused by: javax.naming.NamingException: ejb ref resolution error for remote business interfaceejb.Bean30Remote2 [Root exception is java.lang.ClassNotFoundException: ejb.Bean30Remote2]
    at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:433)
    at com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:75)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    at com.sun.enterprise.naming.impl.SerialContext.getObjectInstance(SerialContext.java:556)
    at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:514)
    ... 9 more
    Caused by: java.lang.ClassNotFoundException: ejb.Bean30Remote2
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.glassfish.appclient.client.acc.ACCClassLoader.findClass(ACCClassLoader.java:212)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at com.sun.ejb.EJBUtils.getBusinessIntfClassLoader(EJBUtils.java:687)
    at com.sun.ejb.EJBUtils.loadGeneratedRemoteBusinessClasses(EJBUtils.java:462)
    at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:413)
    ... 13 more
    I've checked on the GlassFish. It has been deployed successfully with name "EJBModule30".
    Any comments will be greatly appreciated. Please let me know if i'm doing something wrong.

    r035198x wrote:
    >
    That shouldn't be necessary in a JEE environment. Proper packaging is all you need to do and the container takes care of the rest.The remote client may not be in a container....
    **puts on a brown paper bag**
    In any case the name inconsistency is a nice catch, but when I check the logging:
    ejb ref resolution error for remote business interfaceejb.Bean30Remote2 [Root exception is java.lang.ClassNotFoundException: ejb.Bean30Remote2]]I wonder if Glassfish actually contains a logging mistake where it doesn't print a space between the log text and the interface, or that someone has been doing some manual editing before posting it...

  • Java ME SDK 3.0 doesn't start - java.lang.reflect.InvocationTargetException

    I want to migrate from NetBeans 6.7.1 to Java ME SDK 3.0 for several reasons.
    However when trying to start it hangs for a couple of minutes and then this message come up in a pop-up box:
    "A java.lang.reflect.InvocationTargetException exception has occurred. Click Show Details or see the messages.log file located in your C:\Documents and Settings\admin\javame-sdk\toolbar\3.0\var\log folder."
    Log file contant here. I' have read the UsersManual but this seems different.
    I run Windows XP Pro SP3. I have a F-Secure Internet 2010 FW application. Please enlighten me on what setting I shoud set in the FW or other part of my system.
    BR
    /Per
    Log Session: Friday, January 15, 2010 4:02:04 PM CET
    System Info: Product Version = Java(TM) ME Platform SDK 3.0
    Operating System = Windows XP version 5.1 running on x86
    Java; VM; Vendor = 1.6.0_17; Java HotSpot(TM) Client VM 14.3-b01; Sun Microsystems Inc.
    Runtime = Java(TM) SE Runtime Environment 1.6.0_17-b04
    Java Home = C:\Program Files\Java\jdk1.6.0_17\jre
    System Locale; Encoding = sv_SE (cdctoolbar); Cp1252
    Home Directory = C:\Documents and Settings\admin
    Current Directory = C:\Java_ME_platform_SDK_3.0\bin
    User Directory = C:\Documents and Settings\admin\javame-sdk\toolbar\3.0
    Installation = C:\Java_ME_platform_SDK_3.0\toolbar\javamesdk1
    C:\Java_ME_platform_SDK_3.0\toolbar\ide10
    C:\Java_ME_platform_SDK_3.0\toolbar\java2
    C:\Java_ME_platform_SDK_3.0\toolbar\mobility8
    C:\Java_ME_platform_SDK_3.0\toolbar\profiler2
    C:\Java_ME_platform_SDK_3.0\toolbar\platform9
    Boot & Ext. Classpath = C:\Program Files\Java\jdk1.6.0_17\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_17\jre\classes;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\sunpkcs11.jar
    Application Classpath = C:\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\boot.jar;C:\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\org-openide-modules.jar;C:\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\org-openide-util.jar;C:\Program Files\Java\jdk1.6.0_17\lib\dt.jar;C:\Program Files\Java\jdk1.6.0_17\lib\tools.jar
    Startup Classpath = C:\Java_ME_platform_SDK_3.0\toolbar\platform9\core\core.jar;C:\Java_ME_platform_SDK_3.0\toolbar\platform9\core\org-openide-filesystems.jar;C:\Java_ME_platform_SDK_3.0\toolbar\javamesdk1\core\locale\core_cdctoolbar.jar
    VARNING
    --- cut of Warnings and Info---
    [ 680219] ERROR - un.jme.toolkit.bootstrap.Batch - Problem calling start() on DeviceManagerConnection
    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:597)
         at com.sun.jme.toolkit.bootstrap.Batch.invoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)
         at org.netbeans.modules.javame.common.container.Module.start(Module.java:21)
         at org.netbeans.modules.javame.common.container.ContainerSupport.startModule(ContainerSupport.java:67)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManagerConnection

    I have tried to switch off the FW -> the SDK 3.0 hangs in the initial startup splash. The red line stops at ca 75% done
    I have tried to open the port 1299 -> the SDK 3.0 hangs in the initial startup splash. The red line stops at ca 75% done
    /Per

Maybe you are looking for