tag:blogger.com,1999:blog-5874979429188093780.post7126935776054647398..comments2024-03-18T06:46:54.352+01:00Comments on Andrej Baranovskij Blog: Deploying ADF Applications as Shared Libraries on WLSAndrej Baranovskijhttp://www.blogger.com/profile/04468230464412457426noreply@blogger.comBlogger101125tag:blogger.com,1999:blog-5874979429188093780.post-24259333487956477592017-06-29T11:37:07.078+02:002017-06-29T11:37:07.078+02:00Hi Andrejus,
I am trying something similar in my ...Hi Andrejus,<br /><br />I am trying something similar in my application. I deployed the shared libraries into weblogic server but when i try to deploy my current application it failed in deployemnet with following error.<br /><br />PSC_LNPRESTWebServiceWebApp_waroracle_apps_fnd_applcore_common_ApplSessionServiceBean_Home, throw exception javax.naming.NameAlreadyBoundException. [EJB:011224]Unable to bind the interface oracle.apps.fnd.applcore.common.ApplSessionService to ApplSessionService. Another EJB has already bound an interface to that name.; remaining name 'ApplSessionServiceBean#oracle/apps/fnd/applcore/common'. NestedException Message is :[EJB:011224]Unable to bind the interface oracle.apps.fnd.applcore.common.ApplSessionService to ApplSessionService. Another EJB has already bound an interface to that nameRavindra Raghuwanshihttps://www.blogger.com/profile/07776280163989923710noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-88697465133525143682017-04-05T17:13:14.629+02:002017-04-05T17:13:14.629+02:00Nice post.
I was wondering how to use security co...Nice post. <br />I was wondering how to use security context in taskflow if its being consumed in webcenter portal (12c). I mean jazn won't go along in shared lib.<br />Do we need to configure security in WebCenter Portal?<br />Sorry this may not be the correct blog to ask this question..Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-8525638196593632422016-04-22T18:56:15.184+02:002016-04-22T18:56:15.184+02:00Hi,
My webApp which refers the shared library see...Hi,<br /><br />My webApp which refers the shared library seems to be reading servletContext param from web.xml of shared libraries.<br />Is this expected behaviour or an ADF bug.<br />Can you confirm this comment<br />"Yes, it will use web.xml from main web application (WAR deployment). It will ignore web.xml from shared library. This needs to be tested, but this is my understanding."Bhaveshhttps://www.blogger.com/profile/18389589234161073685noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-37289452943325948972015-10-14T09:31:42.992+02:002015-10-14T09:31:42.992+02:00I want to Know If it is possible use this same apr...I want to Know If it is possible use this same aproximation to deploy in GlassFish, since I dont want install an EAR file with all WAR dependencies.<br /><br />My Application which is deployed as EAR, have another application deployed as Shared Libraries with its . With this aproximation I can create easily modular application.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-81643105212362947722015-02-18T21:49:52.652+01:002015-02-18T21:49:52.652+01:00Andrejus,
I'm having a similar problem to Wen...Andrejus,<br /><br />I'm having a similar problem to Wendy Tromp where my war deployment is not showing up with the same name as I have defined in the manifest.mf file. It shows up instead as what I have named the deployment profile. Do you know why this might be happening? I have referenced the the manifest file in war options on deployment profile properties.<br /><br />Thanks for the helpDevinhttp://dubcdr.comnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-87442132970821083062014-09-26T07:40:12.729+02:002014-09-26T07:40:12.729+02:00This would mean shared library is deployed incorre...This would mean shared library is deployed incorrectly, generally you should be able to access all content of the library.<br /><br />Regards,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-32315016820051447262014-09-25T23:22:27.883+02:002014-09-25T23:22:27.883+02:00Thank you for the post ,
but in the live environm...Thank you for the post ,<br /> but in the live environment , cannot access the backing bean classes for functions or procedures.<br /> The Message is (ClassFunncOrProc unreachable ...) How I can Solve this problem , pleaseAnonymoushttps://www.blogger.com/profile/08747345387598453447noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-51533116743426318322014-08-04T10:03:04.472+02:002014-08-04T10:03:04.472+02:00Hi Rob,
Yes sure - send me your sample workspace ...Hi Rob,<br /><br />Yes sure - send me your sample workspace by email, I will take a look.<br /><br />Regards,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-54771784155644022842014-08-04T07:48:06.134+02:002014-08-04T07:48:06.134+02:00Andrejus,
That is exactly what I have done.
The p...Andrejus,<br /><br />That is exactly what I have done.<br />The project containing the VC logic gets deployed as ADF Library Jar and I created a Livrary project containing the VC jar only contains a WAR deployment profile. Yet I get a war and an ear file.<br />Can I send you the application workspace to have a look?<br />(Probably some small insane setting I overlook)<br /><br />Kind regards,<br /><br />RobAnonymoushttps://www.blogger.com/profile/10881877510672724307noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-50829494436312433972014-08-02T10:31:27.349+02:002014-08-02T10:31:27.349+02:00Hi Rob,
As you can see in this example, I'm u...Hi Rob,<br /><br />As you can see in this example, I'm using empty project with WAR profile, this project imports all JAR's I want to be a part of shared library. This WAR gets deployed on the server and is registered as shared library.<br /><br />Regards,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-30739391104816883612014-08-01T09:23:36.673+02:002014-08-01T09:23:36.673+02:00Check your deployment profile for the application ...Check your deployment profile for the application you want to make it as a shared library. Create a new deployment profile for creating a war.Ramesh Reddyhttps://www.blogger.com/profile/00372265445333750889noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-35918600959126891432014-08-01T08:10:33.111+02:002014-08-01T08:10:33.111+02:00Andrejus,
I always enjoy your posts and 99% of th...Andrejus,<br /><br />I always enjoy your posts and 99% of the time they work like a charm.<br />So does this one if I create a new Application Workspace to generate the shared library.<br />However we would like to deploey specific functionality to separate libraries.<br />To do this, in the application workspace we create a Library project in addition to the Model and ViewController project. (conform your post)<br />However, when we try to generate the Library.war file, JDev generates an ear file.<br />When we deploy that ear file the consuming application is not able to use the library.<br />Any ideas as to why the ear file gets created?<br /><br />Kind regards,<br /><br />RobAnonymoushttps://www.blogger.com/profile/10881877510672724307noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-27932429390394461002014-06-13T17:05:42.419+02:002014-06-13T17:05:42.419+02:00May be this post will help you: http://andrejusb.b...May be this post will help you: http://andrejusb.blogspot.com/2010/07/redeploy-and-version-adf-shared.html<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-26145019534209961752014-06-13T13:25:51.575+02:002014-06-13T13:25:51.575+02:00Hi Andrejus,
Thanks for the post. Is there a post...Hi Andrejus,<br /><br />Thanks for the post. Is there a post on the production redeployment without a restart. I am interested in being able to run a previous version of the shared library without having to restart the server. Is that possible?<br /><br />Thanks,<br />GeorgeGeorgenoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-55223866986242013642014-06-04T11:05:03.176+02:002014-06-04T11:05:03.176+02:00Yes, something wrong with the deployment. It works...Yes, something wrong with the deployment. It works for sure, in general.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-28946944752308858732014-06-04T11:03:10.792+02:002014-06-04T11:03:10.792+02:00Hi,
redsamurai.shared.lib shared lib is already in...Hi,<br />redsamurai.shared.lib shared lib is already installed on my WLS. its status is also active.Type is Library but showing nothing in Health.is any thing wrong in deployment?Rahulnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-51103369065081179082014-06-04T08:01:36.968+02:002014-06-04T08:01:36.968+02:00This means shared library "redsamurai.shared....This means shared library "redsamurai.shared.lib" is not deployed. You should double check, if this library is deployed correctly.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-7054882103220804112014-06-04T07:55:21.304+02:002014-06-04T07:55:21.304+02:00Hi Andrejus,
Thanks for this post.but i am facing...Hi Andrejus,<br /><br />Thanks for this post.but i am facing a problem when i am deploying my main application.I also tried to run and deploy your sample application but getting same this error. <br /><br /><br />[11:09:37 AM] Unable to determine the target platform from the Profile. Using default<br />[11:09:37 AM] ---- Deployment started. ----<br />[11:09:37 AM] Target platform is (Weblogic 10.3).<br />[11:09:39 AM] Retrieving existing application information<br />[11:09:39 AM] Running dependency analysis...<br />[11:09:39 AM] Building...<br />[11:09:43 AM] Deploying 3 profiles...<br />[11:09:43 AM] Wrote Archive Module to C:\JDeveloper\mywork\UIShellAppFu\Model\deploy\UIShellAppFu_Project1_adflib.jar<br />[11:09:45 AM] Wrote Web Application Module to C:\JDeveloper\mywork\UIShellAppFu\ViewController\deploy\UIShellAppWeb.war<br />[11:09:45 AM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\UIShellAppFu\deploy\UIShellAppFu_Project1_UIShellAppFu.ear<br />[11:09:46 AM] Redeploying Application...<br />[11:09:47 AM] [Deployer:149191]Operation 'deploy' on application 'UIShellAppFu_Project1_UIShellAppFu' is initializing on 'adf_ManagedServer'<br />[11:09:47 AM] [Deployer:149193]Operation 'deploy' on application 'UIShellAppFu_Project1_UIShellAppFu' has failed on 'AdminServer'<br />[11:09:47 AM] [Deployer:149193]Operation 'deploy' on application 'UIShellAppFu_Project1_UIShellAppFu' has failed on 'AdminServer'<br />[11:09:47 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application UIShellAppFu_Project1_UIShellAppFu on JRFWSAsyncJmsServer,AdminServer,adf_ManagedServer.: Failed to load webapp: 'UIShellAppFu-ViewController-context-root'.<br />[11:09:47 AM] [Deployer:149193]Operation 'deploy' on application 'UIShellAppFu_Project1_UIShellAppFu' has failed on 'adf_ManagedServer'<br />[11:09:47 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application UIShellAppFu_Project1_UIShellAppFu on JRFWSAsyncJmsServer,AdminServer,adf_ManagedServer.: Failed to load webapp: 'UIShellAppFu-ViewController-context-root'.<br />[11:09:47 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'UIShellAppFu-ViewController-context-root'<br />[11:09:47 AM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@9262302[app:UIShellAppFu_Project1_UIShellAppFu module:UIShellAppFu-ViewController-context-root path:/UIShellAppFu-ViewController-context-root spec-version:2.5]", defined in weblogic.xml [Extension-Name: redsamurai.shared.lib, exact-match: false]<br />[11:09:47 AM] See server logs or server console for more details.<br />[11:09:47 AM] weblogic.application.ModuleException: Failed to load webapp: 'UIShellAppFu-ViewController-context-root'<br />[11:09:47 AM] Deployment cancelled.<br />[11:09:47 AM] ---- Deployment incomplete ----.<br />[11:09:47 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)Rahulnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-41177964249184021952014-02-25T04:35:37.792+01:002014-02-25T04:35:37.792+01:00Hello,
Nice blog. I want to know whether we can d...Hello,<br /><br />Nice blog. I want to know whether we can deploy a ADF Shared libraries to glassfish server?<br /><br />Regards<br />Tinto ChackoAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-78629172695501445562013-07-19T07:54:44.507+02:002013-07-19T07:54:44.507+02:00Hi can you eloborate your problem in detail i.e., ...Hi can you eloborate your problem in detail i.e., how dod you packaged the main application and the shared library applicationRamesh Reddyhttps://www.blogger.com/profile/00372265445333750889noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-26281192310366496102013-07-18T20:44:01.796+02:002013-07-18T20:44:01.796+02:00Hello,
We are trying to reference an application ...Hello,<br /><br />We are trying to reference an application (with model and view controller) deployed as a war file but it does not work.<br /><br />We have the following error running the main application. <br /><br />"oracle.jbo.JboException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-34010."<br /><br />It always takes the jar of the referenced library even if we removed it from the deployment profile<br />Is this normal behavior ?<br /><br />Best Regards,<br />DaniloDanilohttps://www.blogger.com/profile/06986516146064463235noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-7577613681570067542013-04-24T07:53:53.523+02:002013-04-24T07:53:53.523+02:00Yes, it will use web.xml from main web application...Yes, it will use web.xml from main web application (WAR deployment). It will ignore web.xml from shared library. This needs to be tested, but this is my understanding.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-16867044317033460542013-04-24T07:51:19.289+02:002013-04-24T07:51:19.289+02:00I think ADF shared Library it self means it is a l...I think ADF shared Library it self means it is a library ffrom where the taskflows are used by a dahs board application or any other application this is for reuseability so there is no web context for the shared library so I dont think you can configure filter as there will be no web.xml file in the shared libraryRamesh Reddyhttps://www.blogger.com/profile/00372265445333750889noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-62590018997419237802013-04-24T07:36:49.455+02:002013-04-24T07:36:49.455+02:00Hi Andrejus,
I have a question to ask and would l...Hi Andrejus,<br /><br />I have a question to ask and would like to ask some of your precious time please.<br /><br />Supposed in my Shared Library, I added an entry for a custom servlet filter then after packaging it and deploying it as shared library will the other project that uses this shared library would be able to use my custom filter?<br /><br />I mean after referencing the shared library, my custom filter would be able to track down incoming request also?<br /><br />Is this possible?<br /><br />Thanks<br /><br />--markyAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-46235846145484620842013-04-16T08:26:31.914+02:002013-04-16T08:26:31.914+02:00It should work if you package Model project code i...It should work if you package Model project code into WAR. Dont use ADF Library JAR in this case.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.com