BC4J, JSP, Deployment problems

I have two simple projects, one containing business components, and the other containing a JSP and a data web bean, which use the application module in the first one. I have deployed successfully the business components project as an EJB to Oracle8i and I am able to connect to it from a simple client code, as well as from the JSP application in JDeveloper 3.2.
However, when I deploy the JSP application to 9iAS, I get the following exception:
Exception:
java.lang.RuntimeException: java.lang.NullPointerException:
at oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(JSPApplicationRegistry.java:188)
at oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(JSPApplicationRegistry.java:101)
at oracle.jdeveloper.html.DataWebBeanImpl.internalInitialize(DataWebBeanImpl.java:464)
at oracle.jdeveloper.html.WebBeanImpl.initialize(WebBeanImpl.java:54)
at oracle.jdeveloper.html.DataWebBeanImpl.initialize(DataWebBeanImpl.java:425)
at oracle.jdeveloper.html.DataWebBeanImpl.initialize(DataWebBeanImpl.java:456)
at venci.Testdeploy._jspService(_Testdeploy.java:61)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
at oracle.jsp.JspServlet.internalService(JspServlet.java, Compiled Code)
at oracle.jsp.JspServlet.service(JspServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java)
at org.apache.jserv.JServConnection.run(JServConnection.java)
at java.lang.Thread.run(Thread.java:479)
I have the properties file in place in a jar and have set the classpath to all the necessary libraries.
I will appreciate any suggestions.
Thanks

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Danny Gagliardi ([email protected]):
I would like to store session type information, ie client_id in a session object and be able to retrieve its value from any of my jsp pages.
Is there a jsp tag or some other JDev component that I should be using?
TIA<HR></BLOCKQUOTE>
You could try something like this in your jsp
<%
session.setAttribute("clientId", "1234");
%>
To get the clientId from the session try
<%
String ClientID = (String) session.getAttribute("clientId");
%>
Hope this help,
Kh

