Servlet not showing do not image BLOB Oracle in JSF

Hi forum.

I have a table in oracle in which i m storage photos in a BLOB on the field and extension (mime type) of the file in a field of varchar2. I can store image successfully. but I want the stored image to display in a graphicimage BLOB tag. I searched the net and found it must be done using servlet. the code I used is as follows. but I get a null pointer exception. I know I should get these exceptions but I don't know how to deal with since there is little vague rest in each site, I searched. so I opted to ask the forum.

Here is the code for my jsp page
                                     .
                                     .
                                     .
     <h:graphicImage value="/DisplayImage"/> 
                                    .
                                    .
 
Web.XML is amended as follows
              <servlet>
  <servlet-name>DisplayImage</servlet-name>
  <servlet-class>imageDisplay.DisplayImage</servlet-class>
</servlet>
<servlet-mapping>
  <servlet-name>DisplayImage</servlet-name>
  <url-pattern>/DisplayImage</url-pattern>
</servlet-mapping>
          
the servlet itself...
   package imageDisplay;

import java.sql.*;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import org.pa.utils.HibernateUtils;
import org.hibernate.Session;
public class DisplayImage extends  HttpServlet{
  
  public void doGet(HttpServletRequest request,HttpServletResponse response)  throws ServletException, IOException 
  {
 
            Session hibernateSession = null;
          hibernateSession = HibernateUtils.currentSession();
          Connection connection;
          connection = hibernateSession.connection();
          
          Statement st1;
  try{  
        Class.forName("oracle.jdbc.driver.OracleDriver");
         st1=connection.createStatement();
         ResultSet rs1 = st1.executeQuery("select APP_FILE from EMPLOYEE_DETAILS where EMP_ID = 2");  //APP_FILE IS THE BLOB FIELD
         System.out.println("----------------#@$#@$$%^$%^%&^*^&*(&(*&^%$#$%@#%^%^%&*&^*$^&#%^$%@#$%@#$--------------------");
       String imgLen="";
       
       while(rs1.next())
                 {
       imgLen = rs1.getString(1);
    
  
                  int len = imgLen.length();   //THIS IS LINE 35 WHERE ERROR IS EMERGED...............
                 byte [] rb = new byte[len];
                 InputStream readImg = rs1.getBinaryStream(1);
                 int index= readImg.read(rb, 0, len);  
  
            System.out.println("index----#@$#@$$%^$%^%&^*^&*(&(*&^%$#$%@#%^%^%&*&^*$^&#%^$%@#$%@#$------------"+index);
            response.reset();
            response.setContentType("image/jpg");
            response.getOutputStream().write(rb,0,len);
            response.getOutputStream().flush();
       }
  
  st1.close();
  response.getOutputStream().close();
 } catch (Exception e){
  e.printStackTrace();
  }
  }
}     


  
the error I get is
 index----#@$#@$$%^$%^%&^*^&*(&(*&^%$#$%@#%^%^%&*&^*$^&#%^$%@#$%@#$------------
java.lang.NullPointerException
     at imageDisplay.DisplayImage.doGet(DisplayImage.java:35)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
     at java.lang.Thread.run(Unknown Source)
Bundle of thanks in advance for reading my problem waterproofed and your help I'm looking desperately for

Published by: jaykio77 on January 11, 2012 04:09

Published by: jaykio77 on January 11, 2012 04:12

Instead of copying and pasting code, take the time to read on the works of JDBC. Yes it will take a long time, but when you acquire the knowledge you prevent you having to dump your problems on other people, in this case a lot of foreign friends.

Copy the following code:

imgLen = rs1.getString(1);

                  int len = imgLen.length();   //THIS IS LINE 35 WHERE ERROR IS EMERGED...............
                 byte [] rb = new byte[len];
                 InputStream readImg = rs1.getBinaryStream(1);

Does really not much sense. This assumes that the first position in the result set is a string and a BLOB.

Meanwhile, break your problem. What you want to do is to read a blob of a result set. Right? That's it, who cares that a servlet is involved, which is not what you are having problems with. You can not read the blob.

It is essential to realize that you can refine your google search for «blob of resultset» java Guess what appeared to be the first time for me:

