Weblogic9.2 (SSL) and stxx issue(java.lang.reflect.InvocationException).sol
I just thought of sharing my experience in this forum.
We are migrating one of our application from tomcat to weblogic 9.2 cluster environment which was written struts & stxx. The application works fine when we access using http protocol. The application throws "org.xml.sax.SAXException
at com.oroad.stxx.transform.document.DefaultSAXSerializer.serializeIt(DefaultSAXSerializer.java:488)
at com.oroad.stxx.transform.document.DefaultSAXSerializer.serializeRequestAttribute(DefaultSAXSerializer.java:196)" ...
Caused by: java.lang.UnsupportedOperationException: javax.net.ssl.impl.SSLSessionImpl.getApplicationBufferSize()
at javax.net.ssl.impl.SSLSessionImpl.getApplicationBufferSize()I(Unknown Source) ... java.lang.reflect.InvocationTargetException
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) when try to access application with https.
Solution:
The above issue happening when stxx is trying to serialize weblogic specific object to xml. so, by changing stxx.properties file - stxx.attach.requestAttributes.ignore= (weblogic.*) would resolve the problem. or write your own custom XML bean serializer by override serializeRequestAttribute method of DefaultSAXSerializer class and filter all weblogic attribute.
Hope the above solution would help in you app development. :-)
-- Keshav
Why dont you remove the Security Manager and run this program again and check it once
really this SecurityManager is creating more problems
Edited by: teluguswan on Jul 19, 2008 8:11 AM
Similar Messages
-
I want to call a specified method of one class dynamically. I use the method
"getMethod()" in package "java.lang.Class" to get method and "invoke()" in
" java.lang.reflect.Method " to invoke method.
The problem is as following :
1. There are two argument in this method "getMethod(String MethodName , Class[] paremterTypes)" in package "Class". I have no idea about the second parameter " Class[] parameterTypes ".what does the argument exactly mean ?
2. There are two argument in the method "invoke(object obj, object[] obj)" in package "Method".
I have no idea about the second parameter "object[] obj ".what is mean ?
I pass " null " value to it and it works.But i pass anothers ,jvm will throw exception.I have a generic Method Executer that has a method like
public Object execute(String className, String methodName, Object args)
String fullClassName = packageName + className ;
Class delegateClass = Class.forName(fullClassName);
BaseDelegate delegate = (BaseDelegate)delegateClass.newInstance();
Method method = null;
if (args == null)
method = delegateClass.getMethod(methodName, new Class[] {});
obj = method.invoke(delegate,new Object[] {});
else
method = delegateClass.getMethod(methodName, new Class[] {args.getClass()});
obj = method.invoke(delegate, new Object[]{args});
}This seems to have problems when I call the method from a class like:
execute("CategoryDelegate", "getCategoryById", new Integer(4144));(I get a NoSuchMethodException)
The method I am trying to execute in CategoryDelegate looks like:
public Category getCategoryById(int categoryId) throws DelegateExceptionI think it has to deal with the difference in the way we handle Primitive Wrappers and Objects. Wrapper we have to use Interger.TYPE and with the rest of the Objects we have to use obj.class.
Am I doing something wrong here? Any suggestions to make it work for primitive wrappers as well as Objects? -
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 oHi,
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. -
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/InvocationHandler starting server
I'm having some issues gettin the node manager up and running. We're just transitioning
to running clusters and I need to get the Node manager going for this and other
reasons.
I'm running 6.1 sp2.
My Node Manager starts correctly, but when I attempt to launch a server, I get
the following exception:
Anyone seen this?
<Oct 15, 2002 2:34:40 PM EDT> <Info> <NodeManager@localhost:5555> <WindowsProcessControl:
online successfully invoked on server 'server1', pid: 653>
Starting WebLogic Server ....
The WebLogic Server did not start up properly.
Exception raised:
java.lang.NoClassDefFoundError: java/lang/reflect/InvocationHandler
at weblogic.management.Admin.initialize(Admin.java:270)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exceptionI too am having this problem. I have examined the script, remote settings, and
I can not figure out what is going on. I am receiving the exact same error message,
except the PID. Anyhow, please help me out!!!!!!!!!!!!!!!!!!1
"Gaurav Chawla" <[email protected]> wrote:
Hi Kevin,
From the error it looks like the managed server did not startup properly.
This could be because the classpath specified in the RemoteStart tab
of that
managed server's configuration tab in the console may not be correct.
cheers,
gaurav.
"Kevin Bedell" <[email protected]> wrote in message
news:[email protected]..
I'm having some issues gettin the node manager up and running. We'rejust
transitioning
to running clusters and I need to get the Node manager going for thisand
other
reasons.
I'm running 6.1 sp2.
My Node Manager starts correctly, but when I attempt to launch a server,I
get
the following exception:
Anyone seen this?
<Oct 15, 2002 2:34:40 PM EDT> <Info> <NodeManager@localhost:5555><WindowsProcessControl:
online successfully invoked on server 'server1', pid: 653>
Starting WebLogic Server ....
The WebLogic Server did not start up properly.
Exception raised:
java.lang.NoClassDefFoundError: java/lang/reflect/InvocationHandler
at weblogic.management.Admin.initialize(Admin.java:270)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
> -
Java.lang.reflect.InvocationTargetException: Duplicate name
I have a class and demo program that compile. When I try to run them I get the error
"java.lang.reflect.InvocationTargetException: Duplicate name"
Can anybody give me an idea of where to start tracking down this problem? I can't see anything that looks duplicated and I can't find any help on this particular issue.
Thanks,
AbigailI guess I can go ahead an post the code that I do have. This works when compiled and run from the command line.
Here's my demo program
import java.util.*;
import java.lang.*;
public class FileSortingDemo {
public static void main(String[] args)
/* Create an array of FileSorting object */
int sortOrder = Integer.parseInt(args[0]);
FileSorting[] files = new FileSorting[3];
files[0] = new FileSorting(sortOrder,"1.xml",19990101,501);
files[1] = new FileSorting(sortOrder,"2.xml",19990201,502);
files[2] = new FileSorting(sortOrder,"0.xml",19990202,499);
/* Sort array */
Arrays.sort(files);
/* Print out sorted values */
for(int i = 0; i < files.length; i++)
System.out.println(files.file_name + " " +
files[i].file_date + " " + files[i].file_size);
//End of Demo Prog
Here's the class
import java.util.*;
public class FileSorting implements Comparable
public int sort_order;
public String file_name;
public long file_date;
public long file_size;
public FileSorting(int sort_order, String file_name, long file_date, long file_size)
this.sort_order = sort_order;
this.file_name = file_name;
this.file_date = file_date;
this.file_size = file_size;
/* Overload compareTo method */
public int compareTo(Object obj)
FileSorting tmp = (FileSorting)obj;
switch ( tmp.sort_order )
case 0:
if(this.file_name.compareTo(tmp.file_name) < 0)
/* instance lt received */
return -1;
else if(this.file_name.compareTo(tmp.file_name) > 0)
/* instance gt received */
return 1;
/* instance == received */
return 0;
case 1:
if(this.file_date < tmp.file_date)
/* instance lt received */
return -1;
else if(this.file_date > tmp.file_date)
/* instance gt received */
return 1;
/* instance == received */
return 0;
case 2:
if(this.file_size < tmp.file_size)
/* instance lt received */
return -1;
else if(this.file_size > tmp.file_size)
/* instance gt received */
return 1;
/* instance == received */
return 0;
default:
if(this.file_name.compareTo(tmp.file_name) < 0)
/* instance lt received */
return -1;
else if(this.file_name.compareTo(tmp.file_name) > 0)
/* instance gt received */
return 1;
/* instance == received */
return 0; -
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 -
Hi,
We uploaded our Datamodel(xdoz) and Reports(.xdmz) to another environment.
we changed the datamodel path to point out new path in that environment. when we open the report, we are getting this error"oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException"
This is a little urgent issue. Please take a look and let me know whats going wrong.
Thanks for the help.Check this thread,He tried to resolve the issue
https://forums.oracle.com/thread/2255347
Mark if helps.
Thanks, -
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.
TIAHow 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. -
Hi guys,
I have a vendor provided WebService A . I write a simple java client to interact with it using Axis and it works.
Now I convert my client code to a WebService B using Axis and write a client B to call my WebServiceB which in turn will call Web Service A.
The WebServiceB gets invoked but errors out with the AxisFault: java.lang.reflect.Invocation Exception when trying to retrieve the ServiceLocator for the WebService A.
I think it's a classpath issue and need your advise on how to fix it. Here's my path
a) Axis lib's are installed in /opt/axis/lib and are present in CLASSPATH of the client
b) Tomcat has no AXIS jar files in it's common endorsed
c) Axis is installed as an application under Tomcat
If i copy the Axis jar files to tomcat common\endorsed then it i am unable to deploy my WebServiceB, it spews errors.
Kindly advise how to resolve this.
-machoq
Full Alert Text
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:<hostname>
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 org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
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 gateway.ws.GatewaySoapBindingStub.createIR(GatewayI forgot to clarify that my WebService B also runs under Axis and is viewable from the AxisServlet on Tomcat.
-
Hi all, I'm developping my first web application using Apache Tomcat and Axis, using servlets, jsp and web services.
My problem is that I cannot make any call to my web service (a very simple one) because I get the following exception:
<code>
java.lang.reflect.InvocationTargetException CAUSA: 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:lexis02
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)
</code>
The stack trace is longer than that, but I didn't find any hints to solve the problem.
The exception is thrown for every method of the web service:public java.lang.String[] getMessage(java.lang.String , int) throws java.rmi.RemoteException
public boolean addMessage(java.lang.String, java.lang.String, int)
throws java.rmi.RemoteException
I'm using stub to call the web service, as generated by wsdl tool.
Can someone help me?
Thanx
PS: sorry for the double message but I pressed the wronk key at the wrong time :) -
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.getDeviceManagerConnectionI 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 -
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... -
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>"SYSTEM FAILURE" 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. -
Purpose: to migrate all the ACTIVE records from tier1 storage to tier 2 storage.
A have applied MLR 11 patch i.e Patch 20624268: WEBCENTER CONTENT BUNDLE PATCH 11.1.1.8.11
My Configurations
Tier 1 intradoc.cfg configuration
VaultDir=/u01/app/oracle/oracle/product/11.1.8/fmw/user_projects/domains/wcc_domain/ucm/cs/vault/
WeblayoutDir=/u01/app/oracle/oracle/product/11.1.8/fmw/user_projects/domains/wcc_domain/ucm/cs/weblayout/
I then changed the above parameters from TIer 1 to Tier2 as follows
VaultDir=/u01/tier1_storage/vault
WeblayoutDir=/u01/tier1_storage/weblayout
Then rebooted the machine. Now when i try to search for all the older records which were stored on Tier 1 above using GET_FILE
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://www.oracle.com/UCM">
<ns1:GenericRequest webKey="cs">
<ns1:Service IdcService="GET_FILE">
<ns1:Document>
<ns1:Field name="dDocName">OWCDEV_004521</ns1:Field>
<ns1:Field name="RevisionSelectionMethod">Latest</ns1:Field>
</ns1:Document>
</ns1:Service>
</ns1:GenericRequest>
</soap:Body>
</soap:Envelope>
I Get following error
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<ns2:GenericResponse webKey="cs" xmlns:ns2="http://www.oracle.com/UCM">
<ns2:Service IdcService="GET_FILE">
<ns2:Document>
<ns2:Field name="error">Error: java.lang.reflect.InvocationTargetException</ns2:Field>
</ns2:Document>
</ns2:Service>
</ns2:GenericResponse>
</env:Body>
</env:Envelope>
Problem
The biggest problem is that i am not able to search older records which are stored in tier1 storage using GET_FILE, But if i check in new records to Tier2 i am able to use GET_FILE to search them. I must be able to search both Tier1 and Tier 2 Storage content files using GET_FILE. To reproduce the error, change the vault and weblayout path from intradoc.cfg,reboot then try to use GET_FILE to search for records on the previous path, then the you will get the above error. I tried to create partition and storage rules but i am not successfull. I am not so sure exactly what to change here. Please adviceHi 2611729
For searching content items service is GET_SEARCH_RESULTS and for downloading the file its GET_FILE
I dont think changing the configuration value will serve the prupose over here. You need to move the contents from one location to other and going by the explanation you have provided that movement has not happened. Every content item has a metadata called xStorageRule which mentions the location where file is stored. In your case, though you've changed the configuration setting the metadata value is still of tier1 for older content items.
You have changed the default value and thats the reason contents are getting stored in tier2 storage now and you are able to access them via search. Since for older items xStorageRule holds older value which is different that current one you are not able to search.
However, i belive you're trying to move the contents from tier1 to tier2 storage since contents in tier1 storage have crossed X days and might not be accessed frequently by users.
Below mentioned option might work.
Retain your configuration setting for valut and weblayout as earlier.
1. Create a new storage rule Tier2Rule pointing to tier2
2. Archive your contents using Archiver applet.
3. Import the contents from created archive using applet and during import change the metadata xStorageRule to new storage rule Tier2Rule. This moves all your content onto tier2.
4. Checkin new documents and it gets stored in tier1 location. I assume default storage rule will point to tier1.
5. While searching using seach forms use the metadata StorageRule and it will provide dropdown of list (like tier1rule, tier2rule and so on). Select and perform the search.
For download using GET_FILE, i'm not sure whether by passing xStorageRule it will work or not. You'll have to try it out by small POC or customize the GET_FILE as required.
I've not tried this approach earlier but by system-wise understanding it should work.
Also, please refer UCM Backup strategy this discussion thread and others in the forum. Take a look at SAM-QFS which does this job transparently or any other solution in-line to that.
Maybe you are looking for
-
I haven't done SharePoint 2013 development with claims so I apologize in advance if my assumptions and questions are way out in left field. I'm trying to understand SharePoint 2013 claims authentication for a scenario that involves: A SharePoint prov
-
We have deployed a WLC 5508 w/ SW version 6.0.199.4, 1142 AP's & open authentication w/ MAC filtering. Clients are randomly getting dropped with "Limited Access" shown in Win 7. In this state, the client machine is unable to ping the gateway and some
-
I just upgrated to Quicktime Pro, but the edit fuctions are unavailable. I have saved a movie clip imported from a Video Camera as a .mov file, and selected a portion, but copy / cut / paste etc. are still grey. Any and all help is greatly appreciate
-
How to use the code to update to mountain lion?
hi How can you use the code tu free update to Mountain Lion? thks
-
Upgrading ODI 11.5 to 11.6
Dear All, I have installed ODI 11g (11.1.1.5.0) and would like to upgrade it to 11..1.6.0 to learn new features in ODI 11.6. Can anyone tell me steps/process to do so, how to apply patches to ODI 11.5 to make it 11.6 ?From where to get those patches?