Similar Messages

  • HELP: JSP deployment problems

    Hi,
    We have been working hard to resolve our deployment problems, but we are stuck at the following point.
    We create the following directory tree.
    htdocs/debis/
    htdocs/debis/WEB-INF/
    htdocs/debis/welcome.jsp
    htdocs/debis/mail/
    htdocs/denis/mail/readmail.jsp
    welcome.jsp works fine.
    now the problem is readmail.jsp cannot access the beans in the WEB-INF. mail tries to become a new application root. So we added another WEB-INF under mail, but then it turned out that different application roots are unable to share sessions. What we want to achieve is to have one application root, with several sub applications which are sharing sessions.
    Currently we put all jsp files in the
    htdocs/debis
    directory to make it work. However the directory is now full of jsp files, which we are having hard time determining which belongs to which sub application.
    What should we do?
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by RamkumarP:
    Where is the Bean class? Is it directly under WEB-INF or under the WEB-INF/classes folder? Have you created a classes folder under WEB-INF?<HR></BLOCKQUOTE>
    Hi, I am a newbie in running JSP in Apache with Oracle 9iAS. I have only worked with JSPs in Tomcat. Please bear with me.
    Before I can run the JSPs in the htdocs/myJSPapp/, beans & servlets in htdocs/myJSPapp/WEB-INF/ folder, what do I need to have installed ?
    Is it OSE + mod_ose + Apache + 9iAS ?
    Or is there a better alternative for serving out JSPs ?
    Thanks!

  • BC4J:jsp:deployment

    I implemented a Jsp application based on BC4J and I want to deploy it to the server.
    as shown in the Jdeveloper Help; first I have to deploy the BC4J as Oracle8i EJB Session Bean. but the problem is that I don't know how to establish an IIOP connection. My question is can I deploy the BC4J project as an Oracle application server; and so I have not to specify aN IIOP connection.
    any help is appreciated.
    null

    You have to pre-config the standalone oc4j with BC4J installer to setup the bc4j runtime on the oc4j.

  • NEWBIE JSP Deployment Problems

    I know this is will probly bore to some of you but I'm trying to evalutate this software.
    I created a test JSP via the wizard and ran it in Jdev ok. Deployed and Copied the files to the Apache web server provided with 8.1.7. Ran on browser and got this error:
    java.lang.RuntimeException: JSP Registry could not locate runtime property file:....
    I included the business classes but apparently I'm still missing something...
    I have been searching for documentation on this error but not much luck so far...

    I have deployed a JSP with BC4J Application on an Oracle IAS and it works fine, but to do it i had to include a path to the .jar file that contains my classes in Jserv.properties
    When i need to change, add or manipulate something in the jar file or include a new jar file, i have to shut down the service because while active, the files that are being pointed by the conf file become locked... I have read something about "zones" and i have no idea about apache or OracleJSP configuration. I began yesterday to read the JavaServer Pages Developer4s Guide and Reference... But it has 420 pages and i will last a lot till i find what i4m looking for.
    If you can explain me the way you make your jar file accesible by the system in a correct way or the pages in which it is explained, please, make me know.

  • Web.xml + jsp deployment problem

    Hi people,
    I have an eclipse project that has 1 servlet and 1 jsp page. I'm having problem in deployment. The servlet works fine but jsp is not accessible. The structure of my web.xml file is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" 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">
         <display-name>IBNSubscriberServlet</display-name>
         <servlet>
              <description></description>
              <display-name>SubscriberServlet</display-name>
              <servlet-name>SubscriberServlet</servlet-name>
              <servlet-class>com.ibn.servlets.SubscriberServlet</servlet-class>          
         </servlet>
         <servlet-mapping>
              <servlet-name>SubscriberServlet</servlet-name>
              <url-pattern>/SubscriberServlet</url-pattern>
         </servlet-mapping>
         <servlet>
             <servlet-name>MonitoringG7</servlet-name>
             <jsp-file>/com.ibn.view.MonitoringG7.jsp</jsp-file>
         </servlet>     
         <servlet-mapping>
              <servlet-name>MonitoringG7</servlet-name>
              <url-pattern>/*</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
         </welcome-file-list>
    </web-app>On requesting this JSP url, http://localhost:8080/IBNSubscriberServlet/MonitoringG7.jsp the http 404 status message comes which says the resource is not found. Cn someone please check the above jsp mappings in the web.xml file?
    Inside my "src", folder I have "com.ibn.view" which contains jsp file.
    thanks.

    this is how my web.xml looks like now.
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" 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">
         <display-name>IBNSubscriberServlet</display-name>
         <servlet>
              <description></description>
              <display-name>SubscriberServlet</display-name>
              <servlet-name>SubscriberServlet</servlet-name>
              <servlet-class>com.ibn.servlets.SubscriberServlet</servlet-class>          
         </servlet>
         <servlet-mapping>
              <servlet-name>SubscriberServlet</servlet-name>
              <url-pattern>/SubscriberServlet</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
         </welcome-file-list>
    </web-app>If there is a mapping problem then the JSP should not work in tomcat as well, but it is. And i have just one servlet in the project and that is mapped my eclipse as above.

  • Bc4j.xcfg deployment problem

    Hi!
    Could anyone please let me know what exactly is giving me the following errors.
    I have one Application Module in my applicaiton. I want to deploy that business component through EJB. After running through the wizard and deploying the application. I get the following error.
    JBO-33001: Cannot find the configuration file /com/test/common/bc4j.xcfg in the classpath; nested exception is:
         oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /com/test/common/bc4j.xcfg in the classpath
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:338)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    My bc4j.xcg file is in /com/test/appmod/common package.
    Could you plesae let me know what shall I do so that the AS looks for the bc4j.xcg file in the package i have the file.
    Regards,
    Jay

    Add a dependency from the View project to the Model project.
    JBO-33001: Cannot find the configuration file /model/common/bc4j.xcfg

  • BC4J, JSP, deploying to 8i 8.1.7 included Apache server

    hi everybody,
    i have successfully deployed my Jdev 3.2 developed app module to my remote 8.1.7 enterprise db server as an EJB session bean
    now i want to deploy a JSP page in the 8i 8.1.7 included Apache server so it can access the just-deployed EJB middle tier
    could somebody provides me with indications regarding the deployment process for this scenario ?
    my data tag JSP page is a wizard-generated trivial browse page
    TIA,
    p

    Hi:
    Could you give me a fever? When I try to deploy my Jdev 3.2 developed app module(EJB Session Bean) to my remote oracle 8.1.7, I met a error in IIOP connection. it is "unknow service". Could you show me how to make IIOP connection successfully?
    Thanks A lot.
    Steven LI
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Pedro Mendoza ([email protected]):
    hi everybody,
    i have successfully deployed my Jdev 3.2 developed app module to my remote 8.1.7 enterprise db server as an EJB session bean
    now i want to deploy a JSP page in the 8i 8.1.7 included Apache server so it can access the just-deployed EJB middle tier
    could somebody provides me with indications regarding the deployment process for this scenario ?
    my data tag JSP page is a wizard-generated trivial browse page
    TIA,
    p<HR></BLOCKQUOTE>
    null

  • JSP Deployment problem

    I kow this topic has been posted but there seems to be no resolution to it. I am having the same problem.
    After deploying the JDev Auction example to Tomcat, I get an error 500: unable to compile ...oracle.jbo.common.appmgr.*.
    Which jar/zip needs to be included to get rid of this error ?
    Thanks,
    Rajendra V Auradkar

    Following is full error message which i received in Message-Log
    panel when unsuccessfully tried to deploy a WAR file to 9iAS.
    Or please let me know how can i deploy/copy it manually to 9iAS
    when all .war & .ear & .jar files are created and ready to
    deploy.
    Please advice. This is a critical time for me.
    Beginning deployment to Oracle9i Application Server...
    Wrote .war file to
    D:\jdev\mywork\AlexusWebWorkspace\TouchProject\webapp1.war
    D:\jdev\jdk1.3\jre\bin\javaw.exe -jar D:\jdev\lib\admin.jar
    ormis://204.147.12.227/ admin **** -deploy -file
    D:\jdev\mywork\AlexusWebWorkspace\TouchProject\webapp1.ear -
    deploymentName webapp1
    Wrote web EAR file to
    D:\jdev\mywork\AlexusWebWorkspace\TouchProject\webapp1.ear
    Invoking Oracle9iAS admin tool...
    Error: javax.naming.NamingException: Lookup error:
    java.net.ConnectException: Connection refused: connect; nested
    exception is:
    java.net.ConnectException: Connection refused: connect
    D:\jdev\jdk1.3\jre\bin\javaw.exe -jar D:\jdev\lib\admin.jar
    ormis://204.147.12.227/ admin **** -bindWebApp webapp1 webapp1
    default-web-site /webapp1
    Exit status of Oracle9iAS admin tool: 0
    ---- Deployment finished. ----
    Error: javax.naming.NamingException: Lookup error:
    java.net.ConnectException: Connection refused: connect; nested
    exception is:
         java.net.ConnectException: Connection refused: connect

  • Ejb and jsproc deployment problems

    Am trying to deploy the java stored procedure (jsp) example
    (jsproc subdirectory in acmevideo directory) and the enterprise
    java bean (ejb) example (ejb subdirectory in acmevideo
    directory). Both use the business and util subdirectries of
    acmevideo directory. These examples are provided with
    JDeveloper.
    In the case of the jsp example, the files compile fine in
    JDeveloper. The deployment profile file is created okay using
    the Stored Procedure Profile Wizard. But when the jsp is
    attempted to be deployed by right clicking the deployment
    profile file menu in JDeveloper, the following errors appear:
    SQL error during creation of acmevideo/util/DataWrapper
    ORA-00922 - missing or invalid option
    SQL error during creation of acmevideo/business/TitleQueries
    ORA-00922 - missing or invalid option
    Is there a corrective action for these errors? Are the details
    recorded in any log so that these errors can be troubleshooted?
    In the case of the jbe example, the files compile fine in
    JDeveloper. The deployment profile file is created okay using
    the EJB Profile Wizard. But when the jsp is attempted to be
    deployed by right clicking the deployment profile file menu in
    JDeveloper, the following happens:
    The message indicating that the deployment will take a few
    minues continues to show forever. There is no completion,
    and one is forced to cancel the process.
    This happens when using the port settings of 1521, 1526 (Oracle
    listener ports) or 2651 (OAS ORB port). Specifying the service
    or omitting it yeilds the same results.
    Is there a corrective action for this? Are the details recorded
    in any log so that these errors can be troubleshooted?
    For both the situations, is the classpath variable need to set
    outside the JDeveloper environment?
    Also am not able to locate the Oracle 8i CORBA and Enterprise
    Java Beans Developer's Guide and the Oracle 8i Java Stored
    Procedure Developer's Guide referenced in Building Java
    Applications for Oracle 8i anywhere.
    Would appreciate any help in this area.
    null

    : Has anyone been able to deploy an ejb from JDeveloper2 (Beta)?
    We have ;) But I guess that doesn't count... Please have a look
    at the online demo for Enterprise JavaBeans on this technet
    website. You can get there through the JDeveloper Tech Info page.
    Please open a new thread if that doesn't help you.
    Thanks,
    -Roel.
    phil gulesian (guest) wrote:
    : mark tomlinson (guest) wrote:
    : : pretty sure the first one is a bug that is fixed in a later
    : : build of JDeveloper (JSP deployment problem).
    : : As for the EJB deployment problem, here is the way to catch
    : what
    : : is really going on (in the Beta build -- this will be done
    much
    : : better in the production build):
    : : -edit the jdeveloper.ini (in the BIN directory), in the
    : : [environment] section add:
    : : LogConsole=1
    : : -edit the jdeveloper.properties file (in the LIB directory)
    : : change the line :
    : : jdeveloper.logOutput=nul
    : : to
    : : jdeveloper.logOutput=-
    : : Now when you run JDeveloper, you will get an output onsole
    : : window for the JVM running JDeveloper. You will be able to
    see
    : : the deployment messages for the EJB wizard being sent to this
    : : console. This will allow you to troubleshoot what is
    happening.
    : I had the same experience as Bansi (above) when I tried to
    deploy
    : a simple ejb. Following your suggestions about looking in the
    : output console window for the JVM, I observed the message
    : "PropertyEditor for borland.sql.dataset.ProcedureDescriptor
    could
    : not be registered ........" A subsequent search found no
    : ProcedureDescriptor in the borland.sql.dataset package.
    : Has anyone been able to deploy an ejb from JDeveloper2 (Beta)?
    null

  • JSP Deployment Issues

    Guys:
              I saw your names posted in the weblogic jsp news group. I thought you
              might be able to help me with a jsp deployment problem. A number of our
              jsps take a long time to compile. As a result, the first user who
              accesses our jsps after deployment pays a significant latency penalty.
              To get around this problem, we manually "touch" each jsp as part of
              deployment. That way when users access the site, they get reasonalble
              response time.
              The problem we face is that we are now in a clustered environment in
              production and staging. As a result, it can take a long time to
              manually "touch" each jsp. There is also a secondary issue. Our
              staging and production environments are hosted by an extenal service
              provider. We are uncomfortable with deploying source code -- e.g., jsps
              -- in these environments.
              Here is what I have done to date:
              I have written a unix script that invokes the weblogic.jspc compiler for
              each jsp. The intent is to pre-compile the JSPs ahead of time. In our
              testing this script we still notice that Weblogic (e.g., 4.5.1) still
              attempts to recompile the jsps on-demand when they are first accessed
              from the browser by the first user after jsp deployment. (This defeats
              the purpose of pre-compiling the jsps.)
              What are we doing wrong and what can we do so that the jsp-s are
              pre-compiled and not re-compiled on demand. Again, at a minimum we want
              to avoid the latency problems associated with the first user. Best case
              scenario, we would like to ship a jar file that contains the compiled
              jsp servlet classes.
              Your recommendations are most appreciated.
              Mark C. Berman
              Javelin Solutions
              [email protected]
              

    I've never tried this, but I don't see any reason why it wouldn't
              work... Don't even register the JSPServlet. Build the JSPs (servlets)
              and deploy them like any other servlet. You can register them with a
              .jsp extension or you could give them a different alias altogether.
              The WL JSP compiler (weblogic.jspc) may be used to compile the jsps
              into servlets during the normal build process and there are options
              that may be used to modify the package, install dir, etc.
              Hope that helps.
              Jason
              On Tue, 26 Dec 2000 17:09:25 -0600, mark berman
              <[email protected]> wrote:
              >Guys:
              >
              >I saw your names posted in the weblogic jsp news group. I thought you
              >might be able to help me with a jsp deployment problem. A number of our
              >jsps take a long time to compile. As a result, the first user who
              >accesses our jsps after deployment pays a significant latency penalty.
              >To get around this problem, we manually "touch" each jsp as part of
              >deployment. That way when users access the site, they get reasonalble
              >response time.
              >
              >The problem we face is that we are now in a clustered environment in
              >production and staging. As a result, it can take a long time to
              >manually "touch" each jsp. There is also a secondary issue. Our
              >staging and production environments are hosted by an extenal service
              >provider. We are uncomfortable with deploying source code -- e.g., jsps
              >-- in these environments.
              >
              >Here is what I have done to date:
              >
              >I have written a unix script that invokes the weblogic.jspc compiler for
              >each jsp. The intent is to pre-compile the JSPs ahead of time. In our
              >testing this script we still notice that Weblogic (e.g., 4.5.1) still
              >attempts to recompile the jsps on-demand when they are first accessed
              >from the browser by the first user after jsp deployment. (This defeats
              >the purpose of pre-compiling the jsps.)
              >
              >What are we doing wrong and what can we do so that the jsp-s are
              >pre-compiled and not re-compiled on demand. Again, at a minimum we want
              >to avoid the latency problems associated with the first user. Best case
              >scenario, we would like to ship a jar file that contains the compiled
              >jsp servlet classes.
              >
              >Your recommendations are most appreciated.
              >
              >Mark C. Berman
              >Javelin Solutions
              >[email protected]
              >
              

  • Bc4j jsp calendar deployment problem

    Using jdeveloper 9.02 I made a simple webapplication with bc4j jsp's and deployed it to oc4j (9.0.2.1) directly from jdeveloper as described in the help. This works fine, except for the calendar (datepicker). When the calendar is loading in a separate frame I become an 'access is denied' error. In the http-web-access.log the following line shows up:
    127.0.0.1 - - [25/Nov/2002:15:52:54 +0100] "GET /webapp/jsp/calendar.jsp?redirect=/webapp/jsp/calendar.jsp&locale=de_AT&enc=windows-1252&origValue=1980-12-24&format=yyyy-MM-dd&formatter= HTTP/1.1" 500 383
    The application runs fine on the oc4j inside jdeveloper, so I assume it is a configuration problem. However, so far I couldn't find out what is wrong.
    If I make a simple application using the wizards for the emp table, and deploy it with standard settings to the local oc4j, I have exactly the same problem.
    does anybody have a suggestion?
    thanks, Cor

    problem is solved.
    Webapp and cabo are installed as applications in their own directory structures. However, the required libraries are not deployed automatically in the web-inf/lib directory. They are present in the main application web-inf/lib, but these are apparently not accessable. Copying the libraries solves the problem.
    I'm still wondering whether I did something wrong. Simply deploying the bc4j.ear to oc4j is obviously not enough, but that is what the jdeveloper help is saying. Did I misunderstand something?
    Cor

  • How to solve the error while  Deploy a BC4J JSP Application using tomcat,

    hello,
    how to avoid the following error?
    i am using jdevloper for devloping jsp applications.
    after that i am calling the jsp page using tomcat4.0 ,i followed the steps according docs by jdev team,
    i am getting the following error how to solve this,
    can one help?
    =============================
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.compiler.CompileException: /AccountView_Browse.jsp(4,0) Unable to load class oracle.jbo.html.jsp.datatags.ApplicationModuleTag
    at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:139)
    at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:829)
    at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:153)
    at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:1039)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:221)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:216)
    at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:852)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:214)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    ====================
    thanks
    pullareddy

    I had very similar problems with adding the correct JDeveloper .jar files to Tomcat's lib folder, but did eventually resolve my issues.
    The problem I am having now, however, is the following error message:
    Error Message: oracle.jbo.html.RequestParameters.addParameter(Ljava/lang/String;Ljava/lang/String;)V
    Yes, I have deployed the bc4jhtml.jar file from JDeveloper to Tomcat\common\lib!
    My web-app is a very simple BC4J JSP application. I have one BC4J component in its own project and JAR file, and one JSP referencing that BC4J component - I deploy the BC4J JAR along with the WAR file from the JSP project. Needless to say, the JSP works fine within JDeveloper..!
    I'm using JDev 9.0.3 and Tomcat 4.1.12. Does anyone have any suggestions?
    Thanks,
    S.

  • BC4J, JSP, Apache: Deployment to web-inf

    I'm trying to deploy a BC4J JSP application to a web-inf directory. In other words I'm using the OracleJSP extensions that support the globals.jsa application/session context.
    When I place my application's BC4J jar file in the \approot\web-inf\lib directory it doesn't work. When I try a simple app with no BC4J its works. ie. My JSP works and it can load classes from both \approot\web-inf\classes and \approot\web-inf\lib\??.jar.
    If I place the application BC4J jar file in \approot\web-inf\lib it can't find files such as \bc4jpackage\common\bc4j.xcfg. Therefore I think OracleJSP will load classes from \web-inf but because its not really in the JServ classpath BC4J wont find any other files.
    Anyone tried this? Is there a workaround?

    Hi,
    I am yet another victim of the age-old error JBO:33001 bc4j.xcfg file not found in class path, When i have my BC4JApp.jar in Tomcat Web-inf/lib directory. All the other jar files and class files in my webserver-application web-inf classes and lib directory works.
    But Tomcat server is not able to read this bc4j.xcfg file. I can see in my jar file that this bc4j.xcfg exists and in the specified package directory. still the problem persists. My BC4JApp.jar is perfectly working when i use JDeveloper. but not when i use tomcat4.0 and call a JSP using BC4JApp.jar from browser (My environment is Jdeveloper3.2, Tomcat4.0+IIS in middle tier and oracle 8i as DB, everything on windows2k)
    I have gone through almost all the threads possible that relates to this error in this form. None of them have a answer except to say "put the file in classpath". and last reply is "will fix in jDeveloper 9i. So what happens to us who are working in Jdeveloper 3.2?
    1. I have this file in my jar file.
    2. I also tried creating a seperate directory manually, with the same name as my package under web-inf/classes, web-inf/lib , just under web-inf directory and atlast under approot directory also. I tried having my package directory containing bc4j.xcfg in these folders one at a time and also tried having this directory in all these folders at the same time.
    Still no solution.
    Itz frustrating that neither proper documentation nor a right url page nor i am aware of available addressing this. page links given in above threads only gives me the wonderful page of ie's "Page cannot be displayed".
    Is there a answer to this error and my problem. If this doesn't work, then i have to all the way develop from scratch creating my jsp using JDBC calls and Stored packages etc.
    I don't want to give up on this Jdeveloper at this final moment because if this bc4j.xcfg file is found, my application will work perfectly. on these final moments, if this doesn't work, i am frightened to imagine to develop my application in standard way. Atlast, if thatz the option left,we have to do that bcos our production date is close by.
    Please can some one in this forum or Jdeveloper help me to solve this problem. I am desperate and very urgent.
    Waiting for a reply from Jdev team very much...
    Thanks
    Hari(2/3/02)

  • Error Deploying a BC4J JSP Application on IAS

    When I am trying to run a BC4J JSP Application on IAS I have the following message:
    Error Message: JBO-30003: The application pool, BC4JDemojsp_BC4JDemo_BC4JDemoModule, failed to checkout an application module instance.
    Error Message: JBO-25002: Definition BC4JDemo.BC4JDemoModule of type ApplicationModule not found

    Gina,
    I would recommend checking out the following HowTo's recently posted on OTN by the JDev Team. They may indicate where your problem is occuring and how to fix it:
    Set up your Webserver to run BC4J: http://technet.oracle.com:89/ubb/Forum2/HTML/006397.html
    Deploy a BC4J JSP Application on iAS and Tomcat: http://technet.oracle.com:89/ubb/Forum2/HTML/006398.html
    How to Deploy Multiple BC4J JSP Web Apps to the same Webserver: http://technet.oracle.com:89/ubb/Forum2/HTML/006726.html
    Note, if you are deploying on iAS, the Online Orders tutorial application comes with that release, so you might want to refer to the last HowTo to make sure your webserver is set up to handle multiple apps, even if one if them isn't yours!
    null

  • Deploy BC4J/JSP-Struts to IAS

    HI,
    I'm trying to deploy a BC4J/JSP-Struts application to IAS. This application was developed with JDeveloper 9.0.3.
    I can deploy this application to a Standalone OC4J (delivered with JDeveloper 9.0.3) on Windows2000 without problem.
    Then I want to deploy this application on Oracle9iAS 9.0.2. For this I create an .EAR file with JDeveloper and I start the OC4J Administrator tools from Oracle9iAS and deploy my application.
    I start the application with
    http://erbium.int.imd.ch:7778/InvoicesInterface/main.jsp?user=x-XxX
    and I become the menu without Problem.
    Then I click on the link
    http://erbium.int.imd.ch:7778/InvoicesInterface/VInvoiceUsersView1_Browse.do?user=x-XxX
    and I become following :
    HTTP 500 Internal server error
    The page cannot be displayed
    Did you have any Ideas ?
    Thanks Yves
    Configuration:
    - Oracle9iAS (9.0.2) on Solaris
    - JDeveloper9.0.3

    Yves -
    I am not able to pinpoint the exact error you are having but here are some obervations
    a) You are going backwards in versions of OC4J when you deploy to 9iAS 902. If you are using JDev 903, then it is running with a local version of OC4J 903. When you are deploying to 9iAS 902, it's a earlier release of OC4J, so there may be an issue there. There is a 9iAS 903 version available from OTN that would be better to use in this case.
    b) Is the struts framework packaged as part of the EAR file you are deploying? i'm not familiar with how BC4J and Struts apps are packaged from JDeveloper, but this is something to check on for sure. The local OC4J running inside of JDeveloper may have the Struts libs configured at the server level.
    c) You might want to try and change the show-friendly-error-messages (or something like that) property inside of IE (if you are using it) so that it will display the stack trace the server might be sending. this may be of help to further locate the source of the problem (ClassNotFoundException, etc.).
    -steve-

Maybe you are looking for

  • My ipod isn;t recognised by my computer anymore???

    About a month ago Apple sent me a 'new' ipod because my old ipod had many problems.. everything was going fine with it until I went on holiday last week.. I tried to plug it into my computer but I kept getting an error saying 'the usb does not recogn

  • What Component should be used to display the list on UI

    Hi All, I have a table in which when the user selects a row and tries to remove the row. I am supposed to show the pop up which shows all the rows matching to the header of the row. In my backing bean i have the context of the row so i could extract

  • Workflow Forwarding is giving dump in webdypro.

    Hello Experts, I am working with some workflow tool with WD ABAP. And i want to forward workitem to another user and i m using SWL_WI_DISPATCH funtion module for forwarding . But its giving me dump in my web dynpro application. If there any alternati

  • Converted Project to CC 2014 mono audio panned.

    I've just downloaded the PPCC2014 update but it has incorrectly interpreted all my mono files in my sequence as panned-left, when in the project previously pan was ignored in the mono files. How can I ignore or remove panning from all the audio files

  • Sales order created date for Quotation

    Hi Experts, Need your advice, I need to create report, my requirement is below, Quatations, Quatation created date, First sales order created date. so for this, I've created new Infoobject ZSODATE, ZREFDOCNUMBER which will bring date for sales orders