http://www.java2s.com/code/Java/database-SQL-JDBC/GetBLOBdatafromresultset.htm

Tags: Java

Similar Questions

  • Display image Blob of jsf page without using servlet

    Hi all

    I would like to ask you if there is no solution to display image blob inside the jsf page without using servlet

    because I don't think its right to go to the servlet and get the value of the image from there.

    BR

    his does not work

    This helps not at all. All I can say is that the example works and you must check your configuration. Someone is preferable to obtain the sample running D o they you can watch in the most expensive configuration.

    Some configurations are case-sensitive, so you should double check your spelling.

    Timo

  • How to retrieve the image BLOB from database and display the image in rtf file using the Oracle XML Desktop 5.6.2 publication server?

    Hi all

    Here I have the image BLOB in the database files,

    I want to show the image to PDF using file to rtf using Oracle Xml Desktop Publisher,

    Hi all

    I found the solution for reading Image BLOB of data base & display in Pdf format.

    (1) read the image from DB.2) and then copy the picture using IO. UtilsCopy method to copy the picture

    (3) then encode with base64 converter then you will get the tag XML with Base64 as string then placed in your XML Code & preview the output, you will find the image

    Photo = (BlobDomain) currentRow.getAttribute ("Image");

    ByteArrayOutputStream OutputStream = new ByteArrayOutputStream();

                        Byte [] imageByte;
                          Byte [] b = null;
                        try {}
                        
                            IOUtils.copy (photo.getInputStream (), outputStream);
                            BS = outputStream.toByteArray ();
                            outputStream.flush ();
                            System.out.println("==="+BS.) Length);
                            Encoded byte [] is Base64.encodeBase64 (bs).;
                            encodedString = new String (encoded);
  • Does not start under Oracle forms to 11.5.10.2

    Hello
    .
    I can't launch Oracle ebs 11.5.10.2 forms

    I have connection in this 11.5.10.2 as a customer with an Internet Browser IE 9 and mleteWindows 7 Professional with Service Pack 1. Next step the server recommended the installation of
    Intall and Java™ 6 Update 17 the Java process starts and installation is complete.

    I restart my laptop and re-login to 11.5.10.2-purpose stll ebs does not start under Oracle Forms.

    Does anyone have ideas, what is happening?

    Thank you
    -Manny

    Make sure that you can launch the java console in Control Panel of-> Java. It is the fundamental step to work before going any further.

    and also once the java console is open, check the following:

    'Show the java console' - enabled

    "Activate Next genration java plugin" - disabled.

  • JSP error: could not initialize class oracle.apps.jtf.activity.PageLogManag

    Hi all

    Our ERP has been restarted after a connection problem, and now after a reboot, when we connect to the home page of the erp, we receive the following error message when we try to implement HTML basic shape elements: (http://xxxxxxx:8008/OA_HTML/OAErrorDetailPage.jsp)

    JSP error:


    --------------------------------------------------------------------------------

    Details of the exception.
    oracle.apps.fnd.framework.OAException: oracle.jbo.JboException: Houston-29000: Unexpected exception caught: java.lang.NoClassDefFoundError, msg = could not initialize class oracle.apps.jtf.activity.PageLogManager
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:872)
    at OAErrorPage. jspService(_OAErrorPage.java:221)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
    in com.evermind.server.http.ServletRequestDispatcher.access$ 100 (ServletRequestDispatcher.java:51)
    to com.evermind.server.http.ServletRequestDispatcher$ 2.oc4jRun(ServletRequestDispatcher.java:193)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
    at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:871)
    at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:816)
    in OA. jspService(_OA.java:256)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
    in com.evermind.server.http.ServletRequestDispatcher.access$ 100 (ServletRequestDispatcher.java:51)
    to com.evermind.server.http.ServletRequestDispatcher$ 2.oc4jRun(ServletRequestDispatcher.java:193)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
    to the RFjspService(_RF.java:225)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    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.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    # # 0 in detail
    java.lang.NoClassDefFoundError: has not been initialized class oracle.apps.jtf.activity.PageLogManager
    at oracle.apps.jtf.activity.CorePageObject.currentPageObject(CorePageObject.java:142)
    at oracle.apps.jtf.activity.PageValues.currentPageValues(PageValues.java:33)
    at oracle.apps.fnd.framework.webui.OAPageBean.finalizeRequest(OAPageBean.java:4134)
    in OA. jspService(_OA.java:242)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
    in com.evermind.server.http.ServletRequestDispatcher.access$ 100 (ServletRequestDispatcher.java:51)
    to com.evermind.server.http.ServletRequestDispatcher$ 2.oc4jRun(ServletRequestDispatcher.java:193)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
    to the RFjspService(_RF.java:225)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    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.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)

    --------------------------------------------------------

    help please... Thank you!

    Post the details of the version of the application, the database version and the OS.

    If it worked before, all changes have been made recently?

    You can find errors in the database log file?

    Please run AutoConfig, make sure it ends successfully and then check.

    Thank you
    Hussein

  • I could not connect my iphone 4 for Apple TV. If the sound comes out but not images.

    Hello

    I have an iphone 4 model MD128E/A

    7.1.2 IOS Software

    IAM a teacher at the University.

    I have a connection perfect with the ipad but not iphone 4

    I could not connect my iphone 4 for Apple TV. If the sound comes out but not images.

    Can I use the iphone 4 with the appletv?

    Thank you

    The iPad can be mirrored, your iPhone does not have this feature. The iPhone can use AirPlay, but not all applications are activated (up to the developer to do)

  • Unable to send attachments in outlook express. HTML is selected and is therefore 'send pictures' recipient receives the text but not images?

    I am unable to send attachments in outlook express. HTML is selected and is therefore 'send pictures' recipient receives the text but not images?

    All security settings seem fine, an idea?

    Some messages do not conform to the standards of the Internet in the sense that they cannot be returned intact by their transmission.  The way around this is to use Message | Until the attachment, then they will be properly transmitted, since they will be attached.

    Steve

  • Windows dvd maker problem: I hear but not image using windows DVD maker.

    I can hear but not image using windows DVD maker. A few obvious reasons? It's strange because it used to work and now a few months later it does not. The image is there in the start menu of the main menu, just before you press play it starts to play sound with no photos after I press play. Please help, steve gratefully.

    original title:
    Windows dvd maker problem

    Maybe the part "What to do if you have questions" of the following
    article would offer some ideas.

    How to burn DVDs with Windows DVD Maker
    http://www.7tutorials.com/how-burn-DVDs-Windows-DVD-Maker

  • Rotate the Plugin does not work in Oracle Apex 5

    Hi all

    Now I am developing an application using Oracle Apex 5.

    I have improved my request of Oracle Apex 4.2 to 5.

    I used the plugin called PivotTable. Its works fine in Oracle Apex 4.2, but does not work in Oracle Apex 5.

    I just downloaded the plugin from the link below

    https://code.Google.com/p/PLSQL-utils/downloads/detail?name=region_type_plugin_muledev_pivot_region.SQL

    How to use this plugin in my Oracle Apex 5 application?

    Thank you

    Su.GI

    Su.GI wrote:

    Now I am developing an application using Oracle Apex 5.

    I have improved my request of Oracle Apex 4.2 to 5.

    I used the plugin called PivotTable. Its works fine in Oracle Apex 4.2, but does not work in Oracle Apex 5.

    I just downloaded the plugin from the link below

    https://code.Google.com/p/PLSQL-utils/downloads/detail?name=region_type_plugin_muledev_pivot_region.SQL

    How to use this plugin in my Oracle Apex 5 application?

    Interaction with the rendering plugin 5.0 of APEX generates hundreds of errors in JavaScript (check the browser console) of the jquery.ui.sortable.min.js library included with the plug-in, indicating an incompatibility with versions 5.0 of the APEX of the other libraries.

    The plugin code includes a comment about this library:

      -- note: this file is also found in /i/libraries/jquery-ui/1.8.22/ui/minified/ but is not included by default by Apex
      apex_javascript.add_library (
        p_name      => 'jquery.ui.sortable.min',
        p_directory => p_plugin.file_prefix);
    

    APEX 5.0 is a newer version of the library of /i/libraries/jquery-ui/1.10.4/ui/minified/jquery.ui.sortable.min.js and the plugin works when it is used with it.

    Go to the components shared > Plug-ins > PivotTable, delete the original jquery.ui.sortable.min.js of the files section and download the 1.10.4 version instead.

  • Y at - it DB Oracle options that do not work with Oracle Apex

    Hi team,

    Y at - it options Oracle DB (DB audit vault wall and fire. HCC, advanced... Security etc) which will not work with Oracle Apex. Please let us know of a few documents if you

    Thank you kindly,

    Hi Rhine23,

    Rhine23 wrote:

    Y at - it options Oracle DB (DB audit vault wall and fire. HCC, advanced... Security etc) which will not work with Oracle Apex. Please let us know of a few documents if you

    It's the kind of question that can be answered with My Oracle Support | First Oracle Support or you can write to the APEX [email protected] about this application development team.

    Also, see the "Support" section at the end of the page Oracle Application Express - downloads.

    I hope this helps!

    Kind regards

    Kiran

  • Instance ID not recognized FAILED_CONTACTING_OPMN oracle: instance1

    Hello

    We have improved our 11.1.1.6 obiee to 11.1.1.7.0. Everything was running. After that we upgraded the installation to the latest patch level 11.1.1.7.140225.

    After that Admin and BI-serveur came again.

    But the CoreApplication (presentation server, programmer...) can no longer be started.

    Error:

    Instance ID not recognized FAILED_CONTACTING_OPMN oracle: instance1

    If someone had the same problem or have any idea whence this error?

    Thank you.

    Try to register the instance by using the command line for example as below:

    / OBI_HOME/forums/instance1/bin/opmnctl registerinstance adminHost - AdminServerHost - adminPort 7001

    / OBI_HOME/forums/instance1/bin/opmnctl updateinstanceregistration adminHost - AdminServerHost - adminPort 7001

    Enter the weblogic password if prompted, and then restart it and see how it goes.

    Check it for more Management Oracle Virtual Directory Server of the process - 11 g Release 1 (11.1.1)

  • XMLFile parameter is not supported by Oracle APEX, please use the setXMLFile() method

    "XMLFile parameter is not supported by Oracle APEX, please use the setXMLFile() method.

    I created a test web app in apex.oracle.com to try a few things. I created a Flash 2D pie chart in a Web page, and it seems to make very well. But before rendering, I get the error message above, on the region of graph for 1-2 seconds.

    Can anynone tell me what means the error message above and why I'm getting this. I do not use a custom XML part. Has not changed the default settings of the chart area.

    I could see above the error appearing clearly since the apex.oralce.com is so slow... and graphics region takes awhile to load. Otherwise I could not have noticed. It happens in the IE8 and Google chrome.

    Oralce Apex 4.2.5.00.006 (https://apex.oracle.com)

    Google Chrome 34.0.01847.116

    Internet Explorer 8.0.6001.19518

    Can anyone help please. I'll try to become a test application setup dispalying this awhile earlier error message.

    I used HTML5 graphics in apex 4.2.0.00.27 in my office in my real application workspace. Most of my users still use IE8. HTML5 graphics all appeared well in their IE8 browser. One fine day, some parameters must be changed by my network administrator or soemthing else could have happened. I have no idea. My webapplication HTML5 graphics disappear IE8 users. IE9 users had no problem. I contacted our IT support staff of any changes to security settings that day, or earlier. Absolutely no help from my frustration. I have to change maps of my application (only about 6 of them) to the Flash graphics to overcome this obstacle. This is the story behind why I use Flash cards. If anyone has experienced a similar problem in IE8 HTML5 graphics please shed any light for me... This problem may be nothing to do with the "XMLFile parameter error message', but I'm not sure.

    You strike again BUG introduced with Oracle Application Express 4.2.5

    http://www.Oracle.com/technetwork/developer-tools/Apex/application-express/Apex-425-known-issues-2186292.html

    18601802 - ANYCHART XMLFILE WARNING DISPLAYED BEFORE FLASH GRAPHICS RENDERING when Flash graphics that take a long time to make, the user can see the following warning message appears briefly "XMLFile parameter only is not supported by Oracle APEX, please use setXMLFile() method.» The table will be always delivered. Solution: Please advise end-users to ignore the message.

  • Could not load Logmanager 'oracle.core.ojdl.logging.ODLLogManager' error when you start the administration server

    Hello

    I installed weblogic 12.1.2.0.0 with RHEL5.6.  After installation, I tried to set the class path in a file setDomainEnv.sh under base domain directory,

    POST_CLASSPATH="/prosun/jasper/jasperreports-3.6.0.jar:/prosun/jasper/commons-digester-1.7.jar:/prosun/jasper/log4j-1.2.15.jar:/prosun/jasper/org.apache.commons.beanutils_1.6.jar:/prosun/jasper/org.apache.commons.collections_3.1.jar:/prosun/jasper/org.apache.commons.logging_1.0.4.jar:/prosun/jasper/iText-2.1.0.jar:/prosun/jasper/groovy-all-1.5.5.jar"

    While I'm trying to start the server administrator, the server is not started and special suite is reported in nohup.out file.  Please help me solve this problem.

    The library above pots are required for our applications.

    Could not load Logmanager 'oracle.core.ojdl.logging.ODLLogManager '.

    java.lang.ClassNotFoundException: oracle.core.ojdl.logging.ODLLogManager

    java.lang.ClassNotFoundException: oracle.core.ojdl.logging.ODLLogManager

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:366)

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:355)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:366)

    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:308)

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:355)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at java.security.AccessController.doPrivileged (Native Method)

    to java.util.logging.LogManager$ 1.run(LogManager.java:186)

    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

    to java.util.logging.LogManager. < clinit > (LogManager.java:176)

    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:308)

    at java.util.logging.Logger.getAnonymousLogger(Logger.java:483)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

    at java.util.logging.Logger.getAnonymousLogger(Logger.java:452)

    to java.util.logging.LogManager$ 1.run(LogManager.java:186)

    at weblogic.kernel.KernelLogManager.createClientLogger(KernelLogManager.java:44)

    at java.security.AccessController.doPrivileged (Native Method)

    to weblogic.kernel.KernelLogManager.access$ 000 (KernelLogManager.java:17)
    to java.util.logging.LogManager. < clinit > (LogManager.java:176)


    to weblogic.kernel.KernelLogManager$ LoggerMaker. < clinit > (KernelLogManager.java:20)

    at java.util.logging.Logger.getAnonymousLogger(Logger.java:483)

    at weblogic.kernel.KernelLogManager.getLogger(KernelLogManager.java:26)

    at java.util.logging.Logger.getAnonymousLogger(Logger.java:452)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at weblogic.kernel.KernelLogManager.createClientLogger(KernelLogManager.java:44)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    to weblogic.kernel.KernelLogManager.access$ 000 (KernelLogManager.java:17)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    to weblogic.kernel.KernelLogManager$ LoggerMaker. < clinit > (KernelLogManager.java:20)
    at java.lang.reflect.Method.invoke(Method.java:601)

    at weblogic.kernel.KernelLogManager.getLogger(KernelLogManager.java:26)
    at weblogic.logging.MessageLogger.log(MessageLogger.java:96)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at weblogic.logging.MessageLogger.log(MessageLogger.java:111)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at weblogic.logging.WLMessageLogger.log(WLMessageLogger.java:52)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at weblogic.security.SecurityLogger.logDisallowingCryptoJDefaultJCEVerification(SecurityLogger.java:13444)


    at java.lang.reflect.Method.invoke(Method.java:601)

    at weblogic.security.utils.SecurityUtils.turnOffCryptoJDefaultJCEVerification(SecurityUtils.java:81)
    at weblogic.logging.MessageLogger.log(MessageLogger.java:96)

    in weblogic. Server.main (Server.java:70) at weblogic.logging.MessageLogger.log(MessageLogger.java:111)

    at weblogic.logging.WLMessageLogger.log(WLMessageLogger.java:52)

    Could not load Logmanager 'oracle.core.ojdl.logging.ODLLogManager '.

    java.lang.ClassNotFoundException: oracle.core.ojdl.logging.ODLLogManager

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:366)

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:355)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:308)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

    to java.util.logging.LogManager$ 1.run(LogManager.java:186)

    at java.security.AccessController.doPrivileged (Native Method)

    to java.util.logging.LogManager. < clinit > (LogManager.java:176)

    at java.util.logging.Logger.getAnonymousLogger(Logger.java:483)

    at java.util.logging.Logger.getAnonymousLogger(Logger.java:452)

    at weblogic.kernel.KernelLogManager.createClientLogger(KernelLogManager.java:44)

    to weblogic.kernel.KernelLogManager.access$ 000 (KernelLogManager.java:17)

    to weblogic.kernel.KernelLogManager$ LoggerMaker. < clinit > (KernelLogManager.java:20)

    at weblogic.kernel.KernelLogManager.getLogger(KernelLogManager.java:26)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    Kind regards

    Anand Krishnan

    Hello

    I did according to your suggestion and cant able to start the administration server.

    I tried to post the class path by adding '${POST_CLASSPATH} " as follows and the problem was solved.

    Thanks a lot for answering my query.

    POST_CLASSPATH="${POST_CLASSPATH}:/oracle/Middleware_1212/jasper/jasperreports-3.6.0.jar:/oracle/Middleware_1212/jasper/commons-digester-1.7.jar:/oracle/Middleware_1212/jasper/log4j-1.2.15.jar:/oracle/Middleware_1212/jasper/org.apache.commons.beanutils_1.6.jar:/oracle/Middleware_1212/jasper/org.apache.commons.collections_3.1.jar:/oracle/Middleware_1212/jasper/org.apache.commons.logging_1.0.4.jar:/oracle/Middleware_1212/jasper/iText-2.1.0.jar:/oracle/Middleware_1212/jasper/groovy-all-1.5.5.jar:/oracle/Middleware_1212/jasper/poi-3.2-FINAL-20081019.jar".

    Kind regards

    Anand Krishnan

  • "Your browser is not supported by Oracle BI Presentation Services"

    Hello

    I installed obiee11.1.1.5 on windows 7 and I'm using the latest version of Firefox 12.0. When I try to open analytical through firefox12.0 I get warning as "your browser is not supported by Oracle BI Presentation Services" and it opens in Internet Explorer but graphics do not appear. Can someone tell me the solution for this?

    Published by: Uma on April 26, 2012 05:24

    Hey Uma,

    you have administrator privileges? If not try to run the FF with the administrator id - right click on the file exe and say "Run as Administrator" and then type "subject: config" without the quotes in the FF homepage, then you should be good and go forward with the rest of the steps.

    Thank you
    RM

  • ORA-03114: not connected to ORACLE

    Hello
    When an application (connected to a remote server to the database server) gives the following:
    Error Message   : ORA-03114: not connected to ORACLE cuted
    How do I know if the problem of connection comes from the database server or client remote server?
    Thank you and best regards.

    The cause of this error may vary. First of all, I would like to start by looking in the file database at the time of the disconnection alert.log. Then go through the application server logs. The system event log files can provide information on the loss of network connectivity e.t.c.

    Sincere friendships, I hope these points help you.

