Help - deploying JSPs to Apache

I have deployed a jsp from jdeveloper but when i try to run it, apache and explorer, i get the following error
JSP Error:
Request URI:/Hierarchy.jsp
Exception:
java.lang.NoClassDefFoundError: oracle/jbo/common/ampool/PoolMgr
if I then refresh it I then get
JSP Error:
Request URI:/Hierarchy.jsp
Exception:
java.lang.NoClassDefFoundError: oracle/jbo/html/jsp/JSPApplicationRegistry
I have set up jserve.properties so that all the class paths point to the same classes as jdeveloper because the jsp works in jdeveloper. Should this work?
How can I get more information on these errors because they seem very unobvious to me!
Thanks in advance...

java.lang.NoClassDefFoundError: oracle/jbo/common/ampool/PoolMgr
It means that you don't have jboremote.zip in the classpath of your Apache.
Check out the HOWTO article on this type of deployment http://technet.oracle.com:89/ubb/Forum2/HTML/006398.html
raghu

Similar Messages

  • Deploying JSPs on Apache

    Hello,
    I have deployed a project containing a jsp and I am getting the following mesage:
    JSP Registry could not locate runtime property file 'MyProjectModule.properties'
    Thanks

    Hello ,
    You just need to have the BC4J application
    classes & the BC4J framework jar files
    placed in the middle tier (
    JBO , and have them included in your CLASSPATH.The BC4J classes
    then could be accessed from a java application deployed on Apache.
    This is similar to Local deployement.
    null

  • Deploy JSP, XSQL-XSL Application on OC4J or Apache?

    I have an application having JSPs and XSQL-XSL pages (not EJBs)
    for the internet.
    Which is the best deployment type?
    - Running both on OC4J (after installing XSQL),
    - Running both on Apache,
    - Running one on Apache and other on OC4J?
    What about using Apache as a proxy sending requests to OC4J?
    Thanks.

    I deployed both on Apache (JSP,XSQL) and I have another PC with Apache as Proxy.
    It works fine. I dont know the performance when many users try to connect.

  • How to deploy JSPs in Tomcat 5.5

    hello all
    i am Mayuresh Trivedi. i don't know how to Deploy Jsps in Tomcat 5.5. i m using MYSql as Backend. i m trying to use "import" command in Jsp so it shows me error like under :
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    Syntax error on token "import", delete this token
    Generated servlet error:
    Syntax error on token "import", delete this token
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.7 logs.
    so , can any body help me please ?

    hi
    first create a arbitrary folder in \webapp folder in tomcat home foder.
    for instance \webapp\myJSP
    second you must create a folder with this name : \WEB-INF under myJSP folder
    then make a web.xml in that
    so write in web.xml this :
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <description>
    myJSP
    </description>
    <display-name>JSP 2.0 Examples</display-name>

  • Deploying JSP 2

    Dear friends,
    I still have troubles with deploying jsp application to remote computer with UNIX platform. JSP application uses BI BEANS and on computer with NT platform is everything OK. I have copied all libraries from my computer to remote one. The only difference is platform of the computer. The error message follows.
    Thank you for helping me
    Martin Cizek
    500 Internal Server Error
    java.lang.NoClassDefFoundError     at oracle.dss.thin.beans.dataView.BaseTitle.<init>(BaseTitle.java:50)     at oracle.dss.thin.beans.dataView.Title.<init>(Title.java:31)     at oracle.dss.thin.beans.dataView.Title.<init>(Title.java:42)     at oracle.dss.thin.beans.dataView.ThinDataview.<init>(ThinDataview.java:140)     at oracle.dss.thin.beans.gridView.ThinGridView.<init>(ThinGridView.java:122)     at oracle.dss.thin.beans.crosstab.ThinCrosstab.<init>(ThinCrosstab.java:216)     at java.lang.Class.newInstance0(Native Method)     at java.lang.Class.newInstance(Class.java:232)     at oracle.dss.persistence.persistencemanager.client.DefaultObjectFactory.getObjectInstance(DefaultObjectFactory.java:194)     at oracle.dss.persistence.persistencemanager.client.DefaultStateHandler.recreatePersistableFromStateAgent(DefaultStateHandler.java:353)     at oracle.dss.metadataManager.client.handlers.persistence.PersistenceMetadataHandler.getObjectInstance(PersistenceMetadataHandler.java:242)     at oracle.dss.metadataManager.client.MetadataManager.getUserObject(MetadataManager.java:3116)     at oracle.dss.metadataManager.common.MDFolder.lookup(MDFolder.java:350)     at oracle.dss.metadataManager.common.MDFolder.lookup(MDFolder.java:528)     at oracle.dss.addins.jspTags.BIThinSession.loadView(BIThinSession.java:129)     at oracle.dss.addins.jspTags.PresentationTag.createThinObject(PresentationTag.java:142)     at oracle.dss.addins.jspTags.BIBaseTag.getThinObject(BIBaseTag.java:76)     at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:225)     at U.jspService(_U.java:72)     [SRC:/U.jsp:6]     at com.orionserver[Oracle9iAS (9.0.2.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)

    Does this post apply to iAS902 on Linux?
    PLEASE HELP!!!!
    Specifically: I log in as the oracle user and run the commands to start iAS per the manual.
    with DISPLAY set properly and I added xhost +mysvr.
    oracle user runs emctl start which start the em website on port 1810.
    While the oracle user is logged in the website is fine on all screens.
    If I log the oracle user out at the console and access the website I get the error on the server page:
    Servlet error: Renderer failed: java.lang.InternalError: Can't connect to X11 window server using 'mysvr.mydomain.edu:0.0' as the value of the DISPLAY variable.
    Log back in and it still does not work?
    The system was running with the Redhat default /etc/host file that had:
    127.0.0.1 mysvr.mydomain.edu mysvr localhost.localdomain localhost
    But this was changed to:
    127.0.0.1 localhost.localdomain localhost
    128.223.28.40 mysvr.mydomain.edu mysvr
    because this default host file caused problems with oem and the Inetlligent Agent:
    First of all, the error you are getting is related to missing classes/libraries. Please make sure the required libraries are in the classpath of the running application.
    Second, you will need to configure the X server on UNIX for JSP applications developed using the BI beans JSP tags to work.
    If you are getting an error like this "Can't connect to X11 window server using ':0.0'
    as the value of the DISPLAY variable."
    Hardware Requirements for X server configuation
    The standard X server software which ships with most UNIX platforms imposes some hardware requirements on the hosting machine. The X server requires access to a hardware frame buffer. Also, a keyboard is required by default (although there may be some way to work around this requirement). In general, if the UNIX box includes a monitor and a keyboard, the X server should run with no problems. However, a frame buffer and keyboard may not be installed in some machines in middle-tier, data-center environments. In this case, the X server can not be started.
    Starting the X Server
    The most common way to start the X server process is to log in to the console of the UNIX machine. Most UNIX platforms boot into the X Display Manager, a small authentication application which displays a login screen. Once the user logs in, the X server is started as a process that is owned by the console user. In the typical default configuration, the console user "owns" the X server - no other users are allowed to access the X server. As discussed later, these default settings can be overridden to allow wider access to the X server.
    In cases where system administration is performed remotely (for example, by using telnet from a remote machine), the owner of the console may be required to start the X server on behalf of the remote administrator. To determine whether the X server is already running, look for a process name which starts with X. For example, on Solaris, the X server process is called Xsun.
    Once the X server is running, it is extremely important to avoid stopping the X server while any client applications are connected. If the X server is stopped, a signal is sent to any connected clients. In response to this notification, AWT causes the virtual machine (VM) to abort.
    This problem is exacerbated by the fact that once AWT connects to the X server, the connection is maintained by AWT for the life time of the VM. So, once any image is generated, an X server connection is established and kept alive until the servlet engine is stopped. Since the X Display Manager shuts down the X server when the console user logs out, this means that the administrator must remain logged in to the X server host machine for as long as the application is running. The console can be locked for security reasons (for example, using a tool such as xlock), but the console user must not end the X server session by logging out.
    Setting the DISPLAY Environment Variable
    Once the X server is started, the next step in the configuration process is to specify the location of the X server via the DISPLAY environment variable. All X client applications use the information specified by the DISPLAY environment variable to determine how to locate and connect to the X server. The DISPLAY environment variable specifies three pieces of information:
    The machine name. This is the name (or IP address) of the machine on which the X server is running. If the machine name is not specified, the local machine is used as the default.
    The server number. This number specifies the X server instance to use. In some environments, multiple X servers may be running on a single machine. In most environments, however, only a single X server can be supported. In this case, the server number should be set to 0 (zero).
    The screen number. Each X server instance is capable of supporting multiple logical screens. By default, screen 0 (zero) is used.
    These three pieces of information are combined into a single value of the following form:
    <machine name>:<server number>.<screen number>
    When the X server is running on the same machine as the X client, the simplest way to set DISPLAY is to let both the machine name and the screen number default. In this case, the DISPLAY must minimally be set to :0, to indicate that screen zero on server zero on the local machine should be used for all X connections. This is sometimes specified as :0.0, although explicitly specifying the screen number is unnecessary.
    Normally, the DISPLAY environment variable can be specified in a login script or shell script. However, in some servlet environments, the DISPLAY environment variable must be specified within servlet engine-specific configuration files. For example, when running a Tecate-based application inside of Apache Jserv in automatic mode, the DISPLAY environment variable must be specified in the jserv.properties file using the following syntax:
    wrapper.env=DISPLAY=<machine name>:<server number>.<screen number>
    If the DISPLAY environment variable is not explicitly set in the proper servlet engine configuration file, it is likely that attempts to connect to the X server will fail and image generation will be disabled.
    Since the X Window System is designed for network-based operation, the X server can be run on a different machine from the X client. This ability can be useful for "headless" middle-tier environments, where some middle-tier machines do not have the necessary hardware to run an X server locally. In this case, the X server can be run on some other machine which can support an X server. The remote X server can be accessed by an X client simply by specifying the machine name via the DISPLAY environment variable.
    Note, however, that using a single remote X server as the DISPLAY for many machines within a headless middle-tier environment can be somewhat risky. As mentioned above, if the X server is stopped for any reason, any connected processes are aborted. To avoid this single point of failure, a better solution is to use a remote Tecate servlet instance, which can protect the Tecate-based applications from X server outages.
    Testing the Connection
    After the DISPLAY is set, the next step in the configuration process is to verify that the X server can be accessed by an X client. The easiest way to verify X server access is to run one of the many X client applications, such as xterm or xclock, that are shipped with the X Window System. (On Solaris, these tools are located in the /usr/openwin/bin directory.)
    If the DISPLAY environment variable is set correctly, an application like xterm or xclock should run with no error messages. If the DISPLAY is set to the local machine, the application should become visible on the console. If the DISPLAY is not set, or is set incorrectly, an error message such as "Can't open display: ..." should be printed. If the DISPLAY is set correctly but the client does not have permission to access the X server, a more explicit error message is displayed, for example:
    Xlib: connection to "..." refused by server
    Xlib: Client is not authorized to connect to Server
    Xt error: Can't open display: ...
    Access control problems can be resolved using one of two X Window System security mechanisms xhost or xauth.
    Since X server access can be controlled on a per-user basis, when testing X server access from the command line it is important to test using the same user ID that is used to run the servlet engine. Web server and servlet engine processes are often run under a special user ID, such as apache or oracle. Before testing X server access from a servlet engine environment, it is important to verify that the appropriate user does indeed have access to the X server. The easiest way to test this is to log in using the user ID that is used to run the servlet engine and to test X server access from the command line by running one of the standard X client applications. Typically, if the console owner is a different user than the servlet engine process owner, some access control configuration (via xhost or xauth) is necessary, since by default only the console owner has access to the X server.

  • How To Deploy Jsp project in Weblogic 8.1

    Plz help me
    How To Deploy Jsp project in Weblogic 8.1
    Give me steps.

    Plz help me
    How To Deploy Jsp project in Weblogic 8.1
    Give me steps.(1) Create a standard WAR file that contains your JSPs.
    (2) Deploy to WebLogic by any number of means (e.g., Ant tasks, putting WAR file in application directory for your WL domain, etc.)
    %

  • How to deploy JSP's on tomcat 4.1

    i have XP machine.
    war command is not working on my machine,any thing i have to do to make it work?.
    jdk is working fine,and ANT is also working.
    but whan i run the command "ant install" i am getting error at build.xml 364 which is
    war="file://${build.home}"/>
    which is again a problem with war.
    is there any way to deploy JSP( just jsp for now) in tomcat
    thanks
    Narendra.

    thanks for the reply.
    i found out how to make .war files and i can able to deploy and run JSP files.
    with the help of this command
    jar cvf myApp.war Date.jsp
    do i have to specify the files name at the end of command ?. is there a way to make .WAR file with all subfolders and files?

  • How to deploy jsp in Weblogic 7.0

    Hi,
    I would appreciate, if anyone can help me out.
    I'm new to weblogic.
    I have installed Weblogic in my system.[vers.7.0]
    i want to deploy my jsp file and run the jsp file.
    can anyone tell me where to deploy the jsp file and how to run it.
    do i need to create a war file to deploy jsp?
    can anyone tell the procedure in doing so...........................
    regds
    venkatraman.P

    use your console to create a web-app from the directory with the web-inf and your jsp. Hit deploy and it should work.
    War files are not necesary, for fast jsp development its even better to not use wars.

  • Deploying jsp with oracle8i

    hello,
    Can anybody tell me how to deploy jsp with oracle8i server which has Jserver and loadjava utilities.
    Thanks in advance.

    Thanks srinivas and don.
    I have gone through that file.In that file it has been mentioned to use loadjava utility to load java files to oracle database and ojspc uitlity to translate jsps and publishjsp to publish it.
    I have installed oracle8i database server on my machine. I only found loadjava and dropjava utility but not ojspc and publishjsp.
    Can u help me out. Is it that these utilities are not in version 8.1.5 or there is any other way to deploy jsp in oracle8i(8.1.5).
    One more question:when i installed only oracle client on a machine, sqlplus is not running giving a protocol error but when i installed both server and client on a machine then it is fine.Does that mean u cannot install client without server.
    Thanks in advance.
    Reviews from oracle support are most welcome.

  • Deploying BC4J on Apache

    What are the steps one needs to follow while deploying BC4J to Apache as a middle-tier library? Any URLs where this is discussed?
    Thanks for your help.

    Hello ,
    You just need to have the BC4J application
    classes & the BC4J framework jar files
    placed in the middle tier (
    JBO , and have them included in your CLASSPATH.The BC4J classes
    then could be accessed from a java application deployed on Apache.
    This is similar to Local deployement.
    null

  • Help needed to loadjava apache poi jars into oracle database.

    Help needed to loadjava apache poi jars into oracle database. Many classes left unresolved. (Poi 3.7, database 11.1.0.7). Please share your experience!

    Hi,
    The first 3 steps are just perfect.
    But with
    loadjava.bat -user=user/pw@connstr -force -resolve geronimo-stax-api_1.0_spec-1.0.jar
    the results are rather unexpected. Here is a part of the log file:
    arguments: '-user' 'ccc/***@bisera7-db.dev.srv' '-fileout' 'c:\temp\load4.log' '-force' '-resolve' '-jarsasdbobjects' '-v' 'geronimo-stax-api_1.0_spec-1.0.jar'
    The following operations failed
    resource META-INF/MANIFEST.MF: creation (createFailed)
    class javax/xml/stream/EventFilter: resolution
    class javax/xml/stream/events/Attribute: resolution
    class javax/xml/stream/events/Characters: resolution
    class javax/xml/stream/events/Comment: resolution
    class javax/xml/stream/events/DTD: resolution
    class javax/xml/stream/events/EndDocument: resolution
    class javax/xml/stream/events/EndElement: resolution
    class javax/xml/stream/events/EntityDeclaration: resolution
    class javax/xml/stream/events/EntityReference: resolution
    class javax/xml/stream/events/Namespace: resolution
    class javax/xml/stream/events/NotationDeclaration: resolution
    class javax/xml/stream/events/ProcessingInstruction: resolution
    class javax/xml/stream/events/StartDocument: resolution
    class javax/xml/stream/events/StartElement: resolution
    class javax/xml/stream/events/XMLEvent: resolution
    class javax/xml/stream/StreamFilter: resolution
    class javax/xml/stream/util/EventReaderDelegate: resolution
    class javax/xml/stream/util/StreamReaderDelegate: resolution
    class javax/xml/stream/util/XMLEventAllocator: resolution
    class javax/xml/stream/util/XMLEventConsumer: resolution
    class javax/xml/stream/XMLEventFactory: resolution
    class javax/xml/stream/XMLEventReader: resolution
    class javax/xml/stream/XMLEventWriter: resolution
    class javax/xml/stream/XMLInputFactory: resolution
    class javax/xml/stream/XMLOutputFactory: resolution
    class javax/xml/stream/XMLStreamReader: resolution
    resource META-INF/LICENSE.txt: creation (createFailed)
    resource META-INF/NOTICE.txt: creation (createFailed)
    It seems to me that the root of the problem is the error:
    ORA-29521: referenced name javax/xml/namespace/QName could not be found
    This class exists in the SYS schema though and is valid. If SYS should be included as a resolver? How to solve this problem?

  • How to deploy JSP as EJB in Remote Mode

    Hello:
    I used JDeveloper and BC4J to create a JSP web site.
    When I was running the JSP creation wizard, there is a option let me to selete run the JSP at "Remote Mode" or "Local Mode".
    When I selected to run at "Local Mode", after I deloyed the JSP to 9iAS, it works fine.
    But when I selected to run at "Remote Mode" and deployed the application module as EJB session bean, there is a RunTimeException occurs, the error likes "The applicaiton module can not be instanced".
    I saw the JSP config file, it just a little different.
    In Local Mode:
    config name = XXXX.XXXXXX.XXXXXX.AppModuleLocal
    password = xxxxxx
    In Remote Mode:
    config name = XXXX.XXXXXX.XXXXXX.AppModuleEJB
    password = xxxxxx
    I read the web page about deploy JSP to 9iAS: http://technet.oracle.com/docs/products/jdev/technotes/JSP/Deployment.html
    but the page seems just show that deploy JSP in the local mode.
    Can you give me the complete procedure to deploy JSP application as EJB in Remote Mode?
    Thank you!

    HI Welcome to J2ee...
    I am also new to this...But i ll share my ideas with you...
    In EJB 3.0 No need of any Deployment Descriptors....
    And If you are using Eclipse You can Deploy(as jar) using Export in File tab...
    XDoclet is not mandatory...
    Gopal V

  • How to use JSP in apache web server

    hi all,
    can anybody tell me how to use JSPs in Apache Web Server.
    Thanks
    sir

    You would need a servlet container to run Servlets and JSPs. And Apache's Tomcat is one such free container available. Download Tomcat from http://jakarta.apache.org and integrate with Apache WS
    HTH

  • Step by step details to deploy jsp in weblogic

    Hi,
    can any one give me a step by step details to deploy jsp in weblogic 7..
    i am abs new to EJBs and weblogic...
    thnx
    sai.

    sai krishna wrote:
    Hi,
    can any one give me a step by step details to deploy jsp in weblogic 7..
    i am abs new to EJBs and weblogic...
    thnx
    sai.Sai if you are completely new to this on WLS I would recommend reading:
    http://edocs.bea.com/wls/docs70/programming/index.html
    Then Possibly:
    http://edocs.bea.com/wls/docs70/webapp/index.html &&
    http://edocs.bea.com/wls/docs70/jsp/index.html
    You can also find more programming information here:
    http://edocs.bea.com/wls/docs70/programming.html
    HTH
    ~Ryan

  • How to get context sensitive help  in JSP Pages

    Is it possible to display context sensitive help in JSP Pages when I press the tab key on the keyboard base on the key focus. I don�t want to use any applet or Swing components, because it�s a web page viewed on the browser
    Thanks

    Java code inside a JSP is interpreted on the server and the HTML produced by the server it is shown in the client browser. The JSP code can incorporate calls to the JavaHelp API if it is available to the server. Those calls can be used on the server side to map parts of the JSP to contents of a help set (HTML pages).
    Given that, you can provide context sensitive help, but when it comes to view help information, you either can show HTML only (without TOC, index, etc.) or you'd need an applet.
    Ulrich

Maybe you are looking for

  • Can No Longer Drag JPG files From Finder Directly Into .fla Stage?

    For the past six months I have been following a manual process to convert JPG files (exported from InDesign) into SWF files for display advertising assets.  Using pre-built FLA files as templates (configured with clicktags): Open FLA templates (3 sep

  • How to view the dispatched mails in J2EE server???

    Hi All, I want to view how many mails have  been sent from the J2EE server. May I know how we can see this in NetWeaver AS JAVA? As we can view in ABAP stack using SOST tcode, this will show the list of user who have been sent mails from SAP system f

  • IPod classic - lower capacity than expected

    Connected my 160gb 7th gen classic for the first time and its only letting my put about 3000 songs on. Thought capacity was 40,000 - I am using iTunes Match if that makes any difference? Wondered if anyone knew why the capacity is so much lower than

  • After updating adobecloud, download error

    after updating adobe creative cloud, some apps can be down loaded, but network connection troubled and shut once, and then creative cloud shows "down load error, try again or ask sopport". I try again down load , but nothing is changed. How can I rec

  • Serial number not work

    Hi, I have a new computer now. I had Photoshop on my old computer and I do not deactivate it. My serial number not work on my new computer and old computer is unavailable. What have I do to activate Photoshop? Thanks.