Instantiation exception in oc4j and jdev10.1.3

Hi
I am using jdeveloper 10.1.3
I wrote some session ejb's in MODEL project and using database mysql
I am using oc4j's auto deployment feature
I have some JSF files in view project
I ran successfully my applications few number of times
Suddenly one day when i run my jsp file
Internetexplorer showing page can't be displayed
Oc4j server windoe in jdev showing this exception
any help will be appreciated
Target URL -- http://172.16.0.111:8988/Gigantic-View-context-root/faces/Home.jsp
05/05/28 16:53:25 Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 3 initialized
05/05/28 16:53:52 java.lang.InstantiationException: com.corejsf.UploadRenderer
05/05/28 16:53:52      at java.lang.Class.newInstance0(Class.java:293)
05/05/28 16:53:52      at java.lang.Class.newInstance(Class.java)
05/05/28 16:53:52      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:876)
05/05/28 16:53:52      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:925)
05/05/28 16:53:52      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:406)
05/05/28 16:53:52      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
05/05/28 16:53:52      at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:908)
05/05/28 16:53:52      at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:593)
05/05/28 16:53:52      at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:399)
05/05/28 16:53:52      at com.evermind.server.Application.getHttpApplication(Application.java:404)
05/05/28 16:53:52      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1976)
05/05/28 16:53:52      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1959)
05/05/28 16:53:52      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.getHttpApplication(HttpSite.java:1911)
05/05/28 16:53:52      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.getHttpApplication(HttpSite.java:1901)
05/05/28 16:53:52      at com.evermind.server.http.HttpSite.checkSessionTimeouts(HttpSite.java:967)
05/05/28 16:53:52      at com.evermind.server.http.SessionTimeoutTask.checkSessionTimeouts(SessionTimeoutTask.java:156)
05/05/28 16:53:52      at com.evermind.server.http.SessionTimeoutTask.run(SessionTimeoutTask.java:126)
05/05/28 16:53:52      at com.evermind.util.Task.schedule(Task.java:51)
05/05/28 16:53:52      at com.evermind.util.TaskManager.run(TaskManager.java:196)
05/05/28 16:53:52      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:294)
05/05/28 16:53:52      at java.lang.Thread.run(Thread.java:534)
05/05/28 16:53:52 javax.faces.FacesException: java.lang.InstantiationException: com.corejsf.UploadRenderer
05/05/28 16:53:52      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:334)
05/05/28 16:53:52      at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:908)
05/05/28 16:53:52      at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:593)
05/05/28 16:53:52      at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:399)
05/05/28 16:53:52      at com.evermind.server.Application.getHttpApplication(Application.java:404)
05/05/28 16:53:52      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1976)
05/05/28 16:53:52      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1959)
05/05/28 16:53:52      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.getHttpApplication(HttpSite.java:1911)
05/05/28 16:53:52      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.getHttpApplication(HttpSite.java:1901)
05/05/28 16:53:52      at com.evermind.server.http.HttpSite.checkSessionTimeouts(HttpSite.java:967)
05/05/28 16:53:52      at com.evermind.server.http.SessionTimeoutTask.checkSessionTimeouts(SessionTimeoutTask.java:156)
05/05/28 16:53:52      at com.evermind.server.http.SessionTimeoutTask.run(SessionTimeoutTask.java:126)
05/05/28 16:53:52      at com.evermind.util.Task.schedule(Task.java:51)
05/05/28 16:53:52      at com.evermind.util.TaskManager.run(TaskManager.java:196)
05/05/28 16:53:52      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:294)
05/05/28 16:53:52      at java.lang.Thread.run(Thread.java:534)
05/05/28 16:53:52 Caused by: java.lang.InstantiationException: com.corejsf.UploadRenderer
05/05/28 16:53:52      at java.lang.Class.newInstance0(Class.java:293)
05/05/28 16:53:52      at java.lang.Class.newInstance(Class.java)
05/05/28 16:53:52      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:876)
05/05/28 16:53:53      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:925)
05/05/28 16:53:53      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:406)
05/05/28 16:53:53      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
05/05/28 16:53:53      ... 15 more