Maybe you are looking for

  • Can not activate Win 8 after removing all of the Satellite P850

    I did everything remove and reinstall Windows 8.As in the factory setting. But I can't activate Windows. The product key does not work. The Windows 8 K OME on my Toshiba Satellite P850. Thank you. Cheers mate.

  • Update the BIOS for Satellite U400-10O required

    Hello world I have a SATELLITE U400-10 oC (PSU40E-00R00EG3). It is an old product, but once I always love use regularly. Recently, I bought a battery for this device upgrade. Unfortunately, it does not recognize the laptop. The work of the battery, b

  • blank resource visa info during the first round

    Hi all I am trying to run the pilot of 6100 fluke on a fluke remote 6100.  When I run the initialization of the remote device, I always get the following error message: VISA: (Hex 0xBFFF000E) the given reference of session or the object is not valid.

  • Ads are played in the computer even if there is no program running

    Original title: my problem came out of nowhere, I keep getting interrupted with audio ads or programs. Even if I close all the windows, I can still hear announcements! Is it possible that the widows can be opened that I do not know of? its very frust

  • BlackBerry Smartphones BB Pearl 8220 Flip - external display troubleshooting.

    On a few weeks ago, my father has updated my BB Flip 8220 with the Desktop Manager software that comes with the phone. When he gave me this back, I realized that the external display is empty or just said "T Mobile". Then I noticed several things: wh