Referrring Shared Libs
Hello, I want to compile my webloigc project classes using Ant script. My project depends on struts shared lib i.e wlp-struts-1.3-web-lib (Struts 1.3 facet on the new Project wizard). I want to refer the jar files from these libs and some other following shred libs inside the javac classpath of Ant script.But I am unable to find the location of the jars for these libs inside WL_instalation? Any help. Thanks.
wlp-struts-1.3-web-lib
jersey-web-lib
content-management-app-lib
wlp-services-web-lib
content-management-web-lib
wlp-services-app-lib
vcr-app-lib
p13n-rest-web-lib
sample weblogic.xml...
<wls:library-ref>
<wls:library-name>wlp-struts-1.3-web-lib</wls:library-name>
<wls:specification-version>10.3.2</wls:specification-version>
<wls:exact-match>true</wls:exact-match>
</wls:library-ref>
:
Hi,
Regarding your query:
"Is it possible in this scenario update a shared library and tell the application to take the new version without stopping the application or interrupting the application’s availability to clients?"
You can always deploy a new version of shared library without undeploying the older one. The manifest file of the shared library will have the elements like extension name, specification version and implementation version , which is read by the weblogic server during runtime when your application tries making the reference/call.
The calls will be routed to the shared library which has the highest specification/implementation version or to the recent library.
Important Note: Ensure to maintain unique Spec/Implementation version number for multiple shared libraries.
Hope this answers your questions !
Thanks,
Vijaya
Similar Messages
-
I have a project that runs great on oc4j 10.0.3.4 under jdk 1.6. (everything worked great)
I recently tried to run it under jdk 1.5 and i've run into a little problem with the shared-lib's:
The classloader's debug file reports the following: (i have translated some of it)
Class error: oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: javax.xml.bind.JAXBContext
Dependant class: nl.comp.util.XmlUtil
Classloader: comp:0.1
Code-source: /C:/programs/oc4j/j2ee/home/shared-lib/comp/0.1/comp.jar
Configuration: <code-source> in /c:/programs/oc4j/j2ee/home/config/server.xml
The missing class is available from the following location:
1. Code-source: /C:/programs/oc4j/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\programs\oc4j\j2ee\home\oc4j.jar)
This code-source is available from classloader oracle.xml:10.1.0_2
2. Code-source: /C:/programs/oc4j/j2ee/home/shared-lib/jaxb/2.1.6/jaxb-api.jar (from <code-source> in /c:/programs/oc4j/j2ee/home/config/server.xml)
This code-source is available from classloader jaxb:2.1.6.
So the classloader knows where to find the necessary lib, but it isn't loading it? If i run the exact same code (with same descriptors and everything) under jdk 1.6, it works, under 1.5 i get the above error.
What is different on the class loader level between the two jdk versions that might affect the program in such a way?
Need i update a descriptor or do something else?Jack,
Not a definitive answer for you (sorry), just a few suggestions (that I assume you are unaware of).
1. Try unsetting your "ClassPath" variable. Open a "command" window and type the following:
set ClassPath=2. Launch OC4J from the directory where the "oc4j.jar" file is located, for example:
D:
cd oc4j\j2ee\home
java -jar oc4j.jar3. I'm just guessing, but if your drive "D:" is a mapped, network drive, this may be causing the problem. Perhaps try installing OC4J on a local drive?
Hope this helps.
Good Luck,
Avi. -
How to control the shared libs when creating an new OC4J in AS 10.1.3.4
Hi there
I experience some wired behavior in AS 10.1.3.4!
I Have 2 different installation of AS 10.,1.3.4 (Win 2003 server).
When I create an OC4J instance (using the manager) at virtual server 1 I got 28 global libraries
When I create an OC4J instance (using the manager) at virtual server 2 I got 30 global libraries, (+ apache.webservices & oracle.ifs.client )
Why this difference ?
And how to control it?
Note the default instance "Home" has 28 libraries on both servers!!
Why is it sometime possible possible to use <instance>applib for the jar, and sometime I need to create an <instance>\shared-lib\global.libraries\1.0 library ?
Regards HAnsHi there
I experience some wired behavior in AS 10.1.3.4!
I Have 2 different installation of AS 10.,1.3.4 (Win 2003 server).
When I create an OC4J instance (using the manager) at virtual server 1 I got 28 global libraries
When I create an OC4J instance (using the manager) at virtual server 2 I got 30 global libraries, (+ apache.webservices & oracle.ifs.client )
Why this difference ?
And how to control it?
Note the default instance "Home" has 28 libraries on both servers!!
Why is it sometime possible possible to use <instance>applib for the jar, and sometime I need to create an <instance>\shared-lib\global.libraries\1.0 library ?
Regards HAns -
Using older shared libs for games ?
Hi fellow archers,
I like to play the enhanced Quake engine DarkPlaces (http://icculus.org/twilight/darkplaces/) together with a few mods (namely SDQuake and Kleshik).
Under Ubuntu 9.04 x64 DarkPlaces runs nicely as native x64 Linux app. Under the most recent version of arch64 DarkPlaces bombed out with an error message that the libjpeg version is too new. Something like Version 0.80 found but Version 0.62 is expected. Seems to me that even the newest version of Darkplaces is build against an older version of libjpeg than the one included in arch64. Libpng is also used by DarkPlaces since textures are stored as PNG.
My Ubuntu 9.04 x64 shows the following libs:
/usr/lib/libpng12.a
/usr/lib/libpng12.so.0.27.0
/usr/lib/libjpeg.a
/usr/lib/libjpeg.so.62.0.0
Is it "wise" to use a custom lib folder for DarkPlaces and set it via LD_LIBRARY_PATH ?
e.g.
export LD_LIBRARY_PATH=/home/ds/dplibs
Or can I simply install older versions of libjpeg and libpng without screwing up my arch64 installation ? I can remember that I also did install a few older libs on my Ubuntu 10.04 in order to get UT2k4 running.
BTW: I would prefer not to recompile DarkPlaces against newer versions of libpng/libjpeg.
TIA,
D$Ok, thanks for all your replies !
I will try out the approach using a dedicated lib directory for DarkPlaces under arch64.
Unfortunately my 500GB HDD which I used for arch died
So I have to wait until my new 1TB HDD arrives.
stqn wrote:... but I guess if you want to play (and not rebuild) this game you don't have a choice..
Well, the other not so slick option would be using the Windows version of the DarkPlaces engine inside a 32 chrooted WINE since for Windows all requiered libs (aka dll) are included in the right version.
As usual shared libs also do have their disadvantages compared to statically linked stuff
Last edited by Darksoul71 (2010-07-28 22:16:20) -
ODCI : oracle data catridge interface service : what shared libs are needed
Hi,
I am writing aggregate functions. For using ODCI along with OCI in C/C++.. what are the shared libraries which are required : i have oci.h & odci.h files but do not know what shared libraries are needed to use the ODCI interface.
I am getting the error :
ORA-06521: PL/SQL: Error mapping function
ORA-06522: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/custagg.so:
undefined symbol: ODCIAggregateInitialize
ORA-28579: network error during callback from external procedure agent
./libagtsh.so: undefined reference to `homtscb_ShutdownCallback'
I don't see any one responding to my queries.
Can any one give me some other paid forums where I can pay some fee and get clarifications for my errors and doubts.
I am a student trying to study the extendibility of databases with user defined aggregates without the need to change the underlying database engine. This is a part of research which i am doing.But some how i am having problem with ODCI : it is
not identifying the ODCIAggregateInitialize function
It is throwing error : ORA-06521: PL/SQL: Error
mapping function
ORA-06522:
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/li
b/custagg.so:
undefined symbol: ODCIAggregateInitializeThat's a pretty useful error message IMHO
And generally in Unix environment we don't include
'extern "C" ' before each member function in the C
program but we do that in Windows environment . So
may be I thought of just try including that in my
program(unix environment) and it was giving me even
a worse error :
RA-28579: network error during callback from external
procedure agent.So I just removed that extern "C"
keyword.Actually, the extern "C" is required because even though you are writing C-like code, it's C++ since there are declarations in the middle of the code, which C doesn't support (maybe C99 does, I don't know). This tells me you compile using a C++ compiler, which mangles the method name (to support method overloading, which C doesn't support). Adding the extern "C" makes the C++ not mangle the method, and thus the ODCI system can find the entry point in your shared lib.
ORA-28579 is not a worse error, it is the error you should fix. But I can't help you there, I've never done it. OTOH, if you can make this work, I'd be very interested if you could post a complete example demonstrating what you are doing. --DD -
Can't load shared lib lib... with SuSE 6.2
Hi,
i have a Problem with sqlplus and the shared librarys, if I start
sqlplus everytime it complains about the shared libs.
Is it wron to set the LD_LIBRARY_PATH to $ORACLE_HOME/lib ???
Do I need an updated JRE ??? GLIBC ???
Thank you for the help !!
Michael
nullHi,
which libs are wrong? There are several libs with 0 byte size!!!
That is a known bug, and when ld reads them it of course
complains ;-)
For one of the 0 byte libs there is a patch (look at earlier
postings around 2 weeks ago)
Marcus
PS: it seems anyhow this release is not ready for prime time. If
you want to play around with Oracle, take 8.0.5.1, that works
really good.
Christian Schroeder (guest) wrote:
: Marcus (guest) wrote:
: Hi,
: : try adding $ORACLE_HOME/lib path to /etc/ld.so.conf
: : then, run ldconfig -v as root, this may solve your problem
: I did this, but the ldconf complained that he couldn't read
: the headers of the libraries, especially the
jni-shared-library.
: I was wondering if I use the wrong ldd version? It says it is
: 2.1.2! Is this enough?
: Thanks you for you help,
: cu Christian
null -
NPE when using POJO Data Control deployed as webcenter shared Lib
Hello everyone,
I am using Jdevelopper 11.1.1.7...
I have a methodAction Binding defined for a JSFF. I am executing this methodAction in a managed bean. When doing so I have the following exception:
Caused By: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:118)
at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1128)
at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1638)
at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1507)
at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1467)
at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1261)
at oracle.adf.model.BindingContext.get(BindingContext.java:1211)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)
at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1466)
at oracle.adf.model.binding.DCBindingContainer.evaluateParameter(DCBindingContainer.java:1511)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.getResult(JUCtrlActionBinding.java:1968)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:267)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
at com.euroscript.platon.reporting.view.ReportingBean.getListLanguages(ReportingBean.java:661)
at com.euroscript.platon.reporting.view.ReportingBean.getParamLabelsNeedingCustomLov(ReportingBean.java:87)
at com.euroscript.platon.reporting.view.ReportingBean.initParams(ReportingBean.java:151)
at com.euroscript.platon.reporting.view.ReportingBean.onSelectReport(ReportingBean.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
at org.apache.myfaces.trinidad.component.UIXEditableValue.broadcast(UIXEditableValue.java:216)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:181)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1086)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:478)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
This methodAction calls a Data Contol based on a POJO which is using a JAX-WS Proxy. This Data Control POJO is packaged in a separate JAR file named ServicesProxy.jar.
Both ServicesProxy.jar and the ADF application using it are deployed as two distinct shared libraries used by webcenter portal application.
An important information is that the error does not happen when debugging the ADF application on my IntegratedServer. The error happens only when deployed as a shared Lib used by webcenter portal application.
This jar file ServicesProxy is used by other applications within our portal, so I think that the data control is properly created.
Do you have any idea what could be the cause of such error?vinaykumar2 wrote:
not really.May be you can check log in EM to find out some warning or error.try that..
I have checked in the EM, I don't really find more helpful info...
Here is the full stacktrace found in the EM (WC_Spaces1-diagnostic.log)
dfd51:69a509b6:142a48c6891:-8000-0000000000000ffd,0] [APP: webcenter#11.1.1.4.0] [DSID: 0000KA^^HbLDc_l6wvicMG1IaBTa000009] ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase PROCESS_VALIDATIONS 3[[
javax.faces.el.EvaluationException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
at org.apache.myfaces.trinidad.component.UIXEditableValue.broadcast(UIXEditableValue.java:216)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:181)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1086)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:478)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:74)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.generalsettings.model.provider.GeneralSettingsProviderFilter.doFilter(GeneralSettingsProviderFilter.java:85)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellPageRedirectionFilter.doFilter(WebCenterShellPageRedirectionFilter.java:342)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellFilter.doFilter(WebCenterShellFilter.java:953)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:117)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.processFilters(WebCenterLocaleWrapperFilter.java:369)
at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.doFilter(WebCenterLocaleWrapperFilter.java:265)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.caching.filter.AdfFacesCachingFilter.doFilter(AdfFacesCachingFilter.java:126)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:118)
at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1128)
at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1638)
at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1507)
at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1467)
at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1261)
at oracle.adf.model.BindingContext.get(BindingContext.java:1211)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)
at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1466)
at oracle.adf.model.binding.DCBindingContainer.evaluateParameter(DCBindingContainer.java:1511)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.getResult(JUCtrlActionBinding.java:1968)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:267)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
at com.euroscript.platon.reporting.view.ReportingBean.getListLanguages(ReportingBean.java:463)
at com.euroscript.platon.reporting.view.ReportingBean.getParamLabelsNeedingCustomLov(ReportingBean.java:87)
at com.euroscript.platon.reporting.view.ReportingBean.initParams(ReportingBean.java:151)
at com.euroscript.platon.reporting.view.ReportingBean.onSelectReport(ReportingBean.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
... 84 more
Caused by: java.lang.NullPointerException
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:113)
... 107 more
any suggestion??? -
Timed Loop in Shared Lib caused LabWindow program to NOT exit
I have a shared Lib created in LabView that I call from LabWindows. If I create a VI with nothing but a Timed Loop and no other code, my Labwindows program will not terminate. (Even if I don't call the library function (VI) containing the Timed Loop).
I have a conditional that after 3 iterations, the loop is terminated. (tied to stop)
The timed loop is empty.
The timed loop is definitely the cause of LabWindows not terminating.
I have attached a sample of the problem.
Attachments:
Timed Loop.zip 67 KB -
[Resolved] Distributing a Python module that uses C shared libs?
I did some research on distutils, and I managed to find fairly detailed instructions for how one could distribute a Python module with C extensions. However, I have a Python module which uses ctypes to run code from C shared libraries (more specifically: SDL, and related libraries).
Basically, this is what I have:
pslab.py # requires ctypes wrapper modules below
sdl.py # ctypes wrapper modules require respective shared libs below
sdlmixer.py
sdlimage.py
sdlttf.py
# This is for Linux -- .dll for Windows, .dylib for OSX.
libSDL.so
libSDL_mixer.so
libSDL_image.so
libSDL_ttf.so
Is there a "standard" way to distribute modules of this type (maybe some undocumented distutils method, or something I failed to find)?
The Python files are not the problem (distutils can handle them), but I need a way to install the appropriate shared libs for the platform in question (if necessary), so that ctypes wrapper modules can find and load them.
Last edited by Goran (2012-08-14 08:51:19)You could distribute those files ... but I wouldn't recommend it.
I believe the closest thing to a "standard" is simply to list sdl as a dependency. A package distributor should not try to manage dependencies for users (only inform them of the dependencies). That is either up to the user, or (more often) the distro's package management system.
If I download a program that uses gtk, I don't expect it to include all of the gtk too. Rather, the documentation would simply specify that gtk is a dependency. Are you going to also distribute copies of the python interpreter? Perhaps I'm missing something, but why would sdl be any different than python itself? It's assumed (or speficied) that the user needs to have these installed for your package to work.
Last edited by Trilby (2012-08-13 23:44:44) -
Which Shared Libs are required to run ADF
When we setup a new stand alone server, the shared libs are not targeted to that server.
What Shared libs need to be targeted to a managed server for ADF applicaitons?
Running WebLogic 10.3.1
JDeveloper 11.1.1.1.0
thanks,
Rodger...You should be more specific with your environment.
My understanding of a standalone WLS is this: a WLS installed with the plain WLS installer, no JDeveloper involved.
If you installed JDeveloper which includes WLS and want to run a new WLS domain from this installation then you only need to run the Configuration Wizard to create a new domain. During this run you should include (set the check box) the Oracle JRF (something like Java Runtime Framework) option. Then your new domain is able to run the ADF application. You should be aware that you need to package it as an EAR file otherwise the shared libraries are not called. (Hint: See http://blogs.oracle.com/olaf/2008/10/nice_jdev_11g_feature_ear_pack.html)
--olaf -
Dynamicaly add a shared lib using deployment plan
Hi,
I would like to dynamically add a shared lib reference to my EAR application.
It seems to be possible using deployement plan but to take effect weblogic want I redeploy the application.
When I update my application and if I choose Update this application in place with new deployment plan changes. (A deployment plan must be specified for this option), thre is no error but when I try to instanciate my class, I get a "ClassNotFoundException"
If I choose Redeploy this application using the following deployment files: it works fine but it is not compliant with my requirements (I don't want to redeploy for that).
is it the normal behavior or I miss something ?
Best Regards,
C.WebLogic does the following if an application references a shared library:
Classes of the library are added to the classpath of the application and the deployment descriptors are merged in memory.
When an application (ear) is deployed weblogic creates application classloaders. Now if we add a shared library we need
to create the classloaders again (to load the classes of the shared library) - this can be accomplished by redeploying the
application. -
I'm working on an extension to a ruby based application. I'm using the ruby/dl extension capability for calling out to a dynamic library.
I'm accessing a wrapped version of the Newton Physics SDK which ships with a universal static library (newton32.a).
I've worked out a process for using LIPO to thin the .a down to the intel only version of the lib and then dump all the .o files. I then use g++ to relink into a dynamic library and I can access it successfully using ruby/dl.
however, I'd like to create a universal shared lib. Anybody got the recipe for doing this???Probably not legally. You might want to check with your library to see what you can do with them, for example, can you burn them to an audio CD? The whole purpose of the DRM is to prevent you from converting or copying the files in ways the rights holder hasn't authorized. Discussions about how to circumvent DRM are not allowed according to the terms of use of these forums. Sorry.
-
JSF jars living in Tomcat shared/lib (not)
When I move the set of jars for JSF from the webapp/WEB-INF/lib up into tomcat's shared/lib, I get this error:
java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:143)
when visiting the webapp which has the FacesServlet.
I can see that this just doesn't work with the current 1.0beta, but does anyone know why not?
Is there any fundemental problem with having these in common/lib or shared/lib?
And, just checking, the source is not available for this version, right (else I'd take a peek at this line).When these libraries are in shared/lib, the
ContextListener added via a .tld in jsf-impl.jar is
not located by Tomcat, and therefore JSF can't start
itself up correctly.
It depends on which version of Tomcat you are using. Recent versions (such as 5.0.16) do know how to recognize context listeners in JAR files stored in common/lib or shared/lib.
I don't know Tomcat well enough to know if there's a
way to get it to look for auto-registered .TLDs and
ContextListeners in places other than WEB-INF/lib.
There is nothing in the Servlet or JSP specs that
would require that Tomcat support anything other than
WEB-INF/lib.
For containers that don't support looking up the class loader hierarchy, there is a workaround for this described in the Release Notes, that involves declaring a <listener> element in your web.xml file to explicitly declare the listener class.
-- Adam WinerCraig McClanahan -
Shared/lib folder is missing inTomcat
Dear Experts,
I have installed prerequisites for Integration Kit for SAP.
1)In the process of installing BO Integration Kit for SAP Solutions i didnt find C:\Program Files\Business Objects\Tomcat55\Shared\lib to copy the file sapjco.jar.I observed only common\lib and server\lib folders only.
What is the solution for above thing?
2)I am installing it on 64 bit OS of windows server 2003.Can i copy sapjcorfc.dll to C:\WINDOWS\system32 or C:\WINDOWS\SysWOW64 ?
Thanks in advance.Hi,
Please refer below SAP notes.
1292144 - JCO error when Importing SAP Roles in CMC.
or
Stop Tomcat
Create the following structure \Tomcat55\shared\lib
Copy the java connector (sapjcor.jar) into the above folder
Place librfc32.dll & sapjcorfc.dll files into:
\Windows\system32 folder &
\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 folder
Erase the JCO v3.0.x files from the Tomcat folder, and set the CLASSPATH of the version 2.1.8 Connector
Start Tomcat
This process is described in our SAP Integration Kit Installation Guide (page 50 onwards): http://service.sap.com/~form/sapnet?_SHORTKEY=00200797470000087382&_SCENARIO=01100035870000000202&_OBJECT=011000358700000718922008E
Thanks,
Amit -
Missing shared lib nldapj8.so
after install 8i1.7 on linux, I am missing a shared lib, which prevents me from running any apps?!?!?
Thanks for your hint, which gave me the clue. Indeed, I
confused the 1 by l - thus I didn't find the lib (should have
pasted the truss output, stupid g) .
Now, I added the LD_LIBRARY_PATH and it works,
thanks.
Maybe you are looking for
-
Could my video card be the root of all these problems???
heres the problem: dual 1.0ghz mdd with a rage 128 pro video card. the computer has a clean install of os x 10.5.8 but dvd player wont work (it says it cant find a valid video device), vlc will play audio only, and quicktime will only play a few sele
-
Getting started with Jdeveloper
Dear all, i have some difficulties to understand how ADF business components work. I want to create a simple java client, composed by a form of employees (where to insert some values like name, age and skills.. ) with a jbutton wich performs the acti
-
Applet development and embedding in browser
Can someone point me to a tutorial or docs that show me how to make a small applet in Java and then the actual tags to embed it in the browser (IE or Firefox)? Specifically I a looking to make an applet that can be controlled by Javascript to open a
-
WHAT IS DAEMON CONCEPT IN RDA ?
HI EXPERTS, WHAT IS DAEMON CONCEPT IN RDA ?HOW IT WORKS ? I will assign points for ur valuable answers
-
Listview sorting in ascending / descending order
Hello I am new to winforms What I want to do is when the user clicks on a listview control column the listview data should get sorted by that column in ascending / descending order Please help me Thanks regds Manoj Gokhale