Deployed Application Missing JSP files

I have deployed an web appliclation Using JDeveloper 10.1.3.3 to a remote Oracle AS When I look at the Deployed Application on the Server I only see the Servlet, the JSP files are missing. I looked at the .ear and .war files and the have all the components in them but the JSPs seem to be missiong from the server. I did not get any error messages from the deployment log
---- Deployment started. ---- Mar 13, 2012 2:19:32 PM
Target platform is Oracle Application Server 10g 10.1.2 (Windows) (bantest).
Wrote WAR file to C:\jdev\jdev\mywork\NJTransit\NJTransit\deploy\njtransit.war
Wrote EAR file to C:\jdev\jdev\mywork\NJTransit\Deployment\deploy\NJTransit.ear
Invoking DCM servlet client...
C:\jdev\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdev\jdev\lib\oc4j_remote_deploy.jar http://207.200.160.20:18100/Oc4jDcmServletAPI/ ias_admin **** redeploy D:\oracle\FRHome_1 C:\jdev\jdev\mywork\NJTransit\Deployment\deploy\NJTransit.ear NJTransit
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command redeploy D:\oracle\FRHome_1 C:\jdev\jdev\mywork\NJTransit\Deployment\deploy\NJTransit.ear NJTransit UNDEFINEDCommand = REDEPLOY
Reading application's ear file
Ear file was successfully read
Opening connection to Oc4jDcmServlet
Setting userName to ias_admin
Sending command to DCM servlet
HTTP response code = 200, HTTP response msg = OK
Command was successfully sent to Oc4jDcmServlet
Receiving session id from servlet to check command status
Session id = 5e8e9abcf2b84b9639667c4ea36dccf4a8199cf3785755d564948b1e8d096849
Please, wait for command to finish...
Checking command status...
Setting userName to ias_admin
Setting Cookie to JSESSIONID=5e8e9abcf2b84b9639667c4ea36dccf4a8199cf3785755d564948b1e8d096849
Checking command status
HTTP response code = 200, HTTP response msg = OK
Command has finished
Receiving command exit value
Receiving command output
**** No output was received from command
Closing connection to Oc4jDcmServlet
DCM command completed successfully.
Output:
Exit status of DCM servlet client: 0
Elapsed time for deployment: 13 seconds
---- Deployment finished. ---- Mar 13, 2012 2:19:45 PM
The only odd thing I can see is that UNDEFINED statment in the log.
I followed the recipe for Deployment from the tutorial so I don't understand why the JSPs are missing.

