Java.lang.reflect.InvocationTargetException on the server log

Hi friends ,
I have deployed a war on the tomcat server .the site was working properly.but from last week we are getting the following exception in the log .this exception is thrown not at a particular time but randomly
what must be the problem .
java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.mkcl.validator.ValidationSupport.validate(ValidationSupport.java:110)
     at org.mkcl.validator.ValidationSupport.validate(ValidationSupport.java:50)
     at org.apache.jsp.Modules.jobseeker.process.SaveJobSeekerRegistrationFormOne_jsp._jspService(SaveJobSeekerRegistrationFormOne_jsp.java:79)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
     at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:852)
     at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:584)
     at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
     at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
     at org.mkcl.validator.NumberIntegerValidator.validate(NumberIntegerValidator.java:11)
     ... 25 more
java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.mkcl.validator.ValidationSupport.validate(ValidationSupport.java:110)
     at org.mkcl.validator.ValidationSupport.validate(ValidationSupport.java:50)
     at org.apache.jsp.Modules.jobseeker.process.SaveJobSeekerRegistrationFormOne_jsp._jspService(SaveJobSeekerRegistrationFormOne_jsp.java:79)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
     at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:852)
     at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:584)
     at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
     at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
     at org.mkcl.validator.NumberIntegerValidator.validate(NumberIntegerValidator.java:11)
     ... 25 more
i searched for the solution which says that it is becoz of the soap but i haven't used soap.
So please help me for this

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