Hi Avi,
Yes, the wrapper classes are formed from the Remote Interface as you said.
What i have meant in my post was,
While the bean wrapper classes are formed from the Remote Interface, the application is forming try - catch blocks for the exceptions which the interface is throwing.
In the interface, Throwable is also thrown. So Oc4j forms a catch block to handle this Throwable in addition to which it adds its own catch block to handle Exception.
Hope i have answered your question.

Similar Messages

  • Errors with CF 8.0.1 hotfix 3 and hotfix 4, "Object Instantiation Exception.Class not found"

    We need to get our servers up to date with the latest ColdFusion hotfixes in order to pass our security scans and policies. We have been following the Adobe instructions for installing the hotfixes, but we’re getting the same errors each time. The CF 8 hotfix 2 works fine, but once we install hotfix 3 and/or hotfix 4, we get the following errors:
    "Object Instantiation Exception.Class not found: coldfusion.security.ESAPIUtils The specific sequence of files included or processed is: C:\ColdFusion\wwwroot\WEB-INF\exception\java\lang\Exception.cfm, line: 12 "
    coldfusion.runtime.java.JavaObjectClassNotFoundException:
    We have dozens of servers running Windows XP, Netscape Enterprise Server 6.1 (I  know, don’t laugh), ColdFusion 8,0,1,195765, and Java Version 1.6.0_04. Just about  the only good thing about running XP on our servers is that it matches  our development boxes, so we have almost mirrored environments for dev,  test, and production. We do NOT have the CF install with the J2EE configuration.
    The crazy thing is, on tech note 51180 (http://kb2.adobe.com/cps/511/cpsid_51180.html), it says that the fix for bug # 71787 (Fix for "Object Instantiation Exception" thrown when calling a Java object constructor or method with a null argument under JDK 1.6.) was added in cumulative hotfix 2. However we don’t see this problem until we go to hotfix 3 (or 4).
    I’ve also been reading that other people had this same problem, and that the CF 8 hotfix 3 was not compatible with certain versions of JDK, then when you read the Adobe site for CF 8.0.1 hotfix 3, it says “Added the updated cumulative hotfix to make it compatible with jdk 1.4.x, 1.5.x and 1.6.x.”, so that makes me think that Adobe was supposed to have fixed this CF 8.0.1 hotfix 3 JDK incompatability issue - but unfortunately it's still not working for us. We have followed the instructions for removing the jar files and starting/restarting the CF server as directed, we’ve tried this 5-6 times, and still no luck.
    Recommendations? Seems like this is a ColdFusion bug to me – one that says is fixed on the Adobe site, but is not fixed in our environment. Please advise, thanks.

    For what it's worth, we had an MXUnit user describe a similar, though not identical, problem after installing the latest hotfixes. In his case, he's getting "NoSuchMethodExceptions".

  • JSR168 Portlet Exception with Oracle OC4J and Spring

    JSR168 Portlet Exception with Oracle OC4J and Spring
    I’m having a problem with accessing a Spring JSR168 Portlet when deployed on Oracle OC4J. I have created a very simple portlet that just renders simple jsp page. I created two versions. One using GenricPortlet and one using org.springframework.web.portlet.mvc.AbstractContro ller. The non-Spring portlet deploys and runs as expected. The Spring portlet deploys but throws the following exception
    Code:
    07/11/05 08:23:44 [ERROR] DispatcherPortlet - Could not complete request <javax.portlet.PortletException>javax.portlet.PortletExcept
    ion
    at oracle.portlet.server.containerimpl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:74)
    at org.springframework.web.portlet.DispatcherPortlet.render(DispatcherPortlet.java:1077)
    at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:809)
    at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:475)
    at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:445)
    at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
    at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:161)
    at oracle.portlet.wsrp.v1.WSRPv1ToServer.getMarkup(WSRPv1ToServer.java:4512)
    at oracle.portlet.wsrp.v1.WSRP_v1_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v1_Markup_PortTypeSoapToJaxb.java:68)
    at oasis.names.tc.wsrp.v1.bind.runtime.WSRP_v1_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v1_Markup_Binding_SOAP_Tie.java
    :60)
    at oasis.names.tc.wsrp.v1.bind.runtime.WSRP_v1_Markup_Binding_SOAP_Tie.processingHook(WSRP_v1_Markup_Binding_SOAP_Tie.java:7
    79)
    at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:86)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: javax.servlet.ServletException: Error in servlet
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:759)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160)
    at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:51)
    at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:97)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:102)
    at oracle.portlet.server.containerimpl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:65)
    ... 34 more
    Nested Exception is javax.servlet.ServletException: Error in servlet
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:759)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160)
    at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:51)
    at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:97)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:102)
    at oracle.portlet.server.containerimpl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:65)
    at org.springframework.web.portlet.DispatcherPortlet.render(DispatcherPortlet.java:1077)
    at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:809)
    at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:475)
    at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:445)
    at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
    at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:161)
    at oracle.portlet.wsrp.v1.WSRPv1ToServer.getMarkup(WSRPv1ToServer.java:4512)
    at oracle.portlet.wsrp.v1.WSRP_v1_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v1_Markup_PortTypeSoapToJaxb.java:68)
    at oasis.names.tc.wsrp.v1.bind.runtime.WSRP_v1_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v1_Markup_Binding_SOAP_Tie.java
    :60)
    at oasis.names.tc.wsrp.v1.bind.runtime.WSRP_v1_Markup_Binding_SOAP_Tie.processingHook(WSRP_v1_Markup_Binding_SOAP_Tie.java:7
    79)
    at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:86)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    2007-11-05 08:23:44.085 WARNING An internal error has occurred in method getMarkup()
    I have managed to deploy and run the Spring portlet using Sun App Server and Sun Portlet container with no problems which leads me to believe my Spring setup is correct.
    I also have managed to run the Spring pets portlet example on Sun App Server and Sun Portlet container with no problems. But again it fails on Oracle with the same problem.
    To deploy on Oracle I ran the oracle wsrp jar against my EAR. As far as I can tell it has not corrupted any of the Spring setup in the web.xml.
    The version are as follows
    Oracle Portal 10.1.4 running on OAS 10.1.2
    calling the portlet using WSRP v1.
    The portlet is running on standalone OC4J 10.1.3.3 with Oracle portlet container 10.1.3.2. On Windows Spring 2.0.6.
    Any ideas? Thanks Paul

    Was an answer ever found? I am currently experiencing the same issue.
    Edited by: user10567841 on Nov 8, 2008 12:21 PM

  • OC4J and BC4J Runtime installation for Solaris (Unix)!

    We have successfully installed, configured and deployed JSP/BC4J apps using OC4J and BC4J on Windows NT/2000. However, our production environment is Solaris.
    We have installed OC4J on Solaris, with some difficulties. How/where is the installation process for the BC4J Runtime Installation? The download (bc4j-ojsp.zip) for this utility is Windows only.
    Is there a method or process to install BC4J Runtime on Unix? If not, we are stuck.
    We cannot use JServ (servlet limitations) and refuse to use OSE (to many issues).
    Any guidance or assistance would be greatly appreciated...
    JDeveloper 3.2.3
    iAS 1.0.2.2
    Solaris 8
    JDK 1.2.2_08 (Unix)
    Dean

    Stephan,
    I have located multiple "connections" files and will remove all but the default located in the OC4J classes directory. We have been developing with JDeveloper and it often created multiple connections files that appear when you "jar" project components.
    We also installed JDK1.2.2_008 and are using this. However, when I use the classpath method of starting OC4J, I receive numerous errors. Using the jar method, everything works, with the exception of BC4J apps. I'll have to look into the errors more.
    Thanks for the response. At least I know one other person (organization) is using this successfully. I hope to join the "success" crowd tomorrow!
    Thanks again...
    Dean

  • OC4J and FOP (Formatting Objects Processor)

    Hi,
    I have standalone OC4J and I deployed fop.war into it. But when i try access http://[hostname]:8888/fop/apex_fop.jsp i am getting error in logs:
    2007-10-04 10:42:53.799 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : Exception:oracle.jsp.provider.JspCompileException: <H3>Errors compiling:/opt/oracle/OC4J/j2ee/home/application-deployments/default/defaultWebApp/persistence/_pages/_fop/_fop/_apex__fop.java</H3><TABLE BORDER=1 WIDTH=100%><TR><TH ALIGN=CENTER>Line #</TH><TH ALIGN=CENTER>Error</TH></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>11</TD><TD> package org.apache.fop.apps does not exist
    import org.apache.fop.apps.Driver;
    </TD></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>12</TD><TD> package org.apache.fop.apps does not exist
    import org.apache.fop.apps.Options;
    </TD></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>89</TD><TD>[jsp src:line #:38]<br> cannot resolve symbol
    symbol : class Driver
    location: class fop.fop._apex__fop
    Driver driver = new Driver();
    </TD></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>89</TD><TD>[jsp src:line #:38]<br> cannot resolve symbol
    symbol : class Driver
    location: class fop.fop._apex__fop
    Driver driver = new Driver();
    </TD></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>92</TD><TD>[jsp src:line #:41]<br> cannot resolve symbol
    symbol : variable Driver
    location: class fop.fop._apex__fop
    driver.setRenderer(Driver.RENDER_PDF);
    </TD></TR></TABLE>
    Any ideas why this is happening?
    M

    Looks like the libraries or at least the Driver class used by FOP is not accessible.
    What's in fop.war -- it is fully self contained where the dependent libraries are in web-inf/lib or is it expecting them to be provided outside of the application?
    Where'd you get fop.war from, I can take a look and see.
    -steve-

  • Java object instantiation exception after upgrade from CF9 to CF10

    I have some custom Java classes placed within the C:\ColdFusion10\cfusion\wwwroot\WEB-INF\classes directory of my CF10 install. Although these worked in CF9, I am now getting the following error:
    Error Occurred While Processing Request
    Object instantiation exception.
    An exception occurred while instantiating a Java object. The class must not be an interface or an abstract class. Error: javax/mail/Store.
    The exception log entry is similar:
    "Error","ajp-bio-8012-exec-1","01/28/13","21:51:08",,"Object instantiation exception.An exception occurred while instantiating a Java object. The class must not be an interface or an abstract class. Error: javax/mail/Store. The specific sequence of files included or processed is: sample\path\to\document\index.cfm, line: 1 "
    coldfusion.runtime.java.JavaObjectInstantiationException: Object instantiation exception.
    I created a simple sample that attempts to instantiate the object that throws the above exception:
    <cfscript>m = createObject( "Java", "sample.namespace.MBoxReader" );</script>
    I can create the same object in Java without error, e.g.:
    MBoxReader m = new MBoxReader();
    I checked, but as far as I can nothing attempts to instantiate the Store class, only subclasses of store. I have read in other posts that this may be due to missing classes or duplicate classes, so I'm not ruling that out, but haven't had much luck in identifying anything yet. Any tips on troubleshooting this issue?
    EDIT: I started with a much simpler Java class and started adding methods back to it. It appears to break when I attempt to instantiate a mail session:
    "Error","ajp-bio-8012-exec-1","01/29/13","10:17:22",,"javax/mail/Session The specific sequence of files included or processed is: sample\path\to\document\index.cfm, line: 3 "
    java.lang.NoClassDefFoundError: javax/mail/Session
    I built the project using the mail.jar file in C:\ColdFusion10\cfusion\lib, which contains a Session class. However, the Session class does not have a public constructor--maybe that's why CF has an issue.
    For example, calling this Java method via CF causes the error:
    public void mboxTest() {
       Properties props = new Properties();
       Session session = Session.getDefaultInstance( props );

    Hi,
    Can you please roll back the Security patch and the reason is because you have missed some files  when you were applying the patch. So after you roll back check if the admin in working then re-apply the patch once again.
    Regards,
    Priyank

  • How can i delete all history, except open windows and tabs?

    hi, i can not find any way to delete all my firefox history, except open windows and tabs.
    i could not find any solution about in the web. i did try almost all settings in privacy settings, nothing works. any ideas how to do that, or maybe suggestions for add ons?

    Hello,
    Have you looked in:
    * History (or [[Image: New Fx Menu]] > History) > Clear Recent History...
    You can choose what you want cleared and the time frame.

  • Hi I have 2 apple id's one which has pulled through everything except my calendars and one which has pulled through just my calendars. How do I move my calendars from one apple id to another?

    Hi I have 2 apple id's one which has pulled through everything into icloud except my calendars and one which has pulled through just my calendars. How do I move my calendars from one apple id to another so that I can see everything in icloud with one apple id?

    Having read some other posts I think I have answered my question. If I was somehow able to terminate my old (unwanted) account and Apple ID I would no longer be able to access the material I bought with that ID-  so I'm stuck. I have to learn how to manage that situation.
    This is unfortunate for Apple consumers. Life is complicated for families these days and this "rule" although it is in place to prevent cheating and fraud makes things unnnecessarily difficult for me and my family as in my niaevity (sic) with the online world I bumbled into this situation. Not everyone is out to rip off Apple - one of the worlds richest corporations- or the entertainers who market their work through iTunes.I would just like to be able to enjoy the entertainment I pay for where and when I like to on whichever computer is available to me. And I'm not terribly computer literate.   
    It would have been nice to have had the opportunity to speak just once to a real person in the employ of Apple to explain my situation to them.

  • HT201406 IOS7 installed OK to my iPhone 4S and worked OK for a while but I have somehow managed to completely jam my iPhone 4s. The touch screen won't work except for up and down gestures (some of the time). I can't make or answer calls, I can't even powe

    IOS7 installed OK to my iPhone 4S and worked OK for a while but I have somehow managed to completely jam my iPhone 4s. The touch screen won't work except for up and down gestures (some of the time). I can't make or answer calls, I can't even power if off. I can't access the hardward ID which Apple support seems to require for Chat.
    It might have happened when I was accessing my camera bypassing the lock screen!
    All I know is that the thing is now useless and it looks like I will have to wait for the battery to run down to see if powering it back up afterwards will solve the problem.

    I have since discovered the "hold down home key and power button" together for a few seconds and this seems to have worked .... phew!

  • How can we open a new instance of Firefox without URL bar and any other control (except PREV, NEXT and RELOAD)?

    Dear Volunteers,
    I am looking for a solution for Firefox Win App and Mobile Apps where on click of a button from the website page, we should be able to launch a new instance of firefox instance (like a popup box) with following features:
    a. It SHOULD NOT have any URL bar to display.
    b. It SHOULD NOT show any plug-ins or any other functionality except Previous, Next and Reload.
    c. This instance of firefox should always be on-top of all other application.
    Please advise, how firefox can be customized to offer in all platforms by default.
    With lot of hope from this volunteer community,
    Rajiv

    You would need your visitors to install some kind of add-on, since web pages do not have permission to block the display of the page address and users do not need to allow a new window to be modal and block other Firefox windows, much less other OS windows.
    Over the years, people have developed extensions for kiosk-style displays. You could investigate those for ideas.

  • Oracle.jbo.NoDefException: 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-25058. Error message parameters

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: 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-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: 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-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

  • I just migrate settings and software from my PowerBook to a new Mac Pro. All the software download from CC is there and working, except for CC, and there is not way to install.

    I just migrate settings and software, include CC, from my PowerBook to a new Mac Pro. All the software download from CC is there and working, except for CC, and there is not way to install. I have try because every time I restar keep bothering asking for installation, (by the way, the link is not up to date). Will appreciate your help.

    never migrate adobe software.  it should be properly installed.
    uninstall all the cc programs you can, clean and then reinstall per, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • Hello everyone, Very recently itunes on my windows computer does not let me access any items in my Library except for "Apps" and "Ringtones". When I click on any other items it flashes the redcircle meaning forbidden".

    Hello everyone, Very recently itunes on my windows computer does not let me access any items in my Library except for "Apps" and "Ringtones". When I click on any other items it flashes the redcircle meaning forbidden".
    When I connect my iPhone or iPad I can see every items on them but not on the iTunes Library.
    They sync fine with iTunes.
    I browse all the menus in iTunes but cannot find any clues to what I have done for it to happen. It worked fine previously.
    Thanks for any suggestion.

    You should really read the manual.
    "How do you restore from backup? "
    Restore.  When given the choice, choose to use backup.
    "And how can I check to see if the pics and videos are on my computer somewhere first??"
    They would only be where you put them.  What program did you use to import them?  Pics/vids taken with ipod are not part of the sync process at all.  You should be importing them just as you would with any digital camera.
    If you did not import them, then they are not on your computer.

  • OC4J and FOP installation

    Hi,
    We would like to use the PDF printing of 3.0.1
    I am trying to install FOP but I do not have any knowledge in OC4J and Java ... so I am kind a lost right now.
    I am following the installation guide of OC4J standalone (http://download.oracle.com/docs/cd/B32110_01/web.1013/b28950/install.htm#BABIBGCA)
    I was wondering :
    1- do I need to install oc4j standalone in a separate Oracle Home ?
    2- There is already an OC4J installed in my db Oracle Home , I guess for emdbconsole. So , I created a new directory called oc4j_sa and unzipped the file. When I start OC4J with oc4j -start , it does not give me the prompt back. Then , I can access the web page with port 8888 (192.168.0.21:8888) , but 192.168.0.21:8888/em fails . So I cannot deploy the FOP war file.
    Any pointers or guidance would be great.
    Thanks
    Francis.
    P.S. :
    Oracle 10.1.0.5
    Oracle Linux (RH 4)

    OK, I finally got to the deployment of FOP but now it generates a corrupted PDF.
    Are there any log files that I can check ?
    I created a new Oracle_home for OC4J and ran "EM" to deploy FOP and everything worked like in the viewlet.
    Now I did the setup in APEX and set the following :
    Standard Support
    Print Server Protocol HTTP
    Print Server Host Address 192.168.0.21
    Print Server Port 8888
    Print Server Script /fop/apex_fop.jsp
    I created a sample application to test. In a report , I added the print link.
    When I clic Print, the pdf generated is corrupted and does not work.
    Thanks
    Francis.

  • Question about throws exception in interface and realized class

    Hi,all
    If I define a method In the interface like that-
    public void Execute() throws NumberFormatException; In the realized class, I can define this method like that-
    public void Execute() throws RuntimeException{
            System.out.println("test");       
    }This is a right realization. But if I manage it to throws Exception or to throws Throwable in the class it leads a error. Why add this restrict only to Exception? What is the purpose of this way?
    Greetings and thanks,
    Jason

    When you say "throws NumberFormatException" you are really saying:
    When using classes implementing this interface, you have to be prepared to deal with them throwing a NumberFormatException. Other exceptions won't happen.
    When you come to implement it, it might not be possible for it to throw a NumberFormatException, so there's no reason why you should have to lie about that. Code handling it directly will be fine (it doesn't throw a NFE) and code handling it via the interface will be fine (it will handle NFEs, they just don't happen).
    If your concrete implementation throws other sorts of exception, such as Exception or IOException, and so on, it's incompatible with code that's manipulating the interface. The interface says "NFEs might get thrown, nothing else will." while your implementation says "IOExceptions might get thrown".
    So that explains why you can't use arbitrary exceptions. The special case is RuntimeException. RuntimeExceptions don't have to be caught, and it's expected that they can happen at any time - so there's no point trying to catch and handle them as a general case.
    The classic example of a RuntimeException is a NullPointerException. You don't need to declare your method as throwing a NullPointerException even though it might get thrown. And you don't have to add NullPointerException to the throws part of the interface definition, because you already know that the concrete implementation could throw a NPE at any time.
    Hope that helps (a little).
    I'd recommend reading the API documentation on RuntimeException and Exception to get a clearer insight into this.
    Dave.

Maybe you are looking for