Class Loadin Issue!!!!!!!! Urjent

My application is not able to load jar given in lib folder..It's loading application Server jar.............Which is causing class loader issue.............One way to fix it this to copy the jar in JDK jre/ext/lib.............BUT this can't be done on PRODUCTION environment................Please tell me some other workaround for that............
Thanks in advance
Samt

stubbornpisces wrote:
Hey Anurag,
Thanks for the reply............
I am using WebLogic 10.3 and We are implementing BIRT in our application for report Generation....
The jar is js.jar under Rhino plugin of BIRT....
Currently jar file is in classpath...BUT If I am copying the jar file at JRE /ext/lib.....then it's working fine............BUT on PRODUCTION box, I can't copy anything there...........Yes you should not be placing any third party libraries or your custom libraries there.
SO Is there any work around that Weblogic picked my application specific jar before picking Weblogic Application's Jars.........
If you are using an EAR file deployed on your WebLogic instance try placing the JAR file in EAR/lib folder (If not you can also try the WEB-INF/lib directory). It might help you. However I cannot recommend a sure shot location unless I know what invokes the classes inside "js.jar". You have to keep in mind the class loader hierarchy to know the right place where a particular JAR file to go. This is because a Parent Class Loader doesn't have visibility of Classes loaded by a Child Class Loader and hence the hierarchy is important.
Read more about the WebLogic class loader hierarchy here: [http://e-docs.bea.com/wls/docs81/programming/classloading.html|http://e-docs.bea.com/wls/docs81/programming/classloading.html]
Hope this helps!
Cheers
Anurag

Similar Messages

  • Does resteasy API have class loader issues when using via OSGi

    Does resteasy API have class loader issues when using via OSGi

    Hi Scott,
    THis isnt an answer to ur Question, but could u tell me which jar files are needed for the packages:
    com.sap.portal.pcm.system.ISystems
    com.sap.portal.pcm.system.ISystem
    and under which path I coul dfind them.
    Thnx
    Regards
    Meesum.

  • Integrated WL/Jdeveloper class loading issue

    Hello,
    I am trying to run a deployed project , getting into this class loading issue. Any idea?
    javax.security.auth.login.LoginException: java.lang.LinkageError: loader constraint violation: when resolving interface method "com.scat.util.identity.UserFactory.lookup(Ljava/lang/String;)Lcom/scat/domain/identity/User;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, com/scat/auth/authentication/login/UserLoginModule, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for resolved class, com/scatl/util/identity/UserFactory, have different Class objects for the type com/scat/domain/identity/User used in the signature
    Thanks
    Ram

    How many times are you loading the com/scat/domain/identity/User type?
    Is this in the system classloader and the application? and are you using class loading filtering in the application, for example,
    in weblogic.xml - prefer-web-inf-classes?

  • Class Instantiation Issues...

    Hi,
    We are currently having issuses with a Class Interface.  Everything was working fine with it, and now it says that the class is 'not instantiated'.  If you are in SE80 or SE24 and try to test a class (e.g. CL_HRRCF_APPLICATION_CTRL), you will get a pop-up that allows you to replace generic parameter types.  Now with the non-working class, it gives a screen similar to your transport organizer, with the class name at the top with '<not instantiated>' beside it, and a list of methods below it.  This Class is being used through the web.  Also, in the title bar in 6.40, it says, 'Test Class CL_HRRCF_GLOBAL_CONTEXT: No Instance'.
    <phew>... so, has anyone else run into a problem like this, and if not, does this make enough sense?  Is there a way of instantiating a Class Interface without calling it from a program, like generation?
    Best regards,
    Kevin
    Message was edited by: Kevin Schmidt

    Hi Kevin
    I am also working on an eRecruitment 3.0 ramp-up project. What I have found is that most of the classes etc used rely on other classes etc further up the chain, they cannot be tested in isolation. Instead it is normally necessary to set a breakpoint and then log into the eRecruitment Fornt end via a web browser. The class will then be instantiated in the normal process, as you work through the system pages, and called appropriately.
    This is a BSP issue. The class in question is a basic building block of the eRecruitment BSP pages.
    Regards
    Jon Bowes [ Contract Developer ]

  • Dynamic class loading issue with XmlBeans and Axis2

    Hi,
    Since support to web services is not enough in JDeveloper I am using apache axis2 to consume web services from an ADF web application.
    Everything works fine if I use jdk 1.5 but our app servers require jdk 1.4.2_08-b03 so I switched jre settings to jdk 1.4.2_08-b03 in the JDeveloper and I started to get these issues.
    I debugged the application and this line is the cause of the exception. It is in request document class.
    return (org.htng.pws._2008a.guestselfservice.name.types.FetchProfileRequestDocument)org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance(type,
    null);
    I did some further testing and found that it is happening when I call org.apache.xmlbeans.XmlBeans.getContextTypeLoader()
    The error messages that I am getting are
    1.     J*BO-29000: Unexpected exception caught: java.lang.IllegalAccessError, msg=tried to access field* org.htng.pws._2008a.guestselfservice.name.types.FetchProfileRequestDocument$1.class$org$htng$pws$_2008a$guestselfservice$name$types$FetchProfileRequestDocument from class org.htng.pws._2008a.guestselfservice.name.types.FetchProfileRequestDocument
    2.     tried to access field org.htng.pws._2008a.guestselfservice.name.types.FetchProfileRequestDocument$1.class$org$htng$pws$_2008a$guestselfservice$name$types$FetchProfileRequestDocument from class org.htng.pws._2008a.guestselfservice.name.types.FetchProfileRequestDocument
    As I understand somehow the application server is not allowing the XMLBeans APIs to dynamically load the classes ..But I couldn’t find a way to convince it..
    Does anybody have any idea by any chance?
    Thanks a lot

    Some more details ..
    I could make it work if I change the below getClassLoader with Thread.currentThread().getContextClassLoader()
    org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(FetchProfileResponseDocument.class.getClassLoader()This is a generated code and normally works fine with jdk 1.5 .. I guess there should be some setting to make it work in 1.4 as well..
    Any Idea ?

  • Possible 'Class Path' Issues

    Hi Guys,
    I have problems compiling a file and I suspect it could be something related to classpaths. I am using NetBeans 6.9.1 as my IDE. When I set JDK 1.6 as my platform and complile, there are no issues, the programs compiles fine.
    My 'classpath' and 'path' are as follows:
    classpath:
    .;C:\Program Files\Java\jre1.6.0_07\lib\ext.;c:\java\classes;
    path:
    \....\....\....C:\Program Files\Java\jdk1.6.0_21\
    If I were to set the JDK as in 1.5, I seem to get the follwing error:
    ' cannot access org.red5.server.api.IScope
    bad class file: C:\Program
    Files\Red5\red5.jar(org/red5/server/api/IScope.class)
    class file has wrong version 50.0, should be 49.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    import org.red5.server.api.IScope;
    1 error
    To rectify the problem I maded changes to my classpath and path, and yet the problem persists. The changes I made
    are as follows:
    classpath:
    .;C:\Program Files\Java\jre1.6.0_07\lib\ext.;C:\Program Files\Java\jre1.5.0_22\lib\ext.;c:\java\classes;
    path:
    \....\....\....C:\Program Files\Java\jdk1.6.0_21;C:\Program Files\Java\jdk1.5.0_22;C:\....\
    I hope someone can advise me on how I get rectify the problem and get the program to compile with JDK 1.5. Thanks.

    he wants to use JDK 1.5.Do read the thread before you post. He is* using JDK 1.5 when he gets the error message. He said so. This is the problem.* Not the solution. When he uses 1.6 he doesn't get the error.
    His environment is a bit messed up because he has PATH entries for both JDK versions.There is precisely zero evidence for that assertion.
    If he wants to compile and test with JDK 1.5, then removing 1.6 would make sense.No it wouldn't. He is using classes compiled for 1.6 with a 1.5 compiler. His problem is with red5.jar(org/red5/server/api/IScope.class) whose class version is 50.0. It's all written there above. If he wants to use that .jar file he has to use 1.6. Or else recompile that .jar file with 1.5, if he has the sources.

  • Class loading issue in 10.1.2?  commons-codec

    Hi All,
    I'm attempting to deploy a pretty strait forward web application (wrapped in an EAR) that includes commons-codec-1.2.jar (used by axis2). The codec jar is included in the WEB-INF\lib directory but doesn't appear to be picked (I get a NoClassDefFoundError) up unless I copy it into the ...\system\appserver\oc4j\j2ee\home\applib directory? I'm guessing this is a weird classloader issue but I can't seem to find the codec jar in another location...
    I can get around the problem but I was wondering if anyone had an explanation?
    Cheers,
    Dan

    Dan,
    You need to set the search-local-classes-first attribute of element web-app-class-loader in file "orion-web.xml" to 'true' (the default is 'false') in order for OC4J to locate the "axis2" classes. Please refer to the White Paper, Classloading in OC4J (PDF):
    http://www.oracle.com/technology/tech/java/oc4j/pdf/ClassLoadingInOC4J_WP.pdf
    Or, if you don't like your Web browser directly opening PDF files (like I don't), there is a link to the White Paper from this Web page:
    http://www.oracle.com/technology/tech/java/oc4j/index.html
    Note however, that in OC4J 10.1.3 the class loading mechanisms are completely different to previous versions (including 10.1.2).
    Good Luck,
    Avi.

  • WebSphere class loading issue

    Hi,
    We ran into this issue and have been trying to resolve since yesterday with no luck. I'm wondering if anybody else has encountered this and has any thoughts ...
    We are trying to call the methods of the com.ibm.websphere.runtime.ServerName class in a utility class that is packaged into a jar and put onto the JVM classpath in WebSphere 6.1. And we are running into NoClassDefFound errors. So we just did Class.forName("com.ibm.websphere.runtime.ServerName") in that utility class and got the ClassNotFoundException as expected. But when we do the same in a separate utility class that is outside of the classpath, both the forName and the actual method calls work without any problem.
    That kind of suggested that the com.ibm.websphere.runtime.ServerName class is not "available"(/loaded) by the time our utility class gets loaded, may be. So we turned on the Verbose Class Loading to see the order in which the classes are loaded when the JVM starts up. But the com.ibm.websphere.runtime.ServerName class is loaded way before our utility class from the jar in the classpath.
    So I'm wondering:
    Why would it give me a ClassNotFound exception in my utility class (which is put on the classpath) when the log shows that the utility class is already loaded by the time this class starts loading?
    Any feedback or thoughts would be greatly appreciated.
    Thanks,
    Bharathi

    Java_Unlimited wrote:
    We could figure out the answer from your responses, thank you guys!
    It is true that our jar is being loaded by a different class loader, to which the ServerName class is not available. Also in one of the articles quoted in the responses, it mentioned specifying the jar in the ws.ext.dirs property, not in the classpath for the ws ext classes to be available to the jar. And that fixed the problem. We defined a custom property ws.ext.dirs and put the jar file in there.
    Thanks everyone!
    Edited by: Java_Unlimited on Feb 6, 2009 10:42 AMBharati, we're glad to help and thanks for lettings us know what you did to make it work.

  • Lion, UVC (universal video class) webcam issues

    Prior to LION upgrade and then a clean install, I find the MS HD5000 and the MS HD6000 UVC compliant webcams are very over exposed.  This was NOT a problem prior to the LION OS.  Anyone find a work around or is experiencing this issue with LION?  Using IGlasses helps, but he picutre is not what it was under Snow Leopard.  Obviously something in LION has changed how the UVC is handled. Any help on this one would be appreciated!

    Here's the dmesg after loading uvcvideo
    inxs ~ > dmesg | tail
    usb 1-1: configuration #1 chosen from 1 choice
    agpgart-intel 0000:00:00.0: AGP 2.0 bridge
    agpgart-intel 0000:00:00.0: putting AGP V2 device into 4x mode
    nvidia 0000:01:00.0: putting AGP V2 device into 4x mode
    agpgart-intel 0000:00:00.0: AGP 2.0 bridge
    agpgart-intel 0000:00:00.0: putting AGP V2 device into 4x mode
    nvidia 0000:01:00.0: putting AGP V2 device into 4x mode
    Linux video capture interface: v2.00
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v0.1.0)
    inxs ~ >
    So I am assuming all went well and that is the appropriate module for my webcam. However still no devices found in Skype. Maybe it is skype that needs some tweaking for it to recognize webcams.
    Last edited by Inxsible (2009-02-28 23:29:41)

  • CFOBJECT/class accessing issues

    Hello,
    Recently I have upgraded from CFMX 7.0 to CF 9.0 and having problems or issues accessing a class file output where I am getting a "blank"
    value. It is same code which is working with CF 7.0. I have registered the class file in CF 9.0 and re-started.
    In the java class, I am connecting to Cognos to get the data/report. And the report is returned as a string value.
    The code MyReportView.getDetails(sItemNumber); is returning a blank value, but it is still working with CF 7.0
    Have tried running the class/method using the command prompt and getting the correct output on the 64 bit machine with CF 9.0
    Any suggestions related to CF 9.0 or Cognos or anything related to CBOBJECT changes in CF 9.0 would be really helpful.
    Here is my code
    <cftry>
                    <cfobject action=create type=java class="RList" name=MyReportView>
                                    <cfscript>
                                                    myRpt = MyReportView.getDetails(sItemNumber);
                                    </cfscript>
                                    <cfoutput>#myRpt#</cfoutput>
                    <cfcatch type = "any">
                                    <cfset pErrorDetail = CFCATCH.Detail>
                                    <cfset pErrorMessage = CFCATCH.Message>
                                    <cfoutput>#pErrorDetail# , #pErrorMessage#</cfoutput>
                    </cfcatch>
    </cftry>
    Other details
    Java Virtual Machine Path : C:/ColdFusion9/runtime/jre
    CF 9.0/64 bit
    Cognos 8.3 sp5
    Window 2008/64 bit
    Thanks in advance.

    I have tried with quotes for the attributes in <CFOBJECT> and is the same result.
    Here is my logfile (i.e. coldfusion-out.txt) trace
    java.lang.NullPointerException
    at com.cognos.org.apache.axis.serviceContext.ServiceContext.updateImplicitHeader(ServiceCont ext.java:270)
    at com.cognos.developer.schemas.bibus._3.ContentManagerServiceStub.logon(ContentManagerServi ceStub.java:5388)
    at CRNConnectLite.connectCognosServer(CRNConnectLite.java:95)
    at CRNReportService.setRptService(CRNReportService.java:95)
    at CRNReportService.runReport(CRNReportService.java:249)
    at ReportList.getmyReport(ReportList.java:175)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:97)
    at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
    at cfdsp_myView2ecfm809776710.runPage(D:\mypath\my.cfm:73)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
    at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
    at cfindex2ecfm278755501._factor151(D:\mypath\index.cfm:621)
    at cfindex2ecfm278755501.runPage(D:\mypath\index.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:363)
    at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:87)
    at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
    at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53)
    at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126)
    at coldfusion.CfmServlet.service(CfmServlet.java:200)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Thanks

  • Weblogic Class Loading issue

    Note: I am not sure what is the best suitable subject for this issue.
    Stack Trace:
    Error 1)
    &lt;Dec 30, 2011 11:02:51 AM GMT+05:30&gt; &lt;Error&gt; &lt;HTTP&gt; &lt;BEA-101017&gt; &lt;[ServletContext@29472630[app:EM11X module:Web path:/Web spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@14d05d1[
    POST /Web/GenerateMealPlanAction.do HTTP/1.1
    Via: 1.1 INDCHN-MGMT01
    Cookie: org.ditchnet.jsp.tabs:CommercialFormulaTabs=; org.ditchnet.jsp.tabs:KitchenTabs=; JSESSIONID=sZQFT9MJQc6vS6MCSXtdjWwSTLCcG6nqL12Fdyj1NFHcp4WnpkCB!1348500068
    Referer: http://130.78.88.83:7001/Web/GenerateMealPlanAction.do?vo.viewCode=generateMealPlanFrame&method=1&&menu_id=DS_DFLT&module_id=DS&function_id=DS_GEN_MEAL_PLAN&function_name=Generate%20Meal%20Plan&function_type=R&access=YYYYN&desktopFlag=N&vo.functionId=DS_GEN_MEAL_PLAN
    Content-Type: application/x-www-form-urlencoded
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.1)
    Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    Accept-Language: en-us
    Pragma: no-cache
    Connection: Keep-Alive
    Content-Length: 488
    ]] Root cause of ServletException.
    java.lang.IllegalArgumentException: Cannot invoke com.vo.GenerateMealPlanVO.setServingDate on bean class 'class com.vo.GenerateMealPlanVO' - argument type mismatch - had objects of type &quot;java.lang.String&quot; but expected signature &quot;com.core.util.Date&quot;
         at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2181)
         at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:2141)
         at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1948)
         at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:2054)
         at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1015)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.IllegalArgumentException: argument type mismatch
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2155)
         Truncated. see log file for complete stacktrace
    &gt;
    Error 2)
    &lt;Dec 30, 2011 11:11:19 AM GMT+05:30&gt; &lt;Error&gt; &lt;HTTP&gt; &lt;INDCHN-EPORT01&gt; &lt;AdminServer&gt; &lt;[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;&gt; &lt;1325223679258&gt; &lt;BEA-101017&gt; &lt;[ServletContext@29472630[app:EM11X module:Web path:/Web spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@1da8bfe[
    POST /Web/LookupAction.do HTTP/1.1
    Via: 1.1 INDCHN-MGMT01
    Cookie: org.ditchnet.jsp.tabs:CommercialFormulaTabs=; org.ditchnet.jsp.tabs:KitchenTabs=; JSESSIONID=GhG4T9TJ0ytD8dhRSGBFv2c3v1hNLftTTCJQHp6Qn9C5SnMGTVYF!1348500068
    Referer: http://130.78.88.83:7001/Web/core/lookup/jsp/LookupCriteria.jsp?undefined
    Content-Type: application/x-www-form-urlencoded
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.1)
    Accept: */*
    Accept-Language: en-us
    Pragma: no-cache
    Connection: Keep-Alive
    Content-Length: 304
    ]] Root cause of ServletException.
    java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String
         at com.lookup.pojo.web.LookupAction.doActionQuery(LookupAction.java:107)
         at com.core.pojo.web.BaseAction.execute(BaseAction.java:97)
         at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:106)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         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:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    &gt;
    [b]Analysis:
    Migrating J2EE Application from Oracle 10g Application Server to Oracle 11g Weblogic Server. I am stuck with above two issues. This issue not present while running in Oracle 10g Application Server
    1) I was thinking it is something to do with JSTL versions and the below command is executed to make the JSTL version to jstl 1.1.2
    java weblogic.Deployer -adminurl t3://localhost:7001 -user weblogic -password weblogic -deploy -library D:/Oracle/Middleware/wlserver_10.3/common/deployable-libraries/jstl-1.1.2.war
    The problem remains same.
    2) Now &lt;wls:prefer-web-inf-classes&gt;true&lt;/wls:prefer-web-inf-classes&gt; is added to weblogic.xml to make the Web application to load application specific libraries from WEB-INF/lib directory.
    The problem remains same.
    3) I checked Class Loader Analysis Tool and found conflicting classes and based on CAT recommendation the below list is added to weblogic.xml and &lt;wls:prefer-web-inf-classes&gt;true&lt;/wls:prefer-web-inf-classes&gt; is removed since both cannot co-exist.
         &lt;wls:prefer-application-packages&gt;
                   &lt;wls:package-name&gt;antlr.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;antlr.collections.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;antlr.collections.impl.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;antlr.debug.misc.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;com.mysql.jdbc.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.ejb.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.ejb.spi.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.enterprise.deploy.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.jms.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.management.j2ee.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.resource.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.resource.cci.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.resource.spi.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.security.jacc.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.servlet.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.servlet.http.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.servlet.jsp.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.transaction.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.transaction.xa.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.xml.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.xml.datatype.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.xml.namespace.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.xml.parsers.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.xml.registry.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.xml.transform.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.xml.validation.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;javax.xml.xpath.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.core.lmx.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.core.lvf.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.jdbc.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.jdbc.aq.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.jdbc.connector.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.jdbc.dcn.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.jdbc.diagnostics.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.jdbc.driver.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.jdbc.internal.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.jdbc.oci.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.jdbc.oracore.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.jdbc.pool.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.jdbc.rowset.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.jdbc.util.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.jdbc.xa.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.jpub.runtime.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.jsp.provider.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.net.ano.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.net.aso.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.net.jdbc.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.net.jndi.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.net.ns.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.net.nt.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.net.resolver.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.security.o3logon.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.security.o5logon.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.sql.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;oracle.sql.converter.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;org.apache.commons.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;org.apache.derby.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;org.apache.oro.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;org.apache.xerces.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;org.apache.xmlcommons.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;org.gjt.mm.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;org.joda.time.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;org.w3c.dom.*&lt;/wls:package-name&gt;
                   &lt;wls:package-name&gt;org.xml.sax.*&lt;/wls:package-name&gt;
              &lt;/wls:prefer-application-packages&gt;
    The problem remains same.
    Your help is greatly appreciated as I am stuck with this issue.

    No I cannot ignore this error while deplyment. I'm not able to deploy the war.
    More ovet this needs to be working as during startup, the servlet loads some xml files and convert into tables for the kiosk in the airport to be working.
    Edited by: [email protected] on Mar 27, 2009 12:24 PM

  • RMI Server Class path issue

    hi ,
    i am facing classpath issue when try to run rmi server. i have a jar file
    (RmiServer.jar) for rmi server , which contain some other jar file .
    when i run this jar file it throws ClassNotFoundException
    the java classloader are not able to load class from jar(RmiServer.jar)
    file. pls. tell me what i did wrong .
    Regards
    Brajesh K

    Actully you dont understand my problem.
    i have 2 jar file RmiClient.jar and RmiServer.jar
    when i run RMIserver.jar it throws following exception.
    Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: RmiServer_Stub
    the RmiServer.jar contain all the class file (stub/skelton,remote,etc) whichever needed.
    even i set class path to that folder where RMIserver.jar is placed
    inspite of that it throws ClassNotFoundException : RmiServer_Stub
    i dont undersatand why classloder , not able to load class file from Rmiserver.jar.
    any idea.
    thanks in advance
    Regards
    Brajesh K

  • Class import issue...?

    I'm really new with AS3 and coming up against all sorts of newbie-ness dumbfoundedness. So I apologizein advance if this is way simple.
    I am trying to import a custom class. It is a class I found on the Internet for rotating objectson the stage.
    The class file is called ApplicationMain.as.
    I'm simply trying to import the class so it will function with the movie.
    I have the ApplicationMain.as file saved in the same directory as my .FLA file.
    So my understanding is I simply need to import the file like this...
    import ApplicationMain
    When I do that there are no errors but the class does not call the needed functions and the objects on the stage cannot be rotated.
    I attached a trace and the trace comes through but the functions don't run.
    import ApplicationMain trace ('it was imported')
    Am I missing something? Isn't the path simply the file name as long as it is saved in the same directory as the .FLA?
    Thanks in advance!

    Ahhhhh...thank you!
    One other question that is related...
    So now it imports the class ApplicationMain.as.
    But now there are path issues that I can't quite figure out.
    So I have a scene called Content - my main and only scene.
    In that scene there is a MC called content_MC as well as 2 buttons; a print button and a start over button.
    Inside the content_MC there are several objects, including those that are labeled with instances that are meant to point the ApplicationMain file to them so they can have the ApplicationMain.as class applied to them.
    I have an AS layer/frame inside content_MC that imports the ApplicationMain class just as you suggested.
    Inside the ApplicationMain.as file the targets are registered as e1, e2, e3, e4, etc.
    These instances, e1, e2, etc, are located inside content_MC on a layer below the AS layer where the import of the ApplicationMain code is located.
    When I export the SWF I get error 1120 access to undefined property e1. This error occurs for each instance I am trying to target.
    This is clearly a path issue but  don't understand...?
    Shouldn't those instances be found by the ApplicationMain.as class since they are resident in the same movie clip where the ApplicationMain.as class is being imported into?
    Here's how the targets are registered in the ApplicationMain.as file...
    _transformTool.targets = [e1, e2, e3, e4, f1, f2, f3, f4, f5, f6, f7, f8];
    Man, AS3 is making my head spin! 
    Thanks a ton for your help!

  • Class loading issue with JDK 1.5

    I have recently loaded JDK 1.5 on a laptop that previously had version 1.3. The java code I need to run stopped working and I getget a java.lang.NoClassDefFoundError. I am logging the classpath and I see the jar file with the offending class is there.
    I checked my pathing even, since I know java will have a problem with slashes at the beginning of the path when it is called via command line. But all my pathing is absolute.
    In the code, I am using C to start up the JVM and then use JNI to communicate between java and C. Because of this complexity, I have searched the forums for problems with JNI and JDK 1.5. I found a case where turning off the JIT compilation kept the JVM from crashing for some users having issues with 1.5, but this approach did not work for me. Not too surprising, though, since this is really a classloading issue.
    Where do I go next? Anyone else having this problem?

    [http://java.sun.com/javase/6/docs/technotes/guides/security/SunProviders.html]
    Reminder: Cryptographic implementations in the Sun JDK are distributed through several different providers
    ("Sun", "SunJSSE", "SunJCE", "SunRsaSign")
    for both historical reasons and by the types of services provided.
    General purpose applications SHOULD NOT request cryptographic services from specific providers. That is:
        getInstance("...", "SunJCE");  // not recommended
         vs.
        getInstance("...");            // recommended
    Otherwise, applications are tied to specific providers which may not be available on other Java implementations.
    They also might not be able to take advantage of available optimized providers (for example, hardware
    accelerators via PKCS11 or native OS implementations such as Microsoft's MSCAPI) that have a
    higher preference order than the specific requested provider.

  • Oracle Class Loading issue

    Hello All
    I am trying to implement Dbunit in my project. My project uses OAS 10.1.3 and JDK 1.5. I have my dbunit.jar, slf4j-api.jar and slf4j-simple.jar in my shared-library and I have imported them using the class loader while deploying my application. But still I am getting NoclassDefFoundError Missing Dependent class LoggerFactory NotFound.
    Please let me know what could be issue.
    Thanks
    Sri

    Hello All
    I am trying to implement Dbunit in my project. My project uses OAS 10.1.3 and JDK 1.5. I have my dbunit.jar, slf4j-api.jar and slf4j-simple.jar in my shared-library and I have imported them using the class loader while deploying my application. But still I am getting NoclassDefFoundError Missing Dependent class LoggerFactory NotFound.
    Please let me know what could be issue.
    Thanks
    Sri

Maybe you are looking for

  • My device isn't showing up in iTunes?

    Hi. I'm not sure if this happened when I updated my iTunes or my iPhone...(I have an iPhone 5) but, for some reason whenever I plug in my phone via USB, it's not showing up in devices. I used to sync it through wifi as well and it's not showing up th

  • Problem in Tree with in a table

    Hi Experts, I have created a WDC which contains the tree with in a table. I have created a table in the view and a Master column in it. Initially i loaded the tree with some values in my WDDOINIT of my view. I have also created the event handler for

  • PDF Hyperlink not working-why?

    I use a variety of hyperlinks within my topics - internally within the topic, externally to remote topics, externally to other media such as Excel, Word, etc. My problem is with PDF's. My coworker can link no problem, and if I work on one of his topi

  • Downgrading quad G5 to 40GB SATA - Kernel Panic

    Howdy folks - I own a G5 Quadcore that came with a 250GB SATA HD. I purchased a second drive (both are Western Digital Caviar SE) and installed it as my backup drive. Everything works great, no issues. I bought a Western Digital 40G SATA (also a Cavi

  • Print with Java

    Hi, I have some documents to be printing by user. I would like to print only with on click. I explain. I have put a button in my web application that is 'Print'. That i would like to do is, when the button is clicking by user, print start automatical