Error deploying application - java.lang.reflect.UndeclaredThrowableException
Hi! I use WebLogic Server 6.1 SP2 on SuSE Linux platform.
I tried to install a new EJB application. The server has showed "Receiving file...uploadhas
completed, now installing... done" on screen.
But I found that there has an "error deploying application - java.lang.reflect.UndeclaredThrowableException"
on the server log. (Pls see details on the attached file)
How to solve it?
[Exception.txt]
Karpoor,
Can you post the stacktrace please?
Ravi Akella.
Karpoor wrote:
I am newt to EJB I have been trying to deploy this stateless session
bean onto the server weblogic 6.1 I have been getting this error
error deploying Application
java.lang.reflect.undeclaredThrowableException
kindly do reply about how to solve this error
thankx for the same.
karpoor
Similar Messages
-
Java.lang.reflect.UndeclaredThrowableException on deployment
I am trying to deploy very simple web app and on start up I got this exception java.lang.reflect.UndeclaredThrowableException.
My web.xml has <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> as header.If I change this to
point to version 2.2 everything is OK.I am running WLS6.1sp2.
Can somene shed some light on this for me?
ThanksNote that WebLogic 6.1 doesn't implement final version of Servlet 2.3 spec,
and javax.servlet.Filter shipped with WebLogic is different from one in the
final spec. Try to recompile your filter with weblogic.jar in the classpath
and add missing methods.
JM <[email protected]> wrote:
> I am getting:
> <Error deploying application .\config\cmsdata\applications\cms-ear.ear:
> java.lang.reflect.UndeclaredThrowableException>
> No stack trace is displayed.
> If I remove the following from the descripor, everything works fine:
> <filter>
> <filter-name>multipartFilter</filter-name>
> <filter-class>com.oreilly.servlet.MultipartFilter</filter-class>
> </filter>
> <filter-mapping>
> <filter-name>multipartFilter</filter-name>
> <url-pattern>/*</url-pattern>
> </filter-mapping>
> Server version is 6.1 SP2.
> Please, help!
Dimitri
-
Java.lang.reflect.UndeclaredThrowableException while running client
Hi
All I did is that I created and deployed a very simple Stateless session EJB having
one remote method as follows
String getProducerName(String)
Deployment seems to be okay as I can see the deployed EJB, access the client.jar,
But when I am calling above mentioned method, I receive following errors.
Please help
Thanks
Ratan...
Scanner has tokens:
[OPENTAGBEGIN]
[NAME] (META)
[NAME] (NAME)
[CHARDATA] (GENERATOR)
[NAME] (CONTENT)
[CHARDATA] (WebLogic htmlKona WebLogic Server 6.1 SP2 12/18/2001
11:13:46 #
154529 )
[TAGEND]
[SPACE] (
[CLOSETAGBEGIN]
[NAME] (HEAD)
[TAGEND]
[SPACE] (
[OPENTAGBEGIN]
[NAME] (BODY)
[NAME] (bgcolor)
[CHARDATA] (white)
[NAME] (alink)
[CHARDATA] (#397F70)
[NAME] (link)
[CHARDATA] (#640078)
[NAME] (vlink)
[CHARDATA] (#DE7E00)
[TAGEND]
[SPACE] (
[OPENTAGBEGIN]
[NAME] (FONT)
[NAME] (FACE)
E7E00">
<FONT FACE=e <-- bad character
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException: Error
at line:
8 col:13 Line:8 ''' expected, got char[72]
at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXEle
mentFactory.java:60)
at weblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:130)
at weblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream.j
ava:46)
at weblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.jav
a:258)
at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.jav
a:171)
at weblogicx.xml.stream.XMLEventStreamBase.startElement(XMLEventStreamBase.java:1
64)
at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:86)
at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:464)
at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:430)
at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
at weblogic.soap.wsdl.WebServiceInvocationHandler.invoke(WebServiceInvocationHand
ler.java:31)
at $Proxy0.getProducerName(Unknown Source)
at WSClient.main(WSClient.java:27)
[WSClient.java]Hi
Please ignore earlier message.
I could figure out the problem, it was due to miss match/Typo in URI and message
was not revealing it. until I scanned through and compared with Examples.
Thanks
N'Joy
Ratan...
"Ratan" <[email protected]> wrote:
>
>
>
Hi
All I did is that I created and deployed a very simple Stateless session
EJB having
one remote method as follows
String getProducerName(String)
Deployment seems to be okay as I can see the deployed EJB, access the
client.jar,
But when I am calling above mentioned method, I receive following errors.
Please help
Thanks
Ratan...
Scanner has tokens:
[OPENTAGBEGIN]
[NAME] (META)
[NAME] (NAME)
[CHARDATA] (GENERATOR)
[NAME] (CONTENT)
[CHARDATA] (WebLogic htmlKona WebLogic Server 6.1 SP2 12/18/2001
11:13:46 #
154529 )
[TAGEND]
[SPACE] (
[CLOSETAGBEGIN]
[NAME] (HEAD)
[TAGEND]
[SPACE] (
[OPENTAGBEGIN]
[NAME] (BODY)
[NAME] (bgcolor)
[CHARDATA] (white)
[NAME] (alink)
[CHARDATA] (#397F70)
[NAME] (link)
[CHARDATA] (#640078)
[NAME] (vlink)
[CHARDATA] (#DE7E00)
[TAGEND]
[SPACE] (
[OPENTAGBEGIN]
[NAME] (FONT)
[NAME] (FACE)
E7E00">
<FONT FACE=e <-- bad character
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException:
Error
at line:
8 col:13 Line:8 ''' expected, got char[72]
at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXEle
mentFactory.java:60)
at weblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:130)
at weblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream.j
ava:46)
at weblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.jav
a:258)
at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.jav
a:171)
at weblogicx.xml.stream.XMLEventStreamBase.startElement(XMLEventStreamBase.java:1
64)
at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:86)
at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:464)
at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:430)
at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
at weblogic.soap.wsdl.WebServiceInvocationHandler.invoke(WebServiceInvocationHand
ler.java:31)
at $Proxy0.getProducerName(Unknown Source)
at WSClient.main(WSClient.java:27) -
Java.lang.reflect.UndeclaredThrowableException
Hi All,
I've created few xsds under the schema package and I'm populating the xsd dataobject un a process file. One of the attributes is an array and when I try to populate this array, I'm getting an exception (mentioned below). It does work fine when I don' t populate that array attribute and populate all non array attributes. There is no problem with the xsds as I've created the jar file using XMLbeans and tested the same code in Eclipse and it works fine but when I test the same code in bea workshop it just doesn't let me populate that array attribute. I'm sure there is some problem with the Weblogic understanding of the xsd objects but I don't have any clue of its solution. I'm running bea8.1 sp5 integration server.
When I did a printStackTrace this is what I got. Also please see the bold line, it says Unknown Source for the array object. There is no error in the xsds and I checked the Schema.jar file using a decompiler. Everything looks good to me.
java.lang.reflect.UndeclaredThrowableException
at $Proxy22.setCustomerAccntArray([Lcom/qwest/billing/cdeSchema/CustomerAccntNumberType;)V(Unknown Source)[/b]
at processes.orchestratorProcess.populateAggregationRequest()V(orchestratorProcess.jpd:190)
at processes.orchestratorProcess_wf$ImplPerform3.invoke(Lcom/bea/wli/bpm/runtime/ProcessState;)V(orchestratorProcess_w
f.java:50)
at com.bea.wli.bpm.runtime.Perform.execute(Lcom/bea/wli/bpm/runtime/ProcessState;)Lcom/bea/wli/bpm/runtime/Activity;(P
erform.java:32)
at com.bea.wli.bpm.runtime.Receive.messageDelivery(Lcom/bea/wli/bpm/runtime/ProcessState;[Ljava/lang/Object;)Ljava/lan
g/Object;(Receive.java:91)
at com.bea.wli.bpm.runtime.Receive.messageDeliveryAction(Lcom/bea/wli/bpm/runtime/ProcessState;[Ljava/lang/Object;)Lja
va/lang/Object;(Receive.java:71)
at com.bea.wli.bpm.runtime.ProcessState.processMessage(I[Ljava/lang/Object;Z)Ljava/lang/Object;(ProcessState.java:176)
Please help me out with the same.Thanks,
SaurabhGot the solution. The line in BOLD was missing. It allocates the memory for the object before setting the custAccntNumType object into the Array.
CustomerAccntNumberListType accntNumberListType = CustomerAccntNumberListType.Factory.newInstance();
CustomerAccntNumberType[] cAccntNumberTypesArr = new CustomerAccntNumberType[5];
for (int i = 0; i < 5; i++) {
CustomerAccntNumberType custAccntNumType = CustomerAccntNumberType.Factory.newInstance();
custAccntNumType.setCustomerAccntNumber("Saurabh" + i);
custAccntNumType.setProrationEventId(i);
cAccntNumberTypesArr[i] = custAccntNumType;
try {
accntNumberListType.addNewCustomerAccnt();
accntNumberListType.setCustomerAccntArray(i,custAccntNumType);
} catch(Exception e) {
System.out.println("Cause of the exepion " +e.getCause());
e.printStackTrace();
//throw e;
} -
APEX Listener deployment fails-java.lang.reflect.InvocationTargetException
Hi
I'm trying to intall the Listener and I'm at the point where I do "java -jar apex.war" but I get this:
J-PC:J >java -jar apex.war
null
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 oracle.dbtools.jarcl.Entrypoint.main(Entrypoint.java:58)
Caused by: java.lang.NullPointerException
at oracle.dbtools.common.cmds.DefaultCommand.execute(DefaultCommand.java:70)
at oracle.dbtools.common.cmds.Commands.main(Commands.java:91)
... 5 moreCan anybody help? I have no clue what is going on here.
Thanks,
Jason
Edit: I solved the problem by executing the "java -jar apex.war" command in a DOS box (I had previously tried to do it in cygwin).
Edited by: 942375 on Mar 10, 2013 6:50 PMSolved.
-
Dear all,
i am using bea weblogic 10.0 ant i am downloading the running Inventory.
but the below problem occurc when i run ant task for downloading that is
ant -buildfile propagation_ant.xml downloadSrc the below problem occurs. i am new to bea so how can i debug the problem
VERBOSE: InventoryTreeWalker: visiting node: Application:ContentServices:BEA Repository:ContentNodes:Webmasters:Sports:I won`t step down from presidency Khan.txt
ERROR: The Propagation operation ended in error.
java.lang.reflect.UndeclaredThrowableException
at weblogic.security.providers.xacml.authorization.XACMLAuthorizerMBeanImpl.policyExists(XACMLAuthorizerMBeanImpl.java:245)
at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.bea.p13n.security.internal.SecurityProviderProxy.invoke(SecurityProviderProxy.java:48)
at $Proxy54.policyExists(Unknown Source)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:241)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:239)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.kernelRunAs(SecurityPolicyDelegate.java:433)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.policyExists(SecurityPolicyDelegate.java:246)
at com.bea.p13n.entitlements.management.internal.RDBMSSecurityPolicyManager.getSecurityPolicy(RDBMSSecurityPolicyManager.java:204)
at com.bea.p13n.entitlements.management.SecurityPolicyManager.getSecurityPolicy(SecurityPolicyManager.java:119)
at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicy(SecurityHelper.java:146)
at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicies(SecurityHelper.java:122)
at com.bea.propagation.content.online.hierarchy.ContentNodeHierarchy.discoverChildren(ContentNodeHierarchy.java:113)
at com.bea.propagation.framework.hierarchy.ListNodeHierarchy.getChildrenNodes(ListNodeHierarchy.java:113)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:215)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:158)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:102)
at com.bea.propagation.framework.tool.io.InventoryTreeExport.walkDepthFirst(InventoryTreeExport.java:88)
at com.bea.propagation.framework.tool.io.InventoryFolderExport.walkDepthFirst(InventoryFolderExport.java:110)
at com.bea.propagation.framework.tool.io.InventoryArchiveExport.walkDepthFirst(InventoryArchiveExport.java:103)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:1017)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:991)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation_Remote(InventoryManagementServlet.java:510)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation(InventoryManagementServlet.java:453)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doService(InventoryManagementServlet.java:318)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doPost(InventoryManagementServlet.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:315)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
ERROR: The Propagation operation ended in error.
java.lang.reflect.UndeclaredThrowableException
at weblogic.security.providers.xacml.authorization.XACMLAuthorizerMBeanImpl.policyExists(XACMLAuthorizerMBeanImpl.java:245)
at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.bea.p13n.security.internal.SecurityProviderProxy.invoke(SecurityProviderProxy.java:48)
at $Proxy54.policyExists(Unknown Source)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:241)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:239)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.kernelRunAs(SecurityPolicyDelegate.java:433)
at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.policyExists(SecurityPolicyDelegate.java:246)
at com.bea.p13n.entitlements.management.internal.RDBMSSecurityPolicyManager.getSecurityPolicy(RDBMSSecurityPolicyManager.java:204)
at com.bea.p13n.entitlements.management.SecurityPolicyManager.getSecurityPolicy(SecurityPolicyManager.java:119)
at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicy(SecurityHelper.java:146)
at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicies(SecurityHelper.java:122)
at com.bea.propagation.content.online.hierarchy.ContentNodeHierarchy.discoverChildren(ContentNodeHierarchy.java:113)
at com.bea.propagation.framework.hierarchy.ListNodeHierarchy.getChildrenNodes(ListNodeHierarchy.java:113)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:215)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:158)
at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:102)
at com.bea.propagation.framework.tool.io.InventoryTreeExport.walkDepthFirst(InventoryTreeExport.java:88)
at com.bea.propagation.framework.tool.io.InventoryFolderExport.walkDepthFirst(InventoryFolderExport.java:110)
at com.bea.propagation.framework.tool.io.InventoryArchiveExport.walkDepthFirst(InventoryArchiveExport.java:103)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:1017)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:991)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation_Remote(InventoryManagementServlet.java:510)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation(InventoryManagementServlet.java:453)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doService(InventoryManagementServlet.java:318)
at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doPost(InventoryManagementServlet.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:315)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)your error seems to indicate that your embeddedLdap isnt in sync with the Database ? Did you either delete files from your file systems or cleanup the portal db or finally used a copy of some existing database for your domain?
-
Error Deploying Application under SP2
Hi,
I'm using WebLogic Server SP2 on Win2000. When I try to deploy my web Application I get following error on console
<Aug 5, 2002 9:21:38 AM EDT> <Error> <J2EE> <Error deploying application XXXX: Could not load XXXX>
<Aug 5, 2002 9:21:38 AM EDT> <Error> <Management> <Error deploying application .\config\mydomain\applications\XXXX.war: java.lang.reflect.UndeclaredThrowableException>
However, on the console (Admin Page) says
Receiving file...upload has completed, now installing... done
.\config\mydomain\applications\certificate.war
.\config\mydomain\applications\XXXX.war
My application was working fine with SP1.
Is this a know problem?
Is there any solution available?
Thanks
NirajPls mention WLS version?
Is it 6.0 or 6.1?
Does your webapp deploys if you configure it, instead of installing it?
Also try the same from command line and see if that helps
Kumar
Niraj Tank wrote:
Hi,
I'm using WebLogic Server SP2 on Win2000. When I try to deploy my web Application I get following error on console
<Aug 5, 2002 9:21:38 AM EDT> <Error> <J2EE> <Error deploying application XXXX: Could not load XXXX>
<Aug 5, 2002 9:21:38 AM EDT> <Error> <Management> <Error deploying application .\config\mydomain\applications\XXXX.war: java.lang.reflect.UndeclaredThrowableException>
However, on the console (Admin Page) says
Receiving file...upload has completed, now installing... done
.\config\mydomain\applications\certificate.war
.\config\mydomain\applications\XXXX.war
My application was working fine with SP1.
Is this a know problem?
Is there any solution available?
Thanks
Niraj -
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. -
Java.lang.reflect.InnvokationTargetException
Hello everybody,
I am getting following error logs while executing my swing application.
java.lang.reflect.InnvokationTargetException
at sun.reflect.delegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Mehod:java:324)
I am trying to call some class's method using reflection principle.
All values of acces modifier, return type, method name, args are correct at run time. I don't understand why i am getting this error.
Can anybody please help me.
Thanks and regards
Girish VardeI would say that this sentence is rather confusing since you get the exception nonetheless.The sentence means when I am in debug mode and check value of the actual class whose method is called, the class value is correct. It's not that the class whose method I am calling does not exist.
First I give the reference error log which you can use to locate at what point the exception is thrown.
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.apsiva.commframework.server.Communicator.processRequest(Communicator.java:45)
at com.apsiva.commframework.server.CommunicationServlet.processRequest(CommunicationServlet.java:92)
at com.apsiva.commframework.server.CommunicationServlet.doPost(CommunicationServlet.java:30)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
public class Communicator implements java.io.Serializable{
public static final String DECENTRALIZED_MODE = "decentralizedMode";
//applicationMode could be localMode or distributedMode or decentralizedMode
public static final String DISTRIBUTED_MODE = "distributedMode";
public static final String LOCAL_MODE = "localMode";
* Communicator constructor comment.
public Communicator() {
super();
public Object processRequest(Request request) throws java.lang.Exception {
Object obj = null;
try
String str = request.getActionCode();
System.out.println("Printing str : " + str);
if (str == null)
return null;
Class cls = ActionCodes.class;
Field f = cls.getField(str);
String actionClassName = (String)f.get(null);
if (actionClassName == null)
return null;
cls = Class.forName(actionClassName);
Object actionObj = cls.newInstance();
System.out.println("Printing actionClassName : " + actionClassName);
Method mthd = cls.getMethod("processRequest", new Class[]{Request.class});
System.out.println("Printing mthd : " + mthd);
obj = mthd.invoke(actionObj, new Object[]{request}); // line 45
return obj;
} catch (Exception e)
e.printStackTrace();
throw e;
public class CommunicationServlet extends HttpServlet{
private Communicator communicator = null;
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
doPost(req,res);
}//end of doGet
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
res.setContentType("text/html");
Response response = null;
OutputStream o = null;
try{
Request request = getSerializedRequest(req);
//logString("The seriliazed object is: " + request.toString());
response = (Response)processRequest(request);
o = res.getOutputStream();
sendSerializedResponse(o, response);
}catch(Exception e){
e.printStackTrace();
try{
if(o != null)sendSerializedResponse(o, e);
else {
o = res.getOutputStream();
sendSerializedResponse(o, e);
}catch(Exception ignor){
ignor.printStackTrace();
}//end of doPost
public Communicator getCommunicator() {
return new Communicator();
private HashMap getParams(HttpServletRequest req){
Enumeration enu = req.getParameterNames();
HashMap map = new HashMap();
while(enu.hasMoreElements()){
String name = (String)enu.nextElement();
String value = req.getParameter(name);
if(name != null && !name.equals("") && value != null){
map.put(name, value);
}//end of if
}//end while
return map;
}//end of getParams
private Request getSerializedRequest(HttpServletRequest req) throws Exception{
log("start getSerializedRequest()");
Request request = null;
try{
ObjectInputStream oIn = new ObjectInputStream(req.getInputStream());
Object o = oIn.readObject();
oIn.close();
request = (Request)o;
return request;
}catch(Exception e){
logString("CommunicationServlet cannot receive serialized object.");
e.printStackTrace();
throw e;
}//end of getRequest
private void logString(Object s){
if(s != null) System.out.println(s);
else System.out.println("Received null object.");
public Object processRequest(Request request) throws Exception {
return this.getCommunicator().processRequest(request); // line 92
private void sendSerializedResponse(OutputStream o, Object resp) throws Exception{
if(o != null){
ObjectOutputStream oOut = new ObjectOutputStream(o);
oOut.writeObject(resp);
oOut.flush();
oOut.close();
public void setCommunicator(Communicator newCommunicator) {
communicator = newCommunicator;
} -
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. -
Ok - All help is really appreciated!
I'll get the configuration questions out of the way first...I'm using:
JWSDP 1.1
JDK 1.3.1_08
J2EE 1.3.1
I've been able to successfully run the "Hello World" example provided by the JWSDP 1.1 tutorial. I'm now trying to generate a WSDL using an interface that had worked with JWSDP 1.0 EA, but I'm getting the following error:
process-war:
[echo] Running wsdeploy....
[echo] CLASSPATH=C:\ATG\DAS6.2.0\DAS\lib\classes.jar:D:\j2sdkee1.3.1\lib\j2ee.jar:C:\ATG\ATG6.2.0\CIWS\lib\cacjdbc.jar:C:\ATG\ATG6.2.0\CIWS\lib\CIWS_JAXB.jar:C:\ATG\ATG6.2.0\CIWS\lib\oromatcher.jar:C:\ATG\ATG6.2.0\CIWS\lib\classes12.zip:C:\ATG\ATG6.2.0\CIWS\j2ee-apps\ciws\java-code:C:\ATG\ATG6.2.0\CIWS\j2ee-apps\ciws\web-app\WEB-INF\classes
[exec] info: created temporary directory: D:\ciws-ws\ciws\build\wsdeploy-generated\jaxrpc-deploy-615014
[exec] java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: javax/ejb/CreateException
[exec] at java.lang.Class.getMethods0(Native Method)
[exec] info: processing endpoint: ciws
[exec] at java.lang.Class.getMethods(Class.java:737)
[exec] at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.processInterface(RmiModeler.java:270)
[exec] at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.modelPort(RmiModeler.java:232)
[exec] at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.buildModel(RmiModeler.java:195)
[exec] at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:85)
[exec] at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:61)
[exec] at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:368)
[exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.process(DeployTool.java:259)
[exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.process(DeployTool.java:229)
[exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.run(DeployTool.java:182)
[exec] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:41)
[exec] at com.sun.xml.rpc.tools.wsdeploy.Main.main(Main.java:24)
[exec] at java.lang.reflect.Method.invoke(Native Method)
[exec] at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
[exec] Result: 1
Here are my configuration files:
common/build.properties
# This file contains properties common to the tutorial examples
# for JAX-RPC.
jwsdp.home=D:\\jwsdp-1.1
tut-root=${jwsdp.home}/docs
# tut-root=D:\\wspack-docs
build=build
url=http://localhost:8080/manager
jaxrpc.home=${jwsdp.home}/jaxrpc-1.0.3
jaxp.holme=${jwsdp.home}/jaxp-1.2.2
saaj.home=${jwsdp.home}/saaj-1.1.1
wscompile-path=${jaxrpc.home}/bin
rlib=${jaxrpc.home}/lib
plib=${jaxp.home}/lib
pelib=${jaxp.home}/lib/endorsed
slib=${saaj.home}/lib
wlib=${jwsdp.home}/jwsdp-shared/lib
rjars=${rlib}/jaxrpc-api.jar:${rlib}/jaxrpc-ri.jar
pjars=${plib}/jaxp-api.jar
pejars=${pelib}/xercesImpl.jar:${pelib}/xalan.jar:${pelib}/xsltc.jar:${pelib}/dom.jar:${pelib}/sax.jar
sjars=${slib}/saaj-api.jar:${slib}/saaj-ri.jar:${slib}/dom4j.jar
wjars=${wlib}/jax-qname.jar:${wlib}/commons-logging.jar:${wlib}/mail.jar:${wlib}/activation.jar
jwsdp-jars=${rjars}:${pjars}:${pejars}:${sjars}:${wjars}
build.properties
# This file is referenced by the build.xml file.
atg-home=C:\\ATG
ciws-home=${atg-home}\\ATG6.2.0\\CIWS
example=ciws
context-path=ciws
package-name=/com/enc/ciws/wrapper
client-class=com.enc.ciws.client.CiwsClient
client-jar=${example}-client.jar
portable-war=${example}-portable.war
deployable-war=${context-path}.war
# ORIGINAL --> war-path=${tut-root}/tutorial/examples/jaxrpc/${example}/dist/${deployable-war}
war-path=D:\\ciws-ws\\ciws\\dist\\${deployable-war}
atg-das-jar=${atg-home}\\DAS6.2.0\\DAS\\lib\\classes.jar
j2ee-jar=D:\\j2sdkee1.3.1\\lib\\j2ee.jar
ciws-jars=${ciws-home}\\lib\\cacjdbc.jar:${ciws-home}\\lib\\CIWS_JAXB.jar:${ciws-home}\\lib\\oromatcher.jar:${ciws-home}\\lib\\classes12.zip
ciws-classes=${ciws-home}\\j2ee-apps\\ciws\\java-code:${ciws-home}\\j2ee-apps\\ciws\\web-app\\WEB-INF\\classes
custom-classpath=${atg-das-jar}:${j2ee-jar}:${ciws-jars}:${ciws-classes}
build.xml
<!DOCTYPE project [
<!ENTITY commonTargets SYSTEM "./ciws-targets.xml">
]>
<project name="JAX-RPC Tutorial" default="build" basedir=".">
<property file="${user.home}/build.properties"/>
<property file="../common/build.properties"/>
<property file="build.properties"/>
&commonTargets; <!-- The ant targets are in ../common/targets.xml -->
<target name="build" depends="build-service"
description="Executes the targets needed to build the service.">
</target>
</project>
config.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl location="http://localhost:8080/ciws/ciws?WSDL" packageName="com.enc.ciws.wrapper"/>
</configuration>
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
<web-app>
<display-name>CIWS</display-name>
<description>A web application containing a JAX-RPC endpoint for CIWS</description>
<session-config>
<session-timeout>60</session-timeout>
</session-config>
</web-app>
jaxrpc-ri.xml
<?xml version="1.0" encoding="UTF-8"?>
<webServices
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd"
version="1.0"
targetNamespaceBase="http://com.test/wsdl"
typeNamespaceBase="http://com.test/types"
urlPatternBase="/ws">
<endpoint
name="ciws"
displayName="CIWS"
description="A web service to inquiry about claims"
interface="com.enc.ciws.wrapper.CIWSWrapper"
implementation="com.enc.ciws.wrapper.CIWSWrapperImpl"/>
<endpointMapping endpointName="ciws" urlPattern="/ciws"/>
</webServices>
Snippets of ant script (ciws-targets.xml)
<target name="process-war" depends="set-ws-scripts"
description="Runs wsdeploy to generate the ties and create a deployable WAR file">
<echo message="Running wsdeploy...."/>
<echo message="CLASSPATH=${custom-classpath}"/>
<delete file="dist/${deployable-war}" />
<exec executable="${wsdeploy}">
<arg line="-verbose"/>
<arg line="-keep"/>
<arg line="-tmpdir"/>
<arg line="${build}/wsdeploy-generated"/>
<arg line="-classpath"/>
<arg line="${custom-classpath}"/>
<arg line="-o"/>
<arg line="dist/${deployable-war}"/>
<arg line="dist/${portable-war}"/>
</exec>
</target>
And finally the code!! (I know, I know...probably not good with all the exceptions)
package com.enc.ciws.wrapper;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface CIWSWrapper extends java.rmi.Remote {
String getAdjusterInfo(String claimInquiryRS) throws java.rmi.RemoteException;
String getClaimDetail(String requestString)
throws
java.rmi.RemoteException,
java.io.IOException,
javax.xml.bind.ValidationException,
javax.xml.bind.UnmarshalException,
javax.ejb.CreateException,
javax.naming.NamingException,
com.enc.ciws.utils.exception.InvalidRequestException;
String getClaimHistory(String requestString) throws java.rmi.RemoteException;
String getClaimSummaryByPolicyHolderInfo(String claimInquiryRS)
throws
java.rmi.RemoteException,
java.io.IOException,
java.text.ParseException,
javax.xml.bind.ValidationException,
javax.xml.bind.UnmarshalException,
javax.ejb.CreateException,
javax.naming.NamingException,
com.enc.ciws.utils.exception.InvalidRequestException;
String getClaimSummaryByPolicyNumber(String claimInquiryRS)
throws
java.rmi.RemoteException,
java.io.IOException,
javax.xml.bind.ValidationException,
javax.xml.bind.UnmarshalException,
javax.ejb.CreateException,
javax.naming.NamingException,
com.enc.ciws.utils.exception.InvalidRequestException;
String getClaimSummaryByStatus(String claimInquiryRS)
throws
java.rmi.RemoteException,
java.io.IOException,
java.text.ParseException,
javax.xml.bind.ValidationException,
javax.xml.bind.UnmarshalException,
javax.ejb.CreateException,
javax.naming.NamingException,
com.enc.ciws.utils.exception.InvalidRequestException;
public String getPaymentDetail(String requestString)
throws java.rmi.RemoteException;
String getSubroDetail(String requestString)
throws
java.rmi.RemoteException,
java.io.IOException,
javax.xml.bind.ValidationException,
javax.xml.bind.UnmarshalException,
javax.ejb.CreateException,
javax.naming.NamingException,
com.enc.ciws.utils.exception.InvalidRequestException;
}try just using the wscompile.bat/.sh commandline tool first. It will automatically setup the classes used
by wscompile and jaxrpc, you will only then need to specify the classpath to your classes on the
commandline. This might help you isolate the problem so you can fix the ant tasks. -
Axis error: java.lang.reflect.InvocationTargetException
Hello!
I have seen this question, asked many times, but I couldn't find any suitable solution for my problem. I am deploying a web service with Apache Tomcat 5.5.27 and Axis 1.4
When I make a call to the service in this way:
try{
call.setTargetEndpointAddress(new URL(endpoint));
}catch(Throwable e)
System.out.println("ERROR: " + e.getMessage() + " CAUSE: " + e.getCause());
e.printStackTrace();
return;
call.setOperationName(new QName("bookTicket"));
call.addParameter("flightIDs",XMLType.SOAP_ARRAY, ParameterMode.IN);
call.setReturnType(XMLType.XSD_STRING);
String reservationID = null;
try{
reservationID = (String)call.invoke(new Object[] {params});
}catch(Throwable e)
System.out.println("ERROR: " + e.getMessage() + " CAUSE: " + e.getCause());
e.printStackTrace();
return;
}I get the following error:
ERROR: java.lang.reflect.InvocationTargetException CAUSE: null
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.reflect.InvocationTargetException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:andr33a
java.lang.reflect.InvocationTargetException
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at client.AirplaneServiceClient.main(AirplaneServiceClient.java:113)The signature of the method I am calling looks like this:
public String bookTicket(String [] flightIDs) My CLASSPATH is set corectly and all the jars are in the right places (or at least most of them), because when I call any other method of my service, it works.
If anyone has encountered the same problem, any help would be appreciated.
I have tried to look in tomcat logs, but I didn't find anything relevant.
Thanks and looking forward for some answers.Steven,
Yes that is correct I receive this error message the moment I'am running JAG
This is the stack trace as you described:
Loading JHeadstart Addins
Addin | Version | Status
JHeadstart Shared Components| 11.1.1.0.31| Loaded
JHeadstart Utilities| 11.1.1.0.31| Loaded
JHeadstart Application Generator| 11.1.1.0.31| Loaded
JHeadstart Development Environment| 11.1.1.0.31| Loaded
JHeadstart Forms2ADF Generator| 11.1.1.0.31| Loaded
20:42:35 INFO (CollectionFactory) -Commons Collections 3.x available
20:42:35 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
20:42:35 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
20:42:35 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.set.ListOrderedSet]
JHeadstart Debugger: no debug session exists with key: "JAG"
20:42:42 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
20:42:42 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
20:42:42 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.set.ListOrderedSet]
20:42:44 DEBUG (ReloadableResourceBundleMessageSource) -Clearing entire resource bundle cache
20:42:45 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
JagRunner$1[102]: Invoking garbage collector
Regards,
Menk -
Using OWB in MOC map i am getting error:java.lang.reflect.invoc
Hi All,
When i am trying to deploy any of the ammping using OWB for oracle MOC.
As part of the deployment, when I tried for the first following mapping:
using MTH-->MTH_TARGET--> Mapping
· List of deployable objects and category (EBS-Specific / Non-EBS Specific)
· EBS Specific-Maps : MTH_WO_OI_INIT_DMF_MAP
I am gettinge the following error while opening the map :
java.lang.reflect.invocationtargetexception
Because of that its not deploying at all for any of the mapping.
I am sometimes getting error nested transactions are being carried out .But if I logging in and logging out this error doesn't comes but the error which I mentioned comes. (java.lang.reflect.invocationtargetexception)
Will appreciate, if anybody gets teh same error or have some solution.
Regards,
Ashok.your error seems to indicate that your embeddedLdap isnt in sync with the Database ? Did you either delete files from your file systems or cleanup the portal db or finally used a copy of some existing database for your domain?
-
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 singhHello,
I'm having the same problem, did you find a solution?
Thanks, regards, -
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
-
Calling custom BSP application from CRM PCUI
Hi, We are using the CRM PCUI for channel partner management. Since PCUI framework has some limitations as to how the data is formatted in the layout such as no multiple value selection ( Being a generic framework using blueprint tables we have to us
-
HT201272 hi. im have a HUGE trouble with a album i preordered.
.this is very frustrating. it says on the album when i go into the itunes store that i purchased it. but it is nowhere to be found on my itunes. please help
-
Streaming video via Itunes to ATV2
Just got my ATV2 and it's all working great. Ther's only one thing that I can't seem to figure out how to do. I manage to play video when I select them on the ATV, but I can't seem to be able to start playing a video on itunes on my computer and then
-
Best Performance for apex over Linux+HW RAID
Dear Experts, Given: -- Server Specs: ---- HP ProLiant ML370 G6 E5540 ---- Processor name: Intel® Xeon® E5540 (4 core, 2.53 GHz, 8MB L3, 80W) ---- Storage Controller: (1) Smart Array P410i/256MB ---- 8 SAS HardDisks with 320 GB for each ---- 12 GB RA
-
Games won't run above 1024 x 768 on Satellite P100-240
I have a Satellite P100-240 with geforce 7900gs 512mb graphics, running xpmc, games run fine however they will not run above 1024 x 768. The native resolution is 1400 x 900 but the scaling feature does not seem to work. If i try to run anyhing above