Similar Messages

  • 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

  • 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.

  • Critical WebLogicServer BEA-000362 Server failed. Reason: [Management:141266]Parsing Failure in config.xml: java.lang.AssertionError: java.lang.reflect.InvocationTargetException

    Friends,
    Getting below error when i restart the server.
    <Dec 31, 2014 5:33:58 AM EST> <Warning> <Management> <BEA-141274> <Production mode has specified at the command line via the weblogic.ProductionModeEnabled system property. This system property overrides the development mode setting contained in config.xml. However, the console and WLST show the attribute values and defaults that correspond to the development mode specified in config.xml.>
    <Dec 31, 2014 5:34:07 AM EST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: [Management:141266]Parsing Failure in config.xml: java.lang.AssertionError: java.lang.reflect.InvocationTargetException>
    <Dec 31, 2014 5:34:07 AM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Dec 31, 2014 5:34:07 AM EST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Dec 31, 2014 5:34:07 AM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    I have changed the jar files path in build.properties file as its required to import new jars as part of Documentum server upgradation. But getting above errors.. Do i have to update Config.xml file or any other file.. Please suggest.

    You've got a problem with a corrupted config.xml file.
    Since you did not make any changes you can copy the config.xml.booted file over the corrupted config.xml.
    The other option is to walk though the config.xml file and look for the problem...

  • Work Manager 6.1: java.lang.reflect.InvocationTargetException

    Hi all,
    Please, I need your help with this issue. I installed Work Manager 6.1 over SMP 3.0.3.
    I added a field to complex table ctCatalogGroup. The field was already contemplated on the backend so I only had to add it in Agentry. It worked fine for a while but suddenly it started giving me this error during transmit every time since then:
    My Java class looks like this:
    And I added the field in Agentry accordingly:
    Config Panel parameters for this are:
    The first thing I noticed is this error in the SMP log:
    2015/04/23 08:29:12.540: + WorkFunction=00000001496AF658
    2015/04/23 08:29:12.540: + User=invpos_out30
    2015/04/23 08:29:12.540: + Server=Agentry
    2015/04/23 08:29:12.540: + Complex Table=ctcatalogprofile
    2015/04/23 08:29:12.540: Update BHT 'ctcatalogprofile' for 'User': Client last data update 12:00:01 a.m. 01/01/1900
    2015/04/23 08:29:12.540: Update BHT 'ctcatalogprofile' for 'User': Getting back end connections
    2015/04/23 08:29:12.540: client last data update=12:00:01 a.m. 01/01/1900
    2015/04/23 08:29:12.540: Backend step is configured as a Java Class; using Java class com.syclo.sap.ComplexTable
    2015/04/23 08:29:12.540: Using Java Class com.syclo.sap.ComplexTable for ComplexTable
    2015/04/23 08:29:12.555: + BackEnd=Java-SAPJavaConnection
    2015/04/23 08:29:12.555: Exception while starting complex table update for table 'ctcatalogprofile': JavaBackEndError: JAVA EXCEPTION CAUGHT: java.lang.reflect.InvocationTargetException in AgentryComplexTableFactory::createComplexTable at AgentryComplexTableFactory.cpp:129
    As well as this other one in the events.log:
    04/23/2015 08:23:32, 0, 20, 16, Thr 9240, Threads in thread pool 'Runtime' expanded to 2. Adding thread 3580
    04/23/2015 08:25:13, 1, 29, 1, Thr 3580, java/net/SocketException, java.net.SocketException: Connection reset by peer: socket write errorAngelJavaStreamsConnection.cpp#189:AngelJavaStreamsConnection::handleException
    04/23/2015 08:25:13, 1, 4,3221225477, Thr 3580, EXCEPTION_ACCESS_VIOLATION, 000000018000DE02, 0, R, 0000000000000000, ..\agentry\threadManager.cpp#354:ThreadManager::WorkerThread::function
    04/23/2015 08:25:27, 0, 0, 6, Thr 7572, invpos_out30: relogin failed at ANGEL: B4A91958-A9A4-46F8-B323-20C61E7E76E8; attempt from ANGEL: 97E1F7AF-4E38-4ECB-8D3C-2E2D4AFEA2AE
    04/23/2015 08:25:56, 0, 0, 6, Thr 7572, invpos_out30: relogin failed at ANGEL: B4A91958-A9A4-46F8-B323-20C61E7E76E8; attempt from ANGEL: 15FAC37B-A017-46AB-B528-B2B4610423CC
    04/23/2015 08:26:27, 0, 0, 6, Thr 7572, invpos_out30: relogin failed at ANGEL: B4A91958-A9A4-46F8-B323-20C61E7E76E8; attempt from ANGEL: BFDB1CBE-12D9-4A66-8EBA-A855B2B90D23
    04/23/2015 08:29:12, 1, 20, 18, Thr 3580, JAVA EXCEPTION CAUGHT: java.lang.reflect.InvocationTargetException
    I would like to know if anyone faced something like this before or any suggestions on how to dig deeper for a solution. What confuses me is that it worked ok at first and now I can no longer start the client. That is as far as I can get.
    Best regards!
    Leonardo.

    Hi,
    Can you modify the step
    public void setProperties(Table tbl) throws Exception {
            super.setProperties(tbl);
            setShortText(tbl.getString("KURZTEXT")).trim());
    to
    public void setProperties(Table tbl) throws Exception {
            super.setProperties(tbl);
            setShortText(tbl.getString("KURZTEXT"));
    Thanks & Regards,
    Sravanthi

  • Java.lang.reflect.InvocationTargetException.... Please Help!!

    I am reading a .dbf file and then...parse it and insert the parsed data into MYSQL Database.After inserting 50 records..iam calling the sleep method on the class...to give time for the jrun to release the ports for further..inserts.The code inserts the first 50 records and when it comes back after the sleep method..this null pointer exception is being thrown..when i check the Jrun Server log file.
    This is the final stage of my project...where iam having to transfer live data from DBase to MYSQL.Any help...is highly appreciated guys..
    This is the error that it is throwing (Scroll down to see the code as well):
    07/28 10:59:58 error null; nested exception is:
         java.lang.reflect.InvocationTargetException
    [2]java.lang.NullPointerException
         at jrun.sql.JRunResultSet.clearUpdates(JRunResultSet.java:1873)
         at jrun.sql.JRunResultSet.next(JRunResultSet.java:1100)
         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 jrunx.comp.sql.SQLInvokerBean.invokeResultSet(SQLInvokerBean.java:217)
         at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at jrun.ejb.interceptors.InvokerInterceptor.invokeObjectMethod(InvokerInterceptor.java:153)
         at jrun.ejb.interceptors.ContainerManagedTransactionInterceptor.invokeTransactedMethod(ContainerManagedTransactionInterceptor.java:148)
         at jrun.ejb.interceptors.TransactionInterceptor.invokeObjectMethod(TransactionInterceptor.java:130)
         at jrun.ejb.interceptors.StatefulSessionInstanceInterceptor.invokeObjectMethod(StatefulSessionInstanceInterceptor.java:242)
         at jrun.ejb.interceptors.EJBSecurityInterceptor.invokeObjectMethod(EJBSecurityInterceptor.java:81)
         at jrun.ejb.EJBContainer.invokeObjectMethod(EJBContainer.java:193)
         at jrun.ejb.invocation.RemoteInvocationProxyImpl.invoke(RemoteInvocationProxyImpl.java:111)
         at jrunx.rmi.RMIBroker.invokeEJB(RMIBroker.java:235)
         at jrunx.rmi.RMIBroker.invoke(RMIBroker.java:142)
         at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
         at sun.rmi.transport.Transport$1.run(Transport.java:148)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:536)
    [1]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 jrunx.comp.sql.SQLInvokerBean.invokeResultSet(SQLInvokerBean.java:217)
         at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at jrun.ejb.interceptors.InvokerInterceptor.invokeObjectMethod(InvokerInterceptor.java:153)
         at jrun.ejb.interceptors.ContainerManagedTransactionInterceptor.invokeTransactedMethod(ContainerManagedTransactionInterceptor.java:148)
         at jrun.ejb.interceptors.TransactionInterceptor.invokeObjectMethod(TransactionInterceptor.java:130)
         at jrun.ejb.interceptors.StatefulSessionInstanceInterceptor.invokeObjectMethod(StatefulSessionInstanceInterceptor.java:242)
         at jrun.ejb.interceptors.EJBSecurityInterceptor.invokeObjectMethod(EJBSecurityInterceptor.java:81)
         at jrun.ejb.EJBContainer.invokeObjectMethod(EJBContainer.java:193)
         at jrun.ejb.invocation.RemoteInvocationProxyImpl.invoke(RemoteInvocationProxyImpl.java:111)
         at jrunx.rmi.RMIBroker.invokeEJB(RMIBroker.java:235)
         at jrunx.rmi.RMIBroker.invoke(RMIBroker.java:142)
         at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
         at sun.rmi.transport.Transport$1.run(Transport.java:148)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:536)
    Caused by: java.lang.NullPointerException
         at jrun.sql.JRunResultSet.clearUpdates(JRunResultSet.java:1873)
         at jrun.sql.JRunResultSet.next(JRunResultSet.java:1100)
         ... 27 more
    [0]java.rmi.RemoteException: null; nested exception is:
         java.lang.reflect.InvocationTargetException
         at jrunx.comp.sql.SQLInvokerBean.handleException(SQLInvokerBean.java:340)
         at jrunx.comp.sql.SQLInvokerBean.invokeResultSet(SQLInvokerBean.java:225)
         at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at jrun.ejb.interceptors.InvokerInterceptor.invokeObjectMethod(InvokerInterceptor.java:153)
         at jrun.ejb.interceptors.ContainerManagedTransactionInterceptor.invokeTransactedMethod(ContainerManagedTransactionInterceptor.java:148)
         at jrun.ejb.interceptors.TransactionInterceptor.invokeObjectMethod(TransactionInterceptor.java:130)
         at jrun.ejb.interceptors.StatefulSessionInstanceInterceptor.invokeObjectMethod(StatefulSessionInstanceInterceptor.java:242)
         at jrun.ejb.interceptors.EJBSecurityInterceptor.invokeObjectMethod(EJBSecurityInterceptor.java:81)
         at jrun.ejb.EJBContainer.invokeObjectMethod(EJBContainer.java:193)
         at jrun.ejb.invocation.RemoteInvocationProxyImpl.invoke(RemoteInvocationProxyImpl.java:111)
         at jrunx.rmi.RMIBroker.invokeEJB(RMIBroker.java:235)
         at jrunx.rmi.RMIBroker.invoke(RMIBroker.java:142)
         at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
         at sun.rmi.transport.Transport$1.run(Transport.java:148)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:536)
    Caused by: 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 jrunx.comp.sql.SQLInvokerBean.invokeResultSet(SQLInvokerBean.java:217)
         ... 22 more
    Caused by: java.lang.NullPointerException
         at jrun.sql.JRunResultSet.clearUpdates(JRunResultSet.java:1873)
         at jrun.sql.JRunResultSet.next(JRunResultSet.java:1100)
         ... 27 more
    Here is the code how iam doing it:
    public class MainTable extends Thread implements Runnable
         private static MyBeans.ConnectionBean cb = new MyBeans.ConnectionBean();
         private static Connection connection = cb.getConnection();
         private static PreparedStatement ps=null;
         private static PreparedStatement pst=null;
         private static ResultSet rs=null;
         public static void main(String[] args){
              MainTable mt = new MainTable();
              int empId=0;
              String supervisor ="";
              String startTime="";
              String endTime="";
              String sdate="";
              double hours = 0.0;
              String stype="";
              String empType="";
              try {
                   String sql = "SELECT eg.EmployeeId, sg.Supervisor, sg.StartTime, sg.EndTime, sg.SupervisionDate, sg.SupervisionHours, sg.SupervisionType FROM EmployeeGoldmine AS eg, SupervisionGoldmine AS sg WHERE eg.AccountNo=sg.AccountNo ORDER BY eg.EmployeeId";
                   ps=connection.prepareStatement(sql);
                   rs = ps.executeQuery();
                   int count =0;
                   while (rs.next()){
                        count++;
                        empId=rs.getInt("EmployeeId");
                        empType = mt.getEmployeeType(empId);
                        supervisor = rs.getString("Supervisor");
                        startTime = rs.getString("StartTime");
                        endTime = rs.getString("EndTime");
                        sdate = rs.getString("SupervisionDate");
                        hours = rs.getDouble("SupervisionHours");
                        stype = rs.getString("SupervisionType");
                        System.out.println(empId + "=>" + supervisor + "=>" + startTime + "=>" + endTime + "=>" + sdate + "=>" + hours + "=>" + stype + "=>" + empType );
                        try {
                             String mysql = "INSERT INTO Supervision(Supervisor,StartTime,EndTime,SupervisionDate,SupervisionHours,EmployeeId,Type,supervisionType) VALUES(?,?,?,?,?,?,?,?)";
                                  pst=connection.prepareStatement(mysql);
                                  pst.setString(1, supervisor);
                                  pst.setString(2, startTime);
                                  pst.setString(3, endTime);
                                  pst.setString(4, sdate);
                                  pst.setDouble(5, hours);
                                  pst.setInt(6, empId);
                                  pst.setString(7, empType);
                                  pst.setString(8, stype);
                                  pst.executeUpdate();
                             } catch (Exception      exp) {
                                       System.out.println(exp);
                                  if (count==50){
                                  mt.sleep(120000);
                                  connection = cb.getConnection();
                                  count=0;
                   }//end of while
                   System.out.println(count);
                   try {
                             rs.close();
                             ps.close();
                             pst.close();
                             connection.close();
                             } catch (Exception e) {
                                  System.out.println(e);
                        } catch (Exception      ex) {
                             System.out.println(ex.getMessage());
         }

    Well i sorted out the things..i had to change the way i was accessing the datasource object..so no more problems of "running out of ports " and stuff.

  • Java.lang.reflect.InvocationTargetException.... error duing starting a proc

    hi experts ,
    i am developing a process in which i am using a wsdl in the service for start event of the process.This process is a normal wsdl created in process composer only. Now i have deployed this DC on server and from wsnavigator i am running this webservice, it shows a msg "Operation "NewOperation" executed successfully".Now the tasks are not appearing in UWL and in error log following description appears.
    Failed (javax.management.MBeanPermission,#[:j2eeType=trace,name=EndToEndCentralMBean,],isActive,getGuidByName,getTraceLevelByName,getTraceLevelByName,importTrace,isFileExistsLocally,removeTraceFile)java.lang.reflect.InvocationTargetException
    Please help me in this regard.
    regards,
    vishavdeep singh

    Hello,
    I'm having the same problem, did you find a solution?
    Thanks, regards,

  • Exception raised: java.lang.reflect.InvocationTargetException

    Hi Everybody,
    I run into the below problem while trying to set the security realm in the WebLogic
    sp8 examples. I tried to find information about it on this newsgroup but so I couldn't
    find any helpful solutions. Please, help.
    Tue Apr 17 11:59:20 GMT 2001:<I> <WebLogicServer> Server loading from weblogic.class.path.
    EJB redeployment enabled.
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: weblogic/security/acl/DefaultGroupImpl
    at weblogic.utils.reuse.Pool.getInstance(Pool.java:57)
    at examples.security.rdbmsrealm.RDBMSRealm.getDelegate(RDBMSRealm.java:113)
    at examples.security.rdbmsrealm.RDBMSRealm.getPermission(RDBMSRealm.java:512)
    at weblogic.security.acl.CachingRealm.getPermission(CachingRealm.java:1713)
    at weblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java, Compiled
    Code)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:706)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:564)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1759)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    java.lang.NoClassDefFoundError: weblogic/security/acl/DefaultGroupImpl
    at weblogic.utils.reuse.Pool.getInstance(Pool.java:57)
    at examples.security.rdbmsrealm.RDBMSRealm.getDelegate(RDBMSRealm.java:113)
    at examples.security.rdbmsrealm.RDBMSRealm.getPermission(RDBMSRealm.java:512)
    at weblogic.security.acl.CachingRealm.getPermission(CachingRealm.java:1713)
    at weblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java, Compiled
    Code)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:706)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:564)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1759)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)

    "WebLogic" <[email protected]> wrote:
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodErrorSame with me.
    I also noted, that in a file "clodscape.LOG" there are messages "4.10.2000 15:12 Thread[JDBCStartupThread,6,main] Thank you for your interest in Cloudscape products. Your evaluation license has expired. Please contact Cloudscape sales at 1-888-59JAVA1 or [email protected]"
    Maybe this is the source of the problem, not NT SP6?
    - Juha

  • Axis error: java.lang.reflect.InvocationTargetException

    Hello!
    I have seen this question, asked many times, but I couldn't find any suitable solution for my problem. I am deploying a web service with Apache Tomcat 5.5.27 and Axis 1.4
    When I make a call to the service in this way:
    try{
                   call.setTargetEndpointAddress(new URL(endpoint));
                   }catch(Throwable e)
                        System.out.println("ERROR: " + e.getMessage() + " CAUSE: " + e.getCause());
                        e.printStackTrace();
                        return;
                   call.setOperationName(new QName("bookTicket"));
                   call.addParameter("flightIDs",XMLType.SOAP_ARRAY, ParameterMode.IN);
                   call.setReturnType(XMLType.XSD_STRING);
                   String reservationID = null;
                   try{
                        reservationID = (String)call.invoke(new Object[] {params});
                   }catch(Throwable e)
                        System.out.println("ERROR: " + e.getMessage() + " CAUSE: " + e.getCause());
                        e.printStackTrace();
                        return;
                   }I get the following error:
    ERROR: java.lang.reflect.InvocationTargetException CAUSE: null
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.reflect.InvocationTargetException
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}hostname:andr33a
    java.lang.reflect.InvocationTargetException
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at client.AirplaneServiceClient.main(AirplaneServiceClient.java:113)The signature of the method I am calling looks like this:
    public String bookTicket(String [] flightIDs) My CLASSPATH is set corectly and all the jars are in the right places (or at least most of them), because when I call any other method of my service, it works.
    If anyone has encountered the same problem, any help would be appreciated.
    I have tried to look in tomcat logs, but I didn't find anything relevant.
    Thanks and looking forward for some answers.

    Steven,
    Yes that is correct I receive this error message the moment I'am running JAG
    This is the stack trace as you described:
    Loading JHeadstart Addins
    Addin | Version | Status
    JHeadstart Shared Components| 11.1.1.0.31| Loaded
    JHeadstart Utilities| 11.1.1.0.31| Loaded
    JHeadstart Application Generator| 11.1.1.0.31| Loaded
    JHeadstart Development Environment| 11.1.1.0.31| Loaded
    JHeadstart Forms2ADF Generator| 11.1.1.0.31| Loaded
    20:42:35 INFO (CollectionFactory) -Commons Collections 3.x available
    20:42:35 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
    20:42:35 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
    20:42:35 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.set.ListOrderedSet]
    JHeadstart Debugger: no debug session exists with key: "JAG"
    20:42:42 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
    20:42:42 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
    20:42:42 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.set.ListOrderedSet]
    20:42:44 DEBUG (ReloadableResourceBundleMessageSource) -Clearing entire resource bundle cache
    20:42:45 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
    JagRunner$1[102]: Invoking garbage collector
    Regards,
    Menk

  • Java.lang.reflect.InvocationTargetException and OutOfMemoryError non heap

    Hi,
    After tomcat running 3,4 days well with 75 users, suddenly we are facing InvocationTargetException caused by OutOfMemoryError for 3,4 users some times. The JAVA_OPTS options are well configured as observed no heap error issue. Heap utilization is only 60% but Foud that CodeCache is reaching maximum. As codecache is no heap,so it may not provide outofmemory issue. Currently everyday outof production time we are restarting server to avoid sudden exception in production. The following is the exception we received as suggestion of finding the root cause.
    We are using XForms xslt & xpl's in which our spring integrated java dynamically compiled code will be called.
    ep 11, 2009 8:38:00 AM org.apache.jk.common.ChannelSocket processConnection
    WARNING: processCallbacks status 2
    08:38:00,202 WARN [PortletLocalServiceImpl:143] Portlet not found for liferay.com preferencetest_WAR_ops
    08:38:00,233 WARN [PortletLocalServiceImpl:143] Portlet not found for liferay.com preferencetest_WAR_ops
    java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor2049.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.orbeon.oxf.processor.SimpleProcessor$1.readImpl(SimpleProcessor.java:70)
    at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
    at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
    at org.orbeon.oxf.processor.JavaProcessor$1.readImpl(JavaProcessor.java:66)
    at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
    at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
    at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
    at org.orbeon.oxf.processor.pipeline.AggregatorProcessor.access$100(AggregatorProcessor.java:38)
    at org.orbeon.oxf.processor.pipeline.AggregatorProcessor$1.readImpl(AggregatorProcessor.java:93)
    at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
    at org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:368)
    at org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:387)
    at com.expeditor.processors.SingleTaskData.generateData(SingleTaskData.java:85)
    at sun.reflect.GeneratedMethodAccessor2048.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.orbeon.oxf.processor.SimpleProcessor$1.readImpl(SimpleProcessor.java:70)
    at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
    at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
    at org.orbeon.oxf.processor.JavaProcessor$1.readImpl(JavaProcessor.java:66)
    at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:95)
    at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
    at org.orbeon.oxf.portlet.OPSPortletDelegate.forward(OPSPortletDelegate.java:253)
    at org.orbeon.oxf.externalcontext.PortletToExternalContextRequestDispatcherWrapper.forward(PortletToExternalContextRequestDispatcherWrapper.java:35)
    at org.orbeon.oxf.xforms.XFormsSubmissionUtils.openOptimizedConnection(XFormsSubmissionUtils.java:108)
    at org.orbeon.oxf.xforms.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:768)
    at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1283)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.OutOfMemoryError
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    at java.lang.Class.getDeclaredMethods(Class.java:1791)
    at org.codehaus.janino.ReflectionIClass.getDeclaredIMethods2(ReflectionIClass.java)
    at org.codehaus.janino.IClass.getDeclaredIMethods(IClass.java)
    at org.codehaus.janino.IClass.getDeclaredIMethods(IClass.java)
    at org.codehaus.janino.UnitCompiler.getIMethods(UnitCompiler.java)
    at org.codehaus.janino.UnitCompiler.findIMethod(UnitCompiler.java)
    at o

    Hi,
    we have observed memory usage with probe in tomcat. Found no issue with non heap of permgen space. We are generating some dynamic classes which are around 30 for entire application. It is working for 3 days . Even in probe found that perm gen space is gradually decreasing.
    When perm gen outofmemory exception arrived (we reduced and tested ) in the logs we are getting the Error specifying it is OutOfMemory because of PermGen space not enoug.
    But CodeChache is reaching it's maximum as observed in probe and Error message is as above withou heap/perm gen/ other details.

  • Webapp wont start - java.lang.reflect.InvocationTargetException

    Hi
    I'm having a problem getting my own web applications to start (the tomcat one's run fine). It fails when reading my web.xml file. First off here is my environment:
    OS: Linux
    SDK: 1.4.1_02
    Container: Tomcat 4.1.18
    I created a small HelloWorld application to see if it will give me the same result, unfortunately it did. Below is the error msg from the log as well as the content of my web.xml file. Please see my additional comment below the error ...
    The web.xml file:<?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <servlet>
              <servlet-name>HelloWorld</servlet-name>
              <servlet-class>HelloWorld</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>HelloWorld</servlet-name>
              <url-pattern>HelloWorld</url-pattern>
         </servlet-mapping>
    </web-app>
    Error msg in log file:
    2003-04-01 19:13:54 ContextConfig[test] Parse error in application web.xml
    java.lang.reflect.InvocationTargetException
         at org.apache.commons.digester.Digester.createSAXException(Digester.java:2312)
         at org.apache.commons.digester.Digester.createSAXException(Digester.java:2332)
         at org.apache.commons.digester.Digester.endElement(Digester.java:1039)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:585)
         at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:647)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1937)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:851)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1008)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
         at org.apache.commons.digester.Digester.parse(Digester.java:1495)
         at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:282)
         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3567)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:257)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:569)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
         at org.apache.catalina.core.StandardService.start(StandardService.java:497)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
         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.catalina.startup.Bootstrap.main(Bootstrap.java:203)
    2003-04-01 19:13:54 ContextConfig[test]: Occurred at line 16 column 20
    2003-04-01 19:35:59 ContextConfig[test]: Marking this application unavailable due to previous error(s)
    Line 16 column 20 is the character after the </servlet-mapping> tag. Why is it doing this? I've recreated web.xml a couple of times from scratch, thinking that it might be some weird character in the file that is not visible. I've also set the encoding to UTF-8, but it just keeps on failing when it gets to the first closing servlet-mapping tag. Am I missing something or is this some weird bug?
    Any help would be greatly appreciated!

    Hmmm....I don't see anything wrong with the web.xml file. Perhaps Tomcat can't find your, "HelloWorld" class?
    1. Did you set the classpath correctly?
    2. Did you declare the name of the class correctly in the web.xml file's servlet-class element (i.e. full package naming)?

  • 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

  • GET_FILE Error: java.lang.reflect.InvocationTargetException when moving content from tier1 to tier 2 storage

    Purpose: to migrate all the ACTIVE records from tier1 storage to tier 2 storage.
    A have applied MLR 11 patch i.e Patch 20624268: WEBCENTER CONTENT BUNDLE PATCH 11.1.1.8.11
    My Configurations
    Tier 1 intradoc.cfg configuration
    VaultDir=/u01/app/oracle/oracle/product/11.1.8/fmw/user_projects/domains/wcc_domain/ucm/cs/vault/
    WeblayoutDir=/u01/app/oracle/oracle/product/11.1.8/fmw/user_projects/domains/wcc_domain/ucm/cs/weblayout/
    I then changed the above parameters from TIer 1 to Tier2 as follows
    VaultDir=/u01/tier1_storage/vault
    WeblayoutDir=/u01/tier1_storage/weblayout
    Then rebooted the machine. Now when i try to search for all the older records which were stored on Tier 1 above using GET_FILE
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://www.oracle.com/UCM">
    <ns1:GenericRequest webKey="cs">
    <ns1:Service IdcService="GET_FILE">
    <ns1:Document>
    <ns1:Field name="dDocName">OWCDEV_004521</ns1:Field>
    <ns1:Field name="RevisionSelectionMethod">Latest</ns1:Field>
    </ns1:Document>
    </ns1:Service>
    </ns1:GenericRequest>
    </soap:Body>
    </soap:Envelope>
    I Get following error
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <ns2:GenericResponse webKey="cs" xmlns:ns2="http://www.oracle.com/UCM">
    <ns2:Service IdcService="GET_FILE">
    <ns2:Document>
    <ns2:Field name="error">Error: java.lang.reflect.InvocationTargetException</ns2:Field>
    </ns2:Document>
    </ns2:Service>
    </ns2:GenericResponse>
    </env:Body>
    </env:Envelope>
    Problem
    The biggest problem is that i am not able to search older records which are stored in tier1 storage using GET_FILE, But if i check in new records to Tier2 i am able to use GET_FILE to search them. I must be able to search both Tier1 and Tier 2 Storage content files using GET_FILE. To reproduce the error, change the vault and weblayout path from intradoc.cfg,reboot then try to use GET_FILE to search for records on the previous path, then the you will get the above  error. I tried to create partition and storage rules but i am not successfull. I am not so sure exactly what to change here. Please advice

    Hi 2611729
    For searching content items service is GET_SEARCH_RESULTS and for downloading the file its GET_FILE
    I dont think changing the configuration value will serve the prupose over here. You need to move the contents from one location to other and going by the explanation you have provided that movement has not happened. Every content item has a metadata called xStorageRule which mentions the location where file is stored. In your case, though you've changed the configuration setting the metadata value is still of tier1 for older content items.
    You have changed the default value and thats the reason contents are getting stored in tier2 storage now and you are able to access them via search. Since for older items xStorageRule holds older value which is different that current one you are not able to search.
    However, i belive you're trying to move the contents from tier1 to tier2 storage since contents in tier1 storage have crossed X days and might not be accessed frequently by users.
    Below mentioned option might work.
    Retain your configuration setting for valut and weblayout as earlier.
    1. Create a new storage rule Tier2Rule pointing to tier2
    2. Archive your contents using Archiver applet.
    3. Import the contents from created archive using applet and during import change the metadata xStorageRule to new storage rule Tier2Rule. This moves all your content onto tier2.
    4. Checkin new documents and it gets stored in tier1 location. I assume default storage rule will point to tier1.
    5. While searching using seach forms use the metadata StorageRule and it will provide dropdown of list (like tier1rule, tier2rule and so on). Select and perform the search.
    For download using GET_FILE, i'm not sure whether by passing xStorageRule it will work or not. You'll  have to try it out by small POC or customize the GET_FILE as required.
    I've not tried this approach earlier but by system-wise understanding it should work.
    Also, please refer UCM Backup strategy this discussion thread and others in the forum. Take a look at SAM-QFS which does this job transparently or any other solution in-line to that.

  • Ugly problem with java.lang.reflect.InvocationTargetException

    Hello,
    I am writing a web service which connects to WebSphere MQ queue manager and puts a message on a queue.
    I use Eclipse and as usual I followed more or less the hints given at:
    http://www.eclipse.org/webtools/jst/components/ws/1.5/tutorials/BottomUpWebService/BottomUpWebService.html
    I have chosen Tomcat 5.5.20 as target server (had to, because otherwise it does not create a server-config.wsdd file), the web service WSDL thingies and the client were created successfully.
    I have created WAR files and everything went fine when I tested the thing on JBoss.
    Bad things started after I deployed the things on the Tomcat server. When I start the client I receive java.lang.reflect.InvocationTargetException as a result. The web service itself does not generate any exception, but the client does (I'll post the dump later..).
    During the debug it turned that the exception is generated at the moment when the web service program tries to call any of the WebSphere functions.
    Now - 1st obvious thing was to check if I have com.ibm.mq.jar in the WEB-INF/lib directory inside my WAR files. Yep! There it was.
    So.. if the thing works just fine on JBoss and it booms on Tomcat I wonder whats the hack here? I copied all of the MQ libraries i have from JBOSS_HOME/lib to CATALINA_HOME/shared/lib and CATALINA_HOME/common/lib. Well.. that's quite ugly, because all necessary jars are inside the WEB-INF/lib directory. Anyway nothing of the above helped me running the thing on Tomcat.
    Do you have any suggestions or have anyone of you ever had such problem?
    Here are the exception dump and part of the code:
      - Setting up MQ environment:
         - Setting hostname...
    An AxisFault exception occured: java.lang.reflect.InvocationTargetException
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.reflect.InvocationTargetException
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}hostname:ghjvk0j
    java.lang.reflect.InvocationTargetException
         at org.apache.axis.message.SOAPFaultBuilder.create
    Fault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(
    SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(
    DeserializationContext.java:1087)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(
    Unknown Source)
         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.
    scanEndElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScanne
    rImpl$Fragment ContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerI
    mpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
    Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
    Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
    Source)
         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse
    (Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at org.apache.axis.encoding.DeserializationContext.parse(
    DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.
    MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at pl.pzu.services.TfiAuthenticationSoapBindingStub.
    verify(TfiAuthenticationSoapBindingStub.java:245)
         at pl.pzu.services.TfiAuthenticationProxy.
    verify(TfiAuthenticationProxy.java:45)
         at org.apache.jsp.sampleTfiAuthenticationProxy.
    Result_jsp._jspService(Result_jsp.java:158)
         at org.apache.jasper.runtime.HttpJspBase.
    service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.
    service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.
    service(JspServletWrapper.java:334)
         at org.apache.jasper.servlet.JspServlet.
    serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.
    service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
    (ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(
    ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(
    StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke
    (StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(
    StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(
    ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(
    StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(
    CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(
    Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11Connec
    tionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Pool
    TcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(Lea
    derFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
    ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)There is the part of the web service code where the event occurs:
         public void writeMessage(String message,
    String message_ID) throws Exception
              System.out.println("      - Setting up MQ environment: ");
              try
                   System.out.println("      - Setting hostname...");
         NEXT LINE CAUSES THE CLIENT TO THROW
         This is the first call to any WebSphere assets.
         During debug It says the it is unable to inspect the MQEnvironment
         object...
                   MQEnvironment.hostname = m_config.getQMHost();
                   System.out.println("      - Setting port...");
                   MQEnvironment.port = m_config.getQMPort();
                   System.out.println("      - Setting channel...");
                   MQEnvironment.channel = m_config.getQMChannel();
         }I think that if it works on JBoss and it doesn't on Tomcat it is not coding problem, but rather a configuration...
    Thanx for any ideas or help from ur side.

    Did you have any success on this?
    I also have the same problem with Tomcat 6.
    I had Tomcat 5.0 working with this code, but when we migrated to Tomcat 6.0, I am getting this exception on the clent side. I figured out that it is occuring on invoking WebSphere MQ call from the code.
    Thanks

Maybe you are looking for