I have two version's of JDeveloper running on my machine when you pointed out to me that I was using 10.1.3.0 I downloaded 10.1.3.5 and used it instead. However we still have a problem. One our test and production machine we are running Oracle AS 10.1.2 with Java SDK 1.4. Now the documantation says that this supports JSP runtime 2.0 and Servlet Runtime 2.4. My problem is I still have to get this working for Oracle AS 10.1.2 with Java SDK 1.4. Here's what happens when I deployed to that environment.
500 Internal Server Error
java.lang.NullPointerException
at njtranenrll.jspService(_njtranenrll.java:45)
[SRC:/njtranenrll.jsp:15]
at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:575)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:311)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:835)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
12/03/19 23:10:27 Oracle Application Server Containers for J2EE 10g (10.1.2.3.0) initialized
12/03/20 09:17:21 Notification ==> Application Deployer for NJTransit STARTS [ 2012-03-20T09:17:21.865EDT ]
12/03/20 09:17:21 Notification ==> Do not undeploy previous deployment
12/03/20 09:17:21 Notification ==> Copy the archive to D:\oracle\FRHome_1\j2ee\home\applications\NJTransit.ear
12/03/20 09:17:21 Copy file C:\WINDOWS\TEMP\dir51939.tmp\NJTransit.ear to D:\oracle\FRHome_1\j2ee\home\applications\NJTransit.ear
12/03/20 09:17:21 Notification ==> Unpack NJTransit.ear begins...
12/03/20 09:17:21 Auto-unpacking D:\oracle\FRHome_1\j2ee\home\applications\NJTransit.ear... done.
12/03/20 09:17:21 Notification ==> Unpack NJTransit.ear ends...
12/03/20 09:17:21 Notification ==> Initialize NJTransit.ear begins...
12/03/20 09:17:21 Auto-unpacking D:\oracle\FRHome_1\j2ee\home\applications\NJTransit\njtransit.war... done.
12/03/20 09:17:21 Copying default deployment descriptor from archive at D:\oracle\FRHome_1\j2ee\home\applications\NJTransit/META-INF/orion-application.xml
to deployment directory D:\oracle\FRHome_1\j2ee\home\application-deployments\NJTransit...
12/03/20 09:17:21 Notification ==> Initialize NJTransit.ear ends...
12/03/20 09:17:21 Notification ==> Initialize njtransit begins...
12/03/20 09:17:21 Notification ==> Initialize njtransit ends...
12/03/20 09:17:21 Notification ==> Application Deployer for NJTransit COMPLETES [ 2012-03-20T09:17:21.990EDT ]
12/03/20 09:25:31 Error: null
12/03/20 09:25:31 Errors parsing jar:file:/D:/oracle/FRHome_1/j2ee/home/applications/NJTransit/njtransit/WEB-INF/lib/standard.jar!/META-INF/fn.tld
12/03/20 09:25:31 Error: null
12/03/20 09:25:31 Errors parsing jar:file:/D:/oracle/FRHome_1/j2ee/home/applications/NJTransit/njtransit/WEB-INF/lib/standard.jar!/META-INF/*permittedTaglibs.tld*
12/03/20 09:25:31 Error: null
12/03/20 09:25:31 Errors parsing jar:file:/D:/oracle/FRHome_1/j2ee/home/applications/NJTransit/njtransit/WEB-INF/lib/standard.jar!/META-INF/*scriptfree.tld*
12/03/20 09:25:37 Error: null
12/03/20 09:25:37 Error: null
12/03/20 09:25:37 Error: null
12/03/20 09:25:37 Error: loading Tld's into cachedConfigTable: null
12/03/20 09:25:37 Error: loading Tld's into cachedConfigTable: null
12/03/20 09:25:37 Error: loading Tld's into cachedConfigTable: null
notice the error in parsing the jar file this jar file is standard.jar do I need this jar or can I leave it out?

Similar Messages

  • Deploying a single JSP file

    Hi All,
    I have installed weblogic server 9.2 on production environment . I have deployed a web application in exploded way, where i will be updated the JSP files frequently.
    Whenever a JSP file is updated , the changed are not taking place.
    Please suggest me , after changing a jsp file do i need to update the deployemnt or there is any to deploy a single JSP file using wenlogic.deployer utility.
    Please guide me on this issue.
    Regards,
    Krikar

    Hi,
    As you have mentioned that your WLS92 Server is running on Production mode. In production mode we dont change our JSPs frequently. The JSPs are Automatically updated within 1-Second in Development environment (PRODUCTION_MODE=false if this is mentioned in your serverSatrtScript).
    In Production Environment if you want that your JSPs whould be updated then Please specify the *<page-check-seconds>* Tag in *"weblogic.xml"* file.
    NOTE: The value <page-check-seconds>1</page-check-seconds> means check the pages every second. This is the default value in a development environment*.
    For more informations...Please refer to http://download.oracle.com/docs/cd/E11035_01/wls100/webapp/weblogic_xml.html#wp1038491
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Is Wonderful...Proofs are here)
    Edited by: Jay SenSharma on Dec 16, 2009 3:24 PM

  • Deploying a single jsp file in weblogic 9.2

    Hi All,
    I have installed weblogic server 9.2 on production environment . I have deployed a web application in exploded way, where i will be updated the JSP files frequently.
    Whenever a JSP file is updated , the changed are not taking place.
    Please suggest me , after changing a jsp file do i need to update the deployemnt or there is any to deploy a single JSP file using wenlogic.deployer utility.
    Please suggest where to find documents for the same.
    Please guide me on this issue.
    Regards,
    Krikar

    Hi Kirkar,
    As you have mentioned that your WLS92 Server is running on Production mode. In production mode we dont change our JSPs frequently. The JSPs are Automatically updated within 1-Second in Development environment (PRODUCTION_MODE=false if this is mentioned in your serverSatrtScript).
    In Production Environment if you want that your JSPs whould be updated then Please specify the *<page-check-seconds> Tag in "weblogic.xml" file*.
    NOTE: The value <page-check-seconds>1</page-check-seconds> means check the pages every second. This is the default value in a development environment.
    For more informations...Please refer to http://download.oracle.com/docs/cd/E11035_01/wls100/webapp/weblogic_xml.html#wp1038491
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Is Wonderful...Proofs are here)

  • IO Error while deploying application client jar file ???????

    Hi,
    In my .ear file, one application-client jar(which contains all helper classes which are used in whole application) file is there. While deploying .ear file, all ejb are getting deployed well, while deploying application client jar file(Global.jar file here) it is giving the following message:
    IO Error deploying Global.jar: D:\oracle9ias\oc4j_extended\j2ee\home\applications\trainiumear\Global.jar
    Here is application-client.xml of Global.jar file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application-client_1_2.dtd'>
    <application-client>
    <display-name>TrainiumClientApp</display-name>
    <description>Application description</description>
    </application-client>
    My Environment: Oracle9iAS (9.0.3.0.0), Windows-NT
    Please let me know Why i am getting 'IO Error' , where i may done wrong ?
    Thanks in Advance
    Srinivas

    Srinivas,
    Before we continue, PLEASE tell me if you've looked through the available
    documentation, code samples, "how-to" documents, etc., for OC4J. It
    seems to me that you're mixing things up a bit. I use the "deploy"
    command to deploy my EARs, example (partial):
    java -jar admin.jar ormi://<host> admin <password> -deploy ...
    And my EAR file is not in the "application-deployments" directory
    when I issue that command.
    Perhaps you could also show me the contents of your "application.xml"
    file for this application you are having trouble with.
    But I repeat, please tell me if you have already looked at the
    available documents regarding OC4J!
    Thanks,
    Avi.

  • Deploying application with class files compiled using ojspc

    Hi,
    I want to deploy the application having class files compiled using ojspc in Oracle9iAS Release 2 rather than having JSP pages.
    Thanks,
    Pritam

    Hi Manoj,
    I have tried doing something like this.
    If you want to try this out running on a NW2004s.You need to first download the entire project from perforce branch (
    tc\webdynpro\clientserver)for NWDS 7.0 and then build the project locally in your java perspective.
    During the local build of the project.It will also point out the dependent projects required by this project(clientserevr).
    Once the project is build.
    Create seperate external jars of the clientserver project and its dependent projects and save them locally.
    Open your SDM manager,pick up this jar file from there and deploy it.
    Once the deployment is over, the server is ready to run the application you created.
    But this make your NWDS2004s to behave jus like NWDS7.0 .
    Just a small suggestion ,instead of going through this tedious process you can shift to NWDS7.0 itself.
    regards
    aarthi mathivanan

  • Exception while deploying application(as EAR file) on Standalone WLS 10.3

    Hi,
    I'm struggling with an exception while deploying my application(as EAR file) on a standalone WebLogic Server 10.3. I have developed a application using Trinidad and JSF components. But an exception occurs while deploying my application(as EAR file) in WebLogic Server 10.3. As I'm not familiar with WEBLOGIC server I'm unable to analyse the exception.
    Note - I'm attaching the StackTrace below
    Please help me out from this isssue.
    +[HTTP:101216]Servlet: *"Faces Servlet" failed to preload on startup in Web application: "iss"*. java.lang.NullPointerException at javax.faces.webapp.FacesServlet.init(FacesServlet.java:165) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1893) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1870) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1790) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:820) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1227) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:436) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)+
    Message icon - Error java.lang.NullPointerException:
    Thanks
    Sukumar

    These are set of jar files that are placed in WEB-INF/lib folder
    jsf-api.jar
    commons-net-1.4.1.jar
    itext-1.4.2.jar
    javax.servlet_1.0.0.0_2-5.jar
    log4j-1.2.8.jar
    lucene-core-2.0.0.jar
    ojdbc5.jar
    ojdl.jar
    ojdl2.jar
    orai18n-lcsd.jar
    trinidad-api.jar
    I think adf-faces-impl.jar is doesn't require for my application because we have migrated our application from ADF Faces to Trinidad.
    Thanks
    Sukumar

  • Deploying application with EAR file: problems....

    Hello!
    We been working in a test environment for developing our application. When its done and ready to go in production, we did generate the deployed application archive (EAR) with the console. Then, we used the
    java -jar admin.jar -deploy command to deploy in the prod. env.
    Meanwhile, we always get this kind of error, as it seems that oc4j is not generating EJB wrapper correctly:
    GestionApplicationSBHome_StatelessSessionHomeWrapper120 was not an instance of interface sertir.portail.gap.GestionApplicationSBHome, the interface it implements is sertir.portail.gap.GestionApplicationSBHome
    at java.lang.Throwable.fillInStackTrace(Native Method)
    AND
    java.lang.ClassCastException: ApplicationEBHome_EntityHomeWrapper14 was not an instance of interface sertir.portail.gap.ApplicationEBHome, the interfaces it implements are sertir.portail.gap.ApplicationEBHome, com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].util.ExternalComparator, com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.ejb.EntityContainer
    and other errors doing that with almost all EJBs.
    My question is, is there a special switch in the deploy command to force the compilation of the EAR file?
    Any help would be appreciated...
    Thanks!

    These are set of jar files that are placed in WEB-INF/lib folder
    jsf-api.jar
    commons-net-1.4.1.jar
    itext-1.4.2.jar
    javax.servlet_1.0.0.0_2-5.jar
    log4j-1.2.8.jar
    lucene-core-2.0.0.jar
    ojdbc5.jar
    ojdl.jar
    ojdl2.jar
    orai18n-lcsd.jar
    trinidad-api.jar
    I think adf-faces-impl.jar is doesn't require for my application because we have migrated our application from ADF Faces to Trinidad.
    Thanks
    Sukumar

  • Deploying 9i Reports JSP file using Jdev

    Hello,
    I have created two JSP reports using 9i Reports Developer. One of them is a Paramater form which calls the other.
    I am able to run them from the OC4J demo instance directory structure.
    How can I create an ear file using JDeveloper so that I can deploy that as a new OC4J instance using OEM?
    Appreciate you help.
    Thanks.

    To create war and ear files thro Jdeveloper please refer to Oracle jDeveloper online Help .you can also create ear and war files using open source tool ant ,please refer to following URL for downloading this tool and documentation - http://jakarta.apache.org/ant/
    Thanks
    Rohit

  • Xml files deployment in a jsp application

    I have a xml file and i want to read it in a jsp file.I use some java classes to read the xml file.I use DOM.
    In the jsp file i'm calling a function from a clas that returns a vector with elements from the xml file.
    Problem:If the same function is called by a main function (not in web app) it works just fine,but if the function is called in a jsp file it does not see the xml file!!!!
    Question:Where do i have to place my xml file that my function called in a jsp file to see (use) the xml file??
    Describe the exact location please....the directory
    Please help me.I've tried everything.
    Thank you

    For example if you put your XML under WEB-INF then from JSP it can be accessible as:
    String path = session.getServletContext().getRealPath("/WEB-INF/myfile.xml");
    .. read the file code goes here ...
    P.S. That will work if your application is not packed into WAR.

  • Deployment error - Missing class: javax.servlet.jsp.jstl.core.Config

    Hi,
    We are using JDeveloper 10.1.3.0.4(SU5) on windows for development of ADF application. We need to deploy the developed application onto Oracle Application Server 10g (10.1.3) which is running on Solaris. We are using BC4J, WAR and EAR deployment profiles in jdeveloper to create the .war and .ear files.
    If I deploy the generated ear on a standalone OC4J server install on my windows PC, it works fine.
    Now when I deploy the generated .ear file onto the Oracle Application Server 10.1.3 through Application Server Control interface and then try to access the jspx pages under our application we are getting following error:
    oracle.classloader.util.AnnotatedNoClassDefFoundError:      Missing class: javax.servlet.jsp.jstl.core.Config     Dependent class: com.sun.faces.application.ViewHandlerImpl     Loader: accaweb.web.accaweb:0.0.0     Code-Source: /oracle/app/oracle/product/10gas3/j2ee/home/applications/accaweb/accaweb/WEB-INF/lib/jsf-impl.jar     Configuration: WEB-INF/lib/ directory in /oracle/app/oracle/product/10gas3/j2ee/home/applications/accaweb/accaweb/WEB-INF/libThe missing class is available from the following locations:     1. Code-Source: /oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar (from WEB-INF/lib/ directory in /oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib)      This code-source is available in loader default.web.defaultWebApp:0.0.0.      at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2051) [oracle/app/oracle/product/10gas3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1482257]
    I have confirmed that the .war file inside the .ear file does contain the jstl.jar file under WEB-INF/lib folder. And the jar file does contain the class 'javax.servlet.jsp.jstl.core.Config'
    As a workaround, I found that if I copy the jstl.jar file from default-web-app to my application web-inf/lib folder, things start to work fine. ie copy from: '/oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar'
    to: '/oracle/app/oracle/product/10gas3/j2ee/home/applications/accaweb/accaweb/WEB-INF/lib/'
    – or –
    Another workaround is to add the '/oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar' file in the classpath for my web application through Application Server Control setting page.
    Now both of these workaround needs us to perform additional post deployment steps which should really not be required since the jar files is included in the project.
    Has anyone faced this issue? Any pointers in this respect will be a great help.
    regards - rutwik

    Surprise Surprise !
    I just tried deploying the file via uploading it from the Application Server Control UI and it worked fine.
    Till now, I was ftp'ing the ear file from my PC to the server on which Oracle AS is running and was telling Application Server Control to pick form that uploaded location.
    I am still not clear on why it works with HTTP upload and not via the FTP upload?
    cheers - rutwik

  • 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.

  • Deploying a JSP file

    Hello,
    I am currently trying to deploy a jsp file on the application server from NWDS.
    But unfortunatelly I didn't manage to make it work yet.
    If anybody could provide a step by step howto that would be great, I am not very familiar with the deployment descriptor files for java web applications. So I am having trouble to set the right web project up where I can add my jsp and then deploy and find it on the server.
    My situation is: I have a jsp file from the internet that I would like to deploy on the AS. Afterwards I want to call the jsp directly via the browser. I already have my Web AS setup in NWDS, so I can deploy web projects there.
    I am just not sure, which kind of project to chose and how to integrate my jsp. And afterwards which sub URL to use to call my jsp.
    Any help would be really appreciated!
    Best Regards,
    Peter

    Hello Dibya,
    Thank you for your reply!
    I have actually seen this thread but unfortunatelly I could not make my jsp work.
    One problem I have is that in every guide I found, it says to create a "J2EE -> Web module" project in NWDS. But in my NWDS I only have Application Client-, Connector-, Enterprise Application- and Utility Project under "J2EE". 
    Under "Web" I have "Dynamiy web project" and "Static web project" in addition.
    Which one would be the right one?
    I have also tried to create a portal application project like advised in the mentioned thread.
    Basically what I did so far was creating the mentioned projects, then right click the project and choose new -> jsp file.
    Into the jsp file I then inserted the coding of my downloaded jsp file and then I tried to export the projects into an EAR file.
    This also worked. Then I deployed the EAR archive to the application server. But when I am on the application server I am not able to find / open my appliciation.
    For example the last try I did was with the portal application. I have an EAR file created out of my portal application file. Inside the EAR file there is a WAR file. Inside the WAR file I have a folder called "WEB-INF" and inside this folder there is the "jsp" folder and in there is my jsp.
    My question is now, how can I call that jsp after deploying the EAR file?
    Let's say my project is called "test" and I have a "test.ear", inside of that I have the "test.war" and inside there in the "WEB-INF/jsp" folder I have a "abc.jsp".
    When I open my appserver address http://server:port/test I am getting http error 403:
    Error: You are not authorized to view the content of the requested directory.
    Details:     
    Directory listing is not allowed on this server.
    So I tried to open the jsp via:
    http://server:port/test/abc.jsp
    http://server:port/test/test/
    http://server:port/test/test/WEB-INF/jsp/abc.jsp
    But neither worked (every time http error 404 - file not found).
    So if you could give me any further hint on what I am doing wrong that would be really appreciated.
    Best Regards,
    Peter

  • Deploy a JSP file onto the Portal Server ?

    Hello All,
    I have a jsp file with me.
    Now I just want to deploy it on to the Portal server.
    Should I create a JSP Dynpage ?
    I've the complete jsp file . Shud i need to do anything to convert it into a jsp dynpage ?
    Can anyone tell me the procedure of how to achieve this ?
    Regards,
    Deepu.K

    Hi Deepu,
    check SAP Library section <a href="http://help.sap.com/saphelp_nw70/helpdata/en/de/7f5d7b186e4430ae40e5e4382c280e/frameset.htm">Portal Development Manual</a> for more information about portal development.
    For example in section <a href="http://help.sap.com/saphelp_nw70/helpdata/en/44/46bb8670e20597e10000000a155369/frameset.htm">Deploying the Portal Application</a> SAP describes how to deploy portal applications (including JSP Dynpages).
    Best regards,
    Martin

  • How to precompile jsp file in jdeveloper before deployment....

    Hi
    thank you for reading my post
    how i compile jsp file in my web application , is it doable in jdeveloper 10.1.3.0.4?
    even if i could precompile the application before deployment is OK for me.
    thanks

    1. Highlight your web project or the individual file
    2. Right click
    3. Select Rebuild to build all jsp files or Make to rebuilt only changed files

  • How to authorize my Login.jsp file to create LoginContext, deployed in war

    I am currently doing a login process and I need to know how to give my Login.jsp file the permission to create a LoginContext. I packaged everything in a war file and deployed it to the server.
    Specifically this is the error that I am getting:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: access denied (javax.security.auth.AuthPermission createLoginContext.studentportal)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    root cause
    java.security.AccessControlException: access denied (javax.security.auth.AuthPermission createLoginContext.studentportal)
         java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         java.security.AccessController.checkPermission(AccessController.java:427)
         java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         javax.security.auth.login.LoginContext.init(LoginContext.java:224)
         javax.security.auth.login.LoginContext.(LoginContext.java:403)
         org.apache.jsp.Login_jsp._jspService(Login_jsp.java:55)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
    In my code in Login.jsp this is what I have at the top of the page:
    <%@ page language="Java" import="portal.*,javax.security.auth.login.*" %>
    <%
    String s = request.getParameter("loginButton");
    if (s != null) {
    out.println("The user attempted to login");
    String user = request.getParameter("username");
    String psw = request.getParameter("psw");
    AscCallbackHandler cbh = new AscCallbackHandler(user,psw);
    LoginContext ctx;
    try {
    ctx = new LoginContext("studentportal",cbh);
    } catch (LoginException  le) {
    out.println("Sorry, could NOT create context");
    }The admin page tells me that portal is deployed at location:
    ${com.sun.aas.instanceRoot}/applications/j2ee-modules/portal
    My entry in the server.policy file looks like so:
    grant codeBase "file:/home/jay/sun/Creator2_1/SunAppServer8/domains/creator/applications/j2ee-modules/portal/WEB-INF/-" {
    permission javax.security.auth.AuthPermission "createLoginContext.studentportal";
    permission javax.security.auth.AuthPermission "modifyPrincipals";
    permission javax.security.auth.AuthPermission "getLoginConfiguration";
    Which gives the error shown above
    Please help
    Message was edited by:
    jay_dawg
    Placing code tags

    java.lang.NoClassDefFoundError: org/jdom/JDOMException
         java.lang.Class.getDeclaredConstructors0(Native Method)
         java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
         java.lang.Class.getConstructor0(Class.java:2671)
         java.lang.Class.getConstructor(Class.java:1629)
         org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1164)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Generator.generate(Generator.java:3305)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)and following by this

Maybe you are looking for

  • Opening stock of item

    Hi All, While taking opening stock and unit base price for items, an entry was taken wrong. How to handle this? Can we delete a single item, will it have any adverse effect? Regards, Rupa

  • Call a function from sp

    My function is called from a sp using a select statement, it return error msg saying invalid column if I don't comment out the function call (worked if no function call). Could you help me to fix it? below is part of my code: create or replace packag

  • XMP property for a page object not predefined and no extension schema...

    In attempting to make PDF/A-1b files, I get the Preflight error "XMP property for a page object not predefined and no extension schema present." Every page reports the same Trigger values: => Property exists in predefined schema (XMP 2004): is not tr

  • Do you know how bigoted your company appears now?

    You are what you accused Brendan Eich of being. You are bigots. Full blown cowards. I hope your company experiences a huge loss because of your actions.

  • How can i use connectionfactory efficiently?

    i am wondering about the connection factory Object in jms.it may be used by one or more client.So how can i use it efficiently, each client have a connection factory or all of clients use the only one. pls tell me the truth,and thanks a lot !