Error during EAR deployment with EJB and web service
I created a simple stateless EJB with one method called echo that returns a string. I created a web service using the wizard, did a build and deployed. The deployment did not report an error, but the logs in the visual administrator showed the follwoing message, and the web service did NOT deploy.
Am I missing something related to EJB and web service security?
PLEASE HELP ME.
>>> Warning: delete security configuration [apps/com.areva/ear/ejb/security/com.areva~ejb.jar]
[EXCEPTION]
java.lang.Exception
at com.sap.engine.services.security.server.PolicyConfigurations.unregisterPolicyConfiguration(PolicyConfigurations.java:153)
at com.sap.engine.services.ejb.EJBAdmin.remove(EJBAdmin.java:2538)
at com.sap.engine.services.deploy.server.application.RemoveTransaction.removeApplication(RemoveTransaction.java:294)
at com.sap.engine.services.deploy.server.application.RemoveTransaction.prepare(RemoveTransaction.java:178)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:299)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:321)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3028)
at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:820)
at com.sap.engine.services.deploy.server.DeployRuntimeControlImpl.remove(DeployRuntimeControlImpl.java:271)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157)
at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220)
at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803)
at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
I have the same message. I am running sp11.
Does anyone have an answer for this?????
>>> Warning: delete security configuration [apps/avalero.com/rtfa-ear/contextRoot]
[EXCEPTION]
java.lang.Exception
at com.sap.engine.services.security.server.PolicyConfigurations.unregisterPolicyConfiguration(PolicyConfigurations.java:153)
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.removeSecurityResources(WebContainerHelper.java:905)
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.remove(WebContainerHelper.java:447)
at com.sap.engine.services.servlets_jsp.server.container.RemoveAction.remove(RemoveAction.java:50)
at com.sap.engine.services.servlets_jsp.server.container.WebContainer.remove(WebContainer.java:150)
at com.sap.engine.services.deploy.server.application.RemoveTransaction.removeApplication(RemoveTransaction.java:294)
at com.sap.engine.services.deploy.server.application.RemoveTransaction.prepare(RemoveTransaction.java:178)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:299)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3033)
at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:821)
at com.sap.engine.services.deploy.server.DeployRuntimeControlImpl.remove(DeployRuntimeControlImpl.java:271)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:255)
at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157)
at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220)
at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803)
at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Similar Messages
-
Deployment Aborted (EJB and Web Services)
Hello All.
In SAP Netweaber Developer Studio I created a Project with an Entity EJB and another Sesion EJB.
The Sesion Bean uses the Entity Bean (persistence). After this, it generate a Web Services.
After building the project ejb and project EAP. Within the Project EAP I took file Persistent_EAP.ear and to make respective deploy on the Server, in the Deploy out View I get the message 'Deploy Aborted'.
The log of the message say,
++Sep 30, 2011 5:43:05 PM Info: - Starting deployment -++
++Sep 30, 2011 5:43:05 PM Info: Error handling strategy: OnErrorStop++
++Sep 30, 2011 5:43:05 PM Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop++
Sep 30, 2011 5:43:05 PM Info: Update strategy: UpdateAllVersions
Sep 30, 2011 5:43:05 PM Info: Starting deployment prerequisites:
Sep 30, 2011 5:43:10 PM Info: Loading selected archives...
Sep 30, 2011 5:43:10 PM Info: Loading archive 'C:\usr\sap\J2E\JC01\SDM\program\temp\temp38292Persistencia_Mod_EAP.ear'
Sep 30, 2011 5:43:16 PM Info: Selected archives successfully loaded.
Sep 30, 2011 5:43:16 PM Info: Actions per selected component:
Sep 30, 2011 5:43:16 PM Info: Update: Selected development component 'Persistencia_Mod_EAP'/'sap.com'/'localhost'/'2011.09.30.16.03.19'/'1' updates currently deployed development component 'Persistencia_Mod_EAP'/'sap.com'/'localhost'/'2011.09.30.16.03.19'/'0'.
Sep 30, 2011 5:43:16 PM Info: Ending deployment prerequisites. All items are correct.
Sep 30, 2011 5:43:16 PM Info: Saved current Engine state.
Sep 30, 2011 5:43:16 PM Info: Starting: Update: Selected development component 'Persistencia_Mod_EAP'/'sap.com'/'localhost'/'2011.09.30.16.03.19'/'1' updates currently deployed development component 'Persistencia_Mod_EAP'/'sap.com'/'localhost'/'2011.09.30.16.03.19'/'0'.
Sep 30, 2011 5:43:16 PM Info: SDA to be deployed: C:\usr\sap\J2E\JC01\SDM\root\origin\sap.com\Persistencia_Mod_EAP\localhost\1\2011.09.30.16.03.19\temp38292Persistencia_Mod_EAP.ear
Sep 30, 2011 5:43:16 PM Info: Software type of SDA: J2EE
Sep 30, 2011 5:43:16 PM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
Sep 30, 2011 5:46:13 PM Info: Begin of log messages of the target system:
11/09/30 17:43:16 - ***********************************************************
11/09/30 17:43:21 - Start updating EAR file...
11/09/30 17:43:21 - start-up mode is lazy
11/09/30 17:43:22 - EAR file updated successfully for 922ms.
11/09/30 17:43:22 - Start updating...
11/09/30 17:43:25 - EAR file uploaded to server for 1594ms.
11/09/30 17:46:13 - ERROR: Not updated. Deploy Service returned ERROR:
java.rmi.RemoteException: Cannot deploy application sap.com/Persistencia_Mod_EAP..
Reason: Webservices common deployment exception! The reason is: Error occurred, trying to update web services for application sap.com/Persistencia_Mod_EAP. . Additional info: none; nested exception is:
+ java.lang.Exception: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, trying to update web services for application sap.com/Persistencia_Mod_EAP. . Additional info: none+
I don't know what is wrong, when say: Error occurred, trying to update web services for application...
Could someone please help me?
Thanks in advanced,
EstherDear Esther,
This exception usually happens when the application is not packaged properly.
It seems that the J2EE engine web services deployment processor is looking for a descriptor which is absent in the jar file.
This could happen for instance if you forget to save all the modified files before rebuilding.
Unfortunately I cannot tell you which web service descriptor is missing, without looking at the packaged application.
Try the following:
1) Regenerate your virtual interfaces
2) Save all modified files
3) Rebuild the application
4) Deploy the application again.
Best Regards,
Abhishek -
Business Connector problem with SSL and Web Services
Hi,
I have generated a Web Connector Service and tested this in our DEV and QA environment with http and no credentials.
All is fine.
I now switched to SSL and was provided with an https WSDL by our Web Server developers. The Web Connector service generates fine however as soon as I execute the service I get a NumberFormatException. Exact error is:
java.io.IOException:java.lang.NumberFormatException: null
The error occurs in pub.client:http
I traced through the working (in QA) and non-workinfg versions and checked the pipeline prior to the call and can see no different apart from the difference in protocol.
Does anyone have any idea what the cause is? I cannot determine what value is null.
Thanks
BrianHi,
I have generated a Web Connector Service and tested this in our DEV and QA environment with http and no credentials.
All is fine.
I now switched to SSL and was provided with an https WSDL by our Web Server developers. The Web Connector service generates fine however as soon as I execute the service I get a NumberFormatException. Exact error is:
java.io.IOException:java.lang.NumberFormatException: null
The error occurs in pub.client:http
I traced through the working (in QA) and non-workinfg versions and checked the pipeline prior to the call and can see no different apart from the difference in protocol.
Does anyone have any idea what the cause is? I cannot determine what value is null.
Thanks
Brian -
WSDL error during generation of ABAP proxy for web service
Hi friends,
I am getting error during the generation of ABAP proxy object for web service developed in .NET .
Error : Proxy generation terminated: WSDL error (<extension> not supported).
How to make this WSDL file compatible for ABAP proxy.
I have tried to edit WSDL file in XML Spy but did not get any option to replace/remove the tag <extention>.
If any one worked on this. Please help me its urgent.
Thanks and regards,
Shivanand.HI ,
I am having the same issue!!!
Does ABAP Proxy Generation support <extension> ?
Is there a list available of what is supported and what not (please consider I do not have access to sap notes)?
Thanks -
EJBs and web services in Application server ??
Hi all,
I just wanted to ask for a help in a scenario that i am facing:
I have a Application that relies on EJBs for Business Logic
I basically use the Jboss A/s[4.2.2 GA] server for the same and now there is a need to Expose these bean methods through a web service
so that our web team can make use of the same Business logic.
Currently i have implemented a End point interface that my Bean class implements so that i can expose
my bean methods to the web team
Req:
I want to create a separate Enterprise Bean which resides in the same JVM as my Application bean , and acts as a wrapper for my application bean
Also,
Further elaboration of the problem is as follows:
THE existing Application beans Remote interface has all the business methods that i want to expose.
The new bean should act as a delegate which intercepts the web clients call extracts the request from the call
and passes it to the application bean methods.
So this basically requires that new bean should be able to communicate with my application bean +(Which is BTW a stateless session bean)+
and pass on clients requests to the same.
Kindly provide suggestion for the same or any ideas as soon as possible
thanks again
veneet
Edited by: RainaV on 14 May, 2009 6:49 PM
Edited by: RainaV on 14 May, 2009 6:57 PMLet me make it more clear for everyone
Let [A] be my application bean which has all the business Logic.
is a new wrapper bean that needs to communicate to bean [A] for accessing the Business Logic
The requirement for creating Bean[B] is two folds
1) it will provide a wrapper class for breaking down the web client requests,
which are in XML format;
into simpler data structure which can be passed as parameters to bean [A}.
2)This bean [B] will send the response back to the web client who is in need of the service
Now as pointed out by one of the guys why not create a Local interface that is not possible at this point as Most of the session bean methods have been declared to throw
Remote Exceptions and i am faced with the issue that this Design mistake is irreversible due to the Size of the Code and other factors
Now i have been looking and some Alternatives for the same .
The problem is i have not been able to find any way to do the same and need suggestions and ideas if anyone has some on this issue
i hope this clears the matter
thanks again
veneet -
Hi,
I have created a EJB project with Stateless Session Bean having just one method, Java persitence (connnection to MS SQL). I have added this project to the Enterprise project as well.From the context menu when I select to create Web Service. The method is not selectable.
What is going wrong?
Can somebody please help?
Best regards,
DharmiHi Dharmi,
How did you do that? Create an EJB which connects to MS SQL?
Are there specific jars or something that have to be added to the EJB?
Did you also have to install a SQL server driver and such?
Can you provide a step-by-step for the creation of an EJB which gathers data from MS SQL?
Kind regards
Allan -
Programming the Oracle Database with Java and Web Services: sample chapter
This will be the first book devoted to Java in the Oracle Database: read the sample chapter @ http://www.oracle.com/technology/books/pdfs/mensah_ch1.pdf
This book also covers the latest Oracle JDBC, Oracle SQLJ, JPublisher and Database Web Services A brief description @
http://www.elsevier.com/wps/find/bookdescription.cws_home/706089/description#description
Thanks, KuassiHi Kuassi,
Thanks for letting us know that your book is available. I have been following one of your articles about "Virtualize Your Oracle Database with Web Services". More specifically "The Database as Web Services Consumer". I think that this is an area that has in the past been under estimated as to the potential benefits.
I am currently trying to develop a solution that consumes several interfaces with a couple of them being published web services, so an ideal solution. I have then spent the last three weeks having to read up about the architecture of Java in the database, Jpublisher and make sense of how it all works together.
I have got very close to getting one of the web services to work but failed due to using 10gR2 where all the java & libraries has moved to version 1.5. The solution is to load the jdk1.4.2 and configure jpublisher to use this. So far so good except this is not available on some platforms, Windows - 64 bit (not itanium).
The configuration is proving very challenging but will hopefully reap rewards.
(Thought I would give you some background to my experience).
Anyway my question to you is having looked at Jdeveloper it appears to do almost anything except consume services into the database, also with Java now being at version 1.5 outside the database for 10gR2 and supporting 1.4 inside, do you see some alignment of these in future database releases?
Finally off to buy your book now as no doubt there is a huge amount more to learn.
Kind Regards
David O'Donnell -
Help needed with flash and web service call
Hi all,
I need some help with web services and flash. I'm very new to flash, so please have that in the back of your mind when reading this :-)
I've got a .swf file, and I would like to display a number received from a web service (using adobe flash professional cs5). Ive added the web service and provided the WSDL, but when i try to "Add Method Call", nothing happens. Why? What am I doing wrong?
Hope someone can helpstart with the button that causes the text to be displayed. find what it does (which may not be easy because most templates are coded by novice or intermediate level coders) and follow that trail to the text. (note: the text may be in a txt or xml file that's loaded.)
to have a button release open a file, use:
yourbtn.onRelease=function(){
getURL("http://www.adobe.com"); -
Sharing config with Servlet and Web Services
Hi,
I am building a Servlet wrapper and a jaxrpc wrapper for my application, so that my client can invoke either servlet or web services to access my application.
my main application library is at WEB-INF/lib and both the servlet and
webservices are in WEB-INF/classes.
I am trying to make them sharing the same configuration file web.xml so that common attributes such as log file location can be read. I know Servlet can read the context and parameters but how to make my web services app to read it, since the web services are not servlet itself but it is invoked by the JAXRPC servlet????
ThanksThe early post may answer your question:
http://forum.java.sun.com/thread.jsp?forum=331&thread=266102 -
WLS 8.1 two domains with EJB and webapp deployed has JVM conflicts?
Test configuration environment:
Windows 2003 server installed with weblogic 8.1 server and oracle 9i.
This weblogic server have two domains, one is for EJB deployment, the other is a webapp that implements accessing to oracle through EJB.
The issue is when we tested a method provided by the EJB that uses double to calculate some total value, the result was correct. But when we tested it using webapp that was deployed on the same server of EJB, it's result was negative or zero.
I think the reason is that the JVM which both EJB and webapp used for calculation was the same and may made some conflicts when they run at the same time.
Any suggestion would be greatly appreciated.
Thank you in advance!
Shuaibing
Message was edited by:
linuxappleThis morning I deployed that webapp to the Domain that deployed the EJB, The results of calculating in webapp's jsp was correct.
Any one be kind enough to tell me what the calling JVM differences between single domain(deployed by EJB and webapp) and two domains (deployed EJB and webapp separately)? -
Error during lookup of remote ejb CaseService - Oracle ACM 12C Standalone
StandAlone Setup:
CD %ORACLE_HOME%\soa\common\bin
set QS_TEMPLATES=%ORACLE_HOME%\soa\common\templates\wls\oracle.soa_template_12.1.3.jar, %ORACLE_HOME%\osb\common\templates\wls\oracle.osb_template_12.1.3.jar
qs_config.cmd
Then ran config.cmd from WLS and extended BPM domain, then was able to see composer app in deployment.
AdminServer Args:
set USER_MEM_ARGS=-Xms512m -Xmx3096m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=1024m
Error
====
Error during ejb lookup from bpm services client.
Error during lookup of remote ejb CaseService .
Contact Oracle support if exception can not be fixed.
at oracle.bpm.client.impl.casemgmt.CaseManagementServiceRemoteClient.get
CaseService(CaseManagementServiceRemoteClient.java:86)
at oracle.bpm.casemgmt.customactivity.notification.NotificationCallbackU
til.getCaseService(NotificationCallbackUtil.java:158)
at oracle.bpm.casemgmt.customactivity.notification.NotificationCallbackU
til.isActivityRegistered(NotificationCallbackUtil.java:167)
at oracle.bpm.casemgmt.customactivity.notification.NotificationCallbackU
til.registerEmailActivity(NotificationCallbackUtil.java:83)
at oracle.bpm.casemgmt.fabric.CaseManagementServiceEngine.stateChanged(C
aseManagementServiceEngine.java:1340)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.notifyListene
rs(FabricLifecycle.java:54)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.setState(Fabr
icLifecycle.java:41)
at oracle.integration.platform.blocks.mesh.MeshImpl.postDeployInit(MeshI
mpl.java:204)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:318)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:150)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEven
tAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:202)
at com.sun.proxy.$Proxy324.postDeployInit(Unknown Source)
at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.r
un(FabricKernelInitializerServlet.java:1008)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run
(WorkManagerExecutor.java:184)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManag
er.java:184)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused By: javax.naming.NameNotFoundException: While trying to lookup 'ejb.bpm.c
ase.CaseService' didn't find subcontext 'bpm'. Resolved 'ejb'; remaining name 'b
pm/case/CaseService'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
NamingNode.java:1180)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav
a:265)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j
ava:187)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:21
0)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:22
4)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j
ava:253)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:426)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
at oracle.bpm.client.impl.casemgmt.CaseManagementServiceRemoteClient.get
CaseService(CaseManagementServiceRemoteClient.java:80)
at oracle.bpm.casemgmt.customactivity.notification.NotificationCallbackU
til.getCaseService(NotificationCallbackUtil.java:158)
at oracle.bpm.casemgmt.customactivity.notification.NotificationCallbackU
til.isActivityRegistered(NotificationCallbackUtil.java:167)
at oracle.bpm.casemgmt.customactivity.notification.NotificationCallbackU
til.registerEmailActivity(NotificationCallbackUtil.java:83)
at oracle.bpm.casemgmt.fabric.CaseManagementServiceEngine.stateChanged(C
aseManagementServiceEngine.java:1340)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.notifyListene
rs(FabricLifecycle.java:54)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.setState(Fabr
icLifecycle.java:41)
at oracle.integration.platform.blocks.mesh.MeshImpl.postDeployInit(MeshI
mpl.java:204)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:318)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:150)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEven
tAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:202)
at com.sun.proxy.$Proxy324.postDeployInit(Unknown Source)
at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.r
un(FabricKernelInitializerServlet.java:1008)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run
(WorkManagerExecutor.java:184)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManag
er.java:184)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
>
Please help. The problem does not occur with Integrated WLS. I think the config scripts are correctly running from JDev.Hi,
It's not easy to tell what's wrong with your example.
Maybe you could send me a zip and I'll check when I have some time.
By the way, you're asking a question about the lookup of an EJB3, I wrote an article that covers that topic.
It should give you some interesting input.
http://m-button.blogspot.com/2008/07/reminder-on-how-to-use-ejb3-with.html
Regards. -
Unknown Error while communicating with O365 BEC Web Service
Hi Guys,
When I try to add a new mail user in O365 Exchange, one strange error is thrown.
Are any guys kind enough to help me ?
Here is the script and the error.
PS C:\Users\o365-user> $cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList
'[email protected]', $(ConvertTo-SecureString -String '*******' -AsPlainText -Force)
PS C:\Users\o365-user> $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri 'https:
//ps.outlook.com/powershell/' -Credential $cred -Authentication Basic -AllowRedirection
WARNING: Your connection has been redirected to the following URI:
"https://pod51053psh.outlook.com/powershell-liveid?PSVersion=4.0 "
PS C:\Users\o365-user> Import-PSSession $session
WARNING: The names of some imported commands from the module 'tmp_zkc5sid4.gpq' include unapproved verbs that might
make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the
Verbose parameter. For a list of approved verbs, type Get-Verb.
ModuleType Version Name ExportedCommands
Script 1.0 tmp_zkc5sid4.gpq {Add-AvailabilityAddressSpace, Add-DistributionGroupMember...
PS C:\Users\o365-user> $users=Get-MailUser
PS C:\Users\o365-user> New-MailUser -Name '[email protected]' -DisplayName 'Test LIU'
-MicrosoftOnlineServicesID '[email protected]' -Password $(ConvertTo-SecureString -String '*****' -AsPlainText -Force)
Unknown Error while communicating with O365 BEC Web Service (Exception type
"Microsoft.Exchange.Management.BecWebService.CouldNotCreateBecSyncServiceException", message=
"Microsoft.Exchange.Management.BecWebService.CouldNotCreateBecSyncServiceException: Couldn't create BEC Web Service:
The matching certificate for certificateSubject CN=ExoProvToO365.outlook.com, OU=Microsoft Corporation, O=Microsoft
Corporation, L=Redmond, S=WA, C=US couldn't be found.
Parameter name: certificateSubject ---> System.ArgumentException: The matching certificate for certificateSubject
CN=ExoProvToO365.outlook.com, OU=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=WA, C=US couldn't be
found.
Parameter name: certificateSubject
at Microsoft.Exchange.Security.Cryptography.X509Certificates.TlsCertificateInfo.FindFirstCertWithSubjectDistinguishe
dName(String certificateSubject, Boolean checkForValid)
at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.CreateService(Uri url)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.InvokeWithRetry[TResponse](Action operation)
at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.GetUserByUpn(GetUserByUpnRequest request)
at Microsoft.Exchange.ProvisioningAgent.BecWebServiceLiveIdManager.GetMemberType(SmtpAddress memberName)", inner
message "System.ArgumentException: The matching certificate for certificateSubject CN=ExoProvToO365.outlook.com,
OU=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=WA, C=US couldn't be found.
Parameter name: certificateSubject
at Microsoft.Exchange.Security.Cryptography.X509Certificates.TlsCertificateInfo.FindFirstCertWithSubjectDistinguishe
dName(String certificateSubject, Boolean checkForValid)
at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.CreateService(Uri url)")
+ CategoryInfo : NotSpecified: (0:Int32) [New-MailUser], RecipientTaskException
+ FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=d97a193e-91a7-4430-ac64-6b7003f5b9b0,TimeStamp=4/23/2015
9:37:58 AM] [FailureCategory=Cmdlet-RecipientTaskException] 3F9FDA25,Microsoft.Exchange.Management.RecipientTasks
.NewMailUser
+ PSComputerName : pod51053psh.outlook.com
PS C:\Users\o365-user> New-ManagementRoleAssignment -Role 'ApplicationImpersonation' -User 'test1_1@smokeazu
rebeta5.onmicrosoft.com'
Couldn't find a user with the identity "[email protected]".
+ CategoryInfo : NotSpecified: (:) [New-ManagementRoleAssignment], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=88777637-298d-4bb1-972f-b61161566a57,TimeStamp=4/23/2015
9:37:59 AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 921A76AD,Microsoft.Exchange.Management.Rba
cTasks.NewManagementRoleAssignment
+ PSComputerName : pod51053psh.outlook.com
PS C:\Users\o365-user> New-ManagementRoleAssignment -Role 'Mailbox Search' -User '[email protected]
microsoft.com'
Couldn't find a user with the identity "[email protected]".
+ CategoryInfo : NotSpecified: (:) [New-ManagementRoleAssignment], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=2b64d3a2-97da-4de5-be8c-00ad73452456,TimeStamp=4/23/2015
9:38:00 AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 921A76AD,Microsoft.Exchange.Management.Rba
cTasks.NewManagementRoleAssignment
+ PSComputerName : pod51053psh.outlook.com
PS C:\Users\o365-user> Remove-PSSession $session
PS C:\Users\o365-user>
Thanks
Budlion LIUHello,
Or you can also ask on Exchange Online Forum:
https://social.technet.microsoft.com/Forums/msonline/en-US/home?forum=onlineservicesexchange
Thanks,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Simon Wu
TechNet Community Support -
ME11 update error : Error during insert EINE with key
HI All,
I am facing the below problem..For one particular user update request is failing in ME11 transaction.Error was found in function module name ME_UPDATE_INFORECORD.I also check if it is number range problem but it is not the case..
Please help me out..
Thanks in advacne.Hi,
The problem is that only one user is getting sporadic failed update messages (since last 3-4 days) when using transaction ME11. The error as recorded in SM13 is "Error during insert EINE with key <Inforecord #> <Pur Org>".
I checked the table EINE for the key mentioned in the above message and found that there is a 2 years old record with the same key. Now, what I do not understand is that while creating a new Inforecord, why does SAP comes up with an old number instead of generating a new one from the number range object. I tried to search on SDN as well as OSS Notes, but could not find any mention to this problem.
And yes, it is an abend message with no short dump...
Thanks,
Gaurav
Edited by: Gaurav Malhotra on Feb 24, 2012 3:08 PM -
Export data to excel with EPPlus and Web Api - HELP!
I am trying to do a simple excel file export with EPPlus and Web Api. In the html client I have a button that calls the web api and opens a new window. No error is thrown, but the result is always "file could not be downloaded". I get the
save file dialog but the file name is Order/ instead of the expected Orders.xls or Orders.xlsx. Can anyone help? I'm surprised this is so difficult.
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using OfficeOpenXml;
using System.Collections.Generic;
using System.IO;
using System.Net.Http.Headers;
using System.Net;
using System.ComponentModel.DataAnnotations;
namespace LightSwitchApplication
public class OrdersController : ApiController
// GET: api/Orders
[HttpGet]
public HttpResponseMessage Get()
HttpResponseMessage response;
response = Request.CreateResponse(HttpStatusCode.OK);
MediaTypeHeaderValue mediaType = new MediaTypeHeaderValue("application/octet-stream");
response.Content = new StreamContent(GetExcelSheet());
response.Content.Headers.ContentType = mediaType;
response.Content.Headers.ContentDisposition = new ContentDispositionHeaderValue("attachment");
response.Content.Headers.ContentDisposition.FileName = "Orders.xls";
return response;
public List<Order> GetOrders()
List<Order> colOrders = new List<Order>();
using (ServerApplicationContext ctx = ServerApplicationContext.Current ??
ServerApplicationContext.CreateContext())
colOrders = ctx.DataWorkspace.Data.Orders.GetQuery().Execute().ToList();
return colOrders;
public MemoryStream GetExcelSheet()
using (var package = new ExcelPackage())
var worksheet = package.Workbook.Worksheets.Add("Orders");
worksheet.Cells["A1"].LoadFromCollection(GetOrders(), false);
package.Save();
var stream = new MemoryStream(package.GetAsByteArray());
return stream;
This has been driving me crazy for two days!Making some progress. I got the spreadsheet into a byte[] and used code from Paul Van
Bladel's blog to make the HttpResponseMessage. If I comment out the LightSwitch data access code, this works to export a spreadsheet from a static list to the browser from Web Api.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Http;
using Microsoft.LightSwitch;
using Microsoft.LightSwitch.Details;
using OfficeOpenXml;
using System.ComponentModel.DataAnnotations;
namespace LightSwitchApplication
public class Order
[Key]
public int Id { get; set; }
public string OrderNumber { get; set; }
public class OrdersController : ApiController
// GET: api/Orders
[HttpGet]
public HttpResponseMessage Download()
MediaTypeHeaderValue mediaType =
MediaTypeHeaderValue.Parse("application/octet-stream");
byte[] excelFile = ExcelSheet();
string fileName = "Orders.xlsx";
MemoryStream memoryStream = new MemoryStream(excelFile);
HttpResponseMessage response =
response = Request.CreateResponse(HttpStatusCode.OK);
response.Content = new StreamContent(memoryStream);
response.Content.Headers.ContentType = mediaType;
response.Content.Headers.ContentDisposition =
new ContentDispositionHeaderValue("fileName") { FileName = fileName };
return response;
public List<Order> Orders()
List<Order> orders = new List<Order>();
orders.Add(new Order { Id = 1, OrderNumber = "123456789" });
orders.Add(new Order { Id = 2, OrderNumber = "987654321" });
return orders;
// this doesn't work
//public List<Order> Orders()
// List<Order> colOrders = new List<Order>();
// using (ServerApplicationContext ctx = ServerApplicationContext.Current ??
// ServerApplicationContext.CreateContext())
// colOrders = ctx.DataWorkspace.Data.Orders.GetQuery().Execute().ToList();
// return colOrders;
public byte[] ExcelSheet()
using (var package = new ExcelPackage())
var worksheet = package.Workbook.Worksheets.Add("Orders");
worksheet.Cells["A1"].LoadFromCollection(Orders(), false);
byte[] bytes = package.GetAsByteArray();
return bytes;
The problem is that the LightSwitch query (commented out in the code above) is trying to load navigation properties for the orders. Error: "It is not valid to access this object on the current thread." How do I solve this? -
BO XI 3.1 SP3 SSO with CMC and Webi Rich Client
Hello,
Is it possible in BO XI 3.1 SP3 to use SSO with CMC and Webi Rich Client ?
It works fine with InfoView, Designer and Desktop Intelligence.
RegardsHi,
What kind of SSO authentication are you trying to set up? (AD, LDAP,...)
I think it's AD regarding your command line.
But be aware that in SSO, you don't need to configure the command line to run the client.
Have a look at the following guide.
[Configuring Manual Kerberos Authentication and-or SSO in Distributed Environments with XI 3.1 SP3.pdf|https://bosap-support.wdf.sap.corp/sap/support/sapnotes/public/services/attachment.htm?iv_key=002007204200000183782010&iv_version=0005&alt=2BCE4CB10DF674B172F4F3F7B32A284F49333135358877720E883731B332AF34CACD2AB52C0A2C8DCACA09084EF4CB494E4E0F2ECE8E2F89772908C9CE70CD2DF77675F7F2D1750C09514BCECFCFCE4C8DCF4BCC4DB5F575F4F4F3F57771F571F6F70B01B25D83D4120B0A722092A599504EB16D715E3E00&iv_guid=DF838310BFAAE8F1B486001A64C54696]
Regarding accessing CMC with SSO, it's not recomended at all as if you break this access, than you can't connect anymore to the CMC and modify settings.
Regards,
Philippe
Edited by: Philippe Tavares on Feb 15, 2011 4:11 PM
Maybe you are looking for
-
Issue for retrive data form ITAB in SAP R/3
Case:HOW CAN WE FETCH DATA FROM TRANSPARENT TABLE scenario:calculating net price for material on sales order (on the basis of material number,sales organization,distribution channel,division,sale to partY ,sales office) For this 5 prices are calculat
-
I was just having this problem until today. It is now all sorted and I can explain what to do very simply and easily. I remembered the answers to my questions, I just forgot "EXACTLY" how I entered the text - so I had to have them reset. The easiest
-
Select Radiogroup value based on value entered?
I have a search page with a text box and radiogroup. Right now when the user types something in the box, then selects one of the radio buttons (SSN or Last Name) my query results are dependent on which radio button is selected. So if a user wants to
-
Generation of security reports
What is the best way to create a report with security / privilege data stored in CMS? Thanks, Rick P.
-
How do I get ITunes out of compatibility mode?
How do I get ITunes out of compatibility mode?