Can JDeveloper deploy a WAR created in another IDE?

I am developing a web application (set of servlets) that will be packaged as a WAR file and that I want to deploy to our Oracle 10g release 1 application server (9.0.4.2).
Can I use JDeveloper to deploy the WAR even if I didn't develop the application in JDeveloper? I'm still trying to decide whether to use JDeveloper or Eclipse, and the version of Eclipse I'm using (Europa) doesn't seem to support the OAS version I have.
I know I could deploy the WAR using the OAS Control, but our server people don't want to give me the ias_admin account details. They don't mind entering those details into JDeveloper while I look the other way though.

The way that you do the one click deploy from JDeveloper is using a deployment profile.
So you might need to first create a deployment profile for your code in JDeveloper and then deploy it.
Try doing New->Projects->Project from WAR file to get your source into JDeveloper.
Then do New->Deployment Profile->WAR and see if it helps.

Similar Messages

  • How can I deploy the WAR application in the Tomcat

    How can I deploy the WAR application in the Tomcat. Do I have to do any manifest file.
    Thanks
    S. Nikov

    First of all, which version of Tomcat are you using?
    Deploying a WAR file in Tomcat is very easy. Just put the WAR file in the %TOMCAT_HOME%\webapps directory and start Tomcat. It will automatically find the WAR.
    Please read the Tomcat documentation: start Tomcat and point your browser to http://localhost:8080
    Jesper

  • Oracle Weblogic Server 12c, issue with deploying the war created from Wavemaker tool

    Hi
    Recently, I am facing an issue with Oracle Web logic Server 12c, on deploying the war file (created from Wavemaker tool) to running Web logic server, it shows deployment health status is OK and web application is Active. But when I visit the home page of the application, it is unable to load the javascript files in the context and I am getting below error. Please you can check these errors in the Inspect window of the browser :
    Here are the errors on hitting index page after deploying the war file to Web Logic.
    http://localhost:7001/TestWarProject
    http://localhost:7001/TestWarProject/lib/runtimeLoader.js  404 (Not Found) index.html:39
    http://localhost:7001/TestWarProject/config.js  404 (Not Found) index.html
    Uncaught ReferenceError: wm is not defined project.a.js:1
    (anonymous function) project.a.js:1
    Uncaught ReferenceError: wm is not defined index.html:89
    (anonymous function) index.html:89
    But when I exploded the war file and copy the whole application in the auto deploy folder and restart the server, it is working fine.
    Can you please what is the issue not setting context path properly on deploying the war on the fly?
    Has anyone found any appropriate solution or workaround? Can you please share?
    Thanks in advance for helping me out.
    ~pcg

    Hi
    Recently, I am facing an issue with Oracle Web logic Server 12c, on deploying the war file (created from Wavemaker tool) to running Web logic server, it shows deployment health status is OK and web application is Active. But when I visit the home page of the application, it is unable to load the javascript files in the context and I am getting below error. Please you can check these errors in the Inspect window of the browser :
    Here are the errors on hitting index page after deploying the war file to Web Logic.
    http://localhost:7001/TestWarProject
    http://localhost:7001/TestWarProject/lib/runtimeLoader.js  404 (Not Found) index.html:39
    http://localhost:7001/TestWarProject/config.js  404 (Not Found) index.html
    Uncaught ReferenceError: wm is not defined project.a.js:1
    (anonymous function) project.a.js:1
    Uncaught ReferenceError: wm is not defined index.html:89
    (anonymous function) index.html:89
    But when I exploded the war file and copy the whole application in the auto deploy folder and restart the server, it is working fine.
    Can you please what is the issue not setting context path properly on deploying the war on the fly?
    Has anyone found any appropriate solution or workaround? Can you please share?
    Thanks in advance for helping me out.
    ~pcg

  • JDeveloper Deployment of WAR Files to Tomcat

    Hello
    I'm new to learning JSP development, using JDeveloper (10.1.3) and Tomcat(5.5)/Jakarta ISAPI Redirector (1.2.14) on top of IIS. I'm just starting to get the hang of web applications and directory structures. So far I've been manually copying my classes and HTML/JSP files from development to deployment directories but now I want to use the JDeveloper IDE to manage my files and deploy them as my projects get more complex. I have a problem that I'm pulling my hair out about: When I deploy my application using JDeveloper via a WAR archive none of my JSP or HTML pages get served to my browser correctly. For example, a simple "hello world" page will not display anything in my browser. A check of the source code of the web page yields an empty document. This is the case for both HTML and JSP pages. The odd thing is that servlets work. If I type a URL to a servlet inside my application, it works fine. Now if I delete the WAR file and the deployment directory and copy the application files over manually, everything works as expected in the web browser. The culprit (I think) is the WEB-INF\web.xml file. In my manual copy process, I do not have a web.xml file. The text I'm studying from says I don't need it for the simple apps I've done so far. However, JDeveloper requires one for deployment and since I don't know what to put in it, I leave the default contents alone. So my question is: What do I need to do to the WEB-INF\web.xml file to make sure deployed-from-JDeveloper application is able to process HTML and JSP pages? A second question would be: Is there a way to configure JDeveloper such that I don't have to have a web.xml file?
    Thanks.

    You need to access your .jsp pages using the ADF Faces filter, for example:
    http://localhost/dev/faces/default.jsp
    The "/faces" part of the URL tells Tomcat to use the ADF faces filter you installed to process the page. You can specify the name of the filter in the web.xml file along with other data such as security constraints. I can't recall for sure, but I thought JDev set up the base web.xml for you including the ADF Filter lines as part of the install.
    Below is a sample web.xml I use for Tomcat 5.5.9 (note on the cpxfilename context-param you would need to specify your jdev app name.) Hope this helps.
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app 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" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>YourDomain.com</description>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <param-name>oracle.adf.view.faces.CLIENT_STATE_METHOD</param-name>
    <param-value>all</param-value>
    </context-param>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>com.yourappname.view.DataBindings</param-value>
    </context-param>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>10</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <!-- Define Security Constraints on this Application -->
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Admin-Access</web-resource-name>
    <url-pattern>/Admin/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>admin</role-name>
    </auth-constraint>
    </security-constraint>
    <!-- Define the Login Configuration for this Application -->
    <login-config>
    <auth-method>DIGEST</auth-method>
    <realm-name>AppAdmin</realm-name>
    </login-config>
    <!-- Security roles referenced by this web application -->
    <security-role>
    <description>
    Role to access admin pages
    </description>
    <role-name>admin</role-name>
    </security-role>
    </web-app>

  • How can i deploy my .war portlet application

    Hi Gurrus!
    I want to deploy programatically (manuall way can also helps me to program the manual logic) my .war portlet application comprise of
    content:
    1) 1 java file(portlet one)
    2) 1 jsp file
    3) web.xml
    4) portlet.xml
    questions:
    1) how can i do the above task
    2) in 8.1sp 3 is there a way that i deploy my .war as an application than using admin/workshop console link them in a portal page?, if yes than please guide me in this regard.
    THANKS IN ADVANCE
    -Kashif

    Hello Gurus,
    Is there an update version of portletpreparer for weblogic portal 9.2?
    I tried the instruction on the link and got java exception during running the ant command.
    Has anyone had luck to use this utility?
    Thanks,
    -Nick
    PS. Exception
    C:\work\portletpreparer\portletpreparer\build.xml:12: java.lang.NullPointerException
    at org.apache.tools.ant.Task.perform(Task.java:373)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Caused by: java.lang.NullPointerException
    at com.bea.task.PreparePortlets.execute(PreparePortlets.java:81)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    ... 10 more
    --- Nested Exception ---
    java.lang.NullPointerException
    at com.bea.task.PreparePortlets.execute(PreparePortlets.java:81)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Total time: 1 second

  • Can I deploy a war file with the mixture of JSP and servlet?

    I have a project, which the JSP has been created for view page, and the servlet was created to retrieve the database, but we have trouble to pass the session variable from servlet back to JSP, it is NULL, with different session ID.
    Now, I try to add the servlet into the same JSP project, and deploy them as one war file, so, it will be called under the same subdirectory (Tomcat).
    It failed to call the servlet, with the error message
    Servlet FirstServlet is not available
    I wonder whether this is valid, if it is, what I may lost, if it is not, how to pass the session variable between them.
    Thanks.

    I double checked the web.xml file, the FirstServlet was defined as servlet class, and the FirstServlet class was found under WEB-INF/classes/FirstServletPackage directory.
    Here it is the web.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <servlet>
    <servlet-name>FirstServlet</servlet-name>
    <servlet-class>FirstServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>FirstServlet</servlet-name>
    <url-pattern>/FirstServlet</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>
    30
    </session-timeout>
    </session-config>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    and here it is the message from Tomcat log
    May 28, 2009 5:09:43 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Allocate exception for servlet FirstServlet
    java.lang.ClassNotFoundException: FirstServlet
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1094)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:595)
    I will try to rename it, then test it again.

  • How to deploy a war file from a different app server to the SAP one

    Hello,
    I hve recieved a war file from Tomcat that needs to be deployed on the SAP Java App server. As far as I know the SDM only allows to deploy ear files. How can I deploy this war to the app server?

    Hi Roy,
    in order to deploy the WAR file you have to wrap an EAR around it. I had the same problem.
    You can do this using Netweaver Developer studio.
    Perform the following steps:
    - Start NWDS
    - Create a New Enterprise Application Project
    - Create a New Web Module Project (name it like your war file => e.g. your war file is called myApp.war => call your Web Module myApp)
    - Edit the application.xml of your Enterprise App if necessary (description, Displayname etc.)
    - Link your Web Archive to your application archive (right Mouse click on Application Archive and from the Context Menu choose "Add Modules" => In the list choose your Web Module)
    => You can also perform a right mouse click on your web Module and from the context menu choose "Add to EAR Project" => In the list choose your Enterprise Application!
    - Build Web Archive (right mouse click on your Web Module and from the context menu choose "Build Web Archive" => This will create a war file that has the same name as your war file! => If you do not see it try to switch to resource perspective!)
    - Build Application archive (right mouse click on Application archive => from the context menu choose "Build Application Archive")
    You are done
    The EAR file is generated and will be created in your workspace.
    Now browse to your workspace. Unpack the EAR using WinZip or any other Archiver program.
    Replace the contained war with your war and repack the ear file (You can also use tools like Total Commander to directly replace the war file in the EAR with your war without having to unpack the war). You can also import your war into NWDS and rebuild it so you won't have to replace the WAR in the EAR but as your WAR is already built I would just replace it as described!
    You can now deploy the ear file to SAP J2EE
    Hope this helps (Reward points for helpful answers are appreciated!)
    Cheers

  • Deploying a WAR to the J2EE Server - Suggestions Plz.

    Hi,
    I have a WAR file from my previous project, I would like to deploy it to my SAP WAS can some one tell me how I can do it also is there is way to Deploy a JAR file to a Server or to upload it there so all my applications can use it in the future without me having to add it to the Lib folder of my projects, I would appreciate any help.
    Best Wishes,
    John.

    Hi John,
    Open the source of application.xml in the EAR project and the add the following
       <module>
            <web>
                <web-uri>sampleweb.war</web-uri>
                <context-root>sampleweb</context-root>
            </web>
        </module>
    Replace your war file name and context root in the above snippet and add it in your application.xml as follows...
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
                                 "http://java.sun.com/dtd/application_1_3.dtd">
    <application>
        <display-name>sample</display-name>
        <description>EAR description</description>
        <module>
            <web>
                <web-uri>sampleweb.war</web-uri>
                <context-root>sampleweb</context-root>
            </web>
        </module>
    </application>
    Once you do it, your war is referred in ear and u can seperately deploy the war and ear and it will be recognized.
    Hope this will solve your problem..
    You may reward points if the solution helped..
    Thanks and regards
    Deepa Jampunathan

  • Can weblogic run serializer classes created by wscompile tool

    Hi,
    I am trying to deploy a webservice on weblogic.
    This webservice implements a given wsdl.
    I have created type mapping classes from 'wscompile' tool and not by 'autotype'
    provided by weblogic as i want my code to follow JAX-RPC standards and it should
    not depend upon weblogic classes.
    when i package the webservice and deploy it on weblogic, i get the following error:
    weblogic.webservice.server.ConfigException: failed to add type mapping to registry:
    - with nested exception:
    [java.lang.InstantiationException: com.egain.adapter.StartMonitoringResponse_LiteralSerializer]
    at weblogic.webservice.server.WebServiceFactory.initTypeMaps(WebServiceFactory.java:228)
    How can we deploy a webservice created with JAX-RPC standard (with either Apache
    Axis or JWSDP) on weblogic?
    I am using WLS 7.0 SP1.
    Thanx for any help in advance.
    Davinder

    JAX-RPC serializer classes are not portable. So you can not use the
    serializer classes
    generated by Sun's RI in weblogic JAX-RPC runtime.
    provided by weblogic as i want my code to follow JAX-RPC standards and itshould
    not depend upon weblogic classes.You dont have to refer any weblogic specific classes to use WLS JAX-RPC
    impl. You
    only need to use the weblogic provied tools. The application code you write
    is portable.
    Check out the edoc for more details:
    http://edocs.bea.com
    -regards,
    manoj
    "davinder" <[email protected]> wrote in message
    news:3e66e03a$[email protected]..
    >
    Hi,
    I am trying to deploy a webservice on weblogic.
    This webservice implements a given wsdl.
    I have created type mapping classes from 'wscompile' tool and not by'autotype'
    provided by weblogic as i want my code to follow JAX-RPC standards and itshould
    not depend upon weblogic classes.
    when i package the webservice and deploy it on weblogic, i get thefollowing error:
    >
    weblogic.webservice.server.ConfigException: failed to add type mapping toregistry:
    - with nested exception:
    [java.lang.InstantiationException:com.egain.adapter.StartMonitoringResponse_LiteralSerializer]
    atweblogic.webservice.server.WebServiceFactory.initTypeMaps(WebServiceFactory.
    java:228)
    >
    How can we deploy a webservice created with JAX-RPC standard (with eitherApache
    Axis or JWSDP) on weblogic?
    I am using WLS 7.0 SP1.
    Thanx for any help in advance.
    Davinder

  • Can Jdeveloper 10.1.3 deploy web service on OC4J 10.1.2?

    Hi all,
    Can I use jdeveloper 10.1.3 develop, and deploy web service on OC4J 10.1.2? My jdk version is 1.4.2. Thanks in advance.

    We don't have a direct connection from JDev 10.1.3 to OC4J 10.1.2 - we do have a connection to OAS 10.1.2.
    If you want to deploy to a stand alone OC4J 10.1.2 then just create the WAR file in JDeveloper - and then use the OC4J admin interface to deploy the WAR.

  • Creating portals using webcenter/jdeveloper deployment issue

    Can we deploy portals created using webcenter/jdeveloper to earlier non -jdeveloper oracle portals or rather the portal pages? Basically I am asking this because we are using new technology for us being webcenter and trying to make it backwards compatible with the oracle portal pages for certain projects rather then recoding.
    Edited by: user609513 on Dec 4, 2008 4:42 PM

    Hi,
    Portal 10.1.4 has WSRP and JSR 168 Standards compatibility, this means that you WebCenter portlets (which are JSR portlets) can be deployed to Portal 10.1.4 pages.
    The page definitions and security will have to be re-created, but all your logic(portlets) will be reused.
    Another alternative is to use the JSF Portlet Bridge feature of Oracle WebCenter to wrap your whole WC application into a portlet and deploy it into portal, check this document:
    http://www.oracle.com/technology/products/webcenter/pdf/owcs_10132_cm_jsf_bridge.pdf
    Regards,
    Juan

  • Create and Deploy a WAR file

    Hello,
    We are using OBIEE 10.1.3.4.1 and Oracle Application Server 10.1.3.1.
    We need to recompile the analytics war file and make a new deployment of it after a patch.
    But I am not sure about how to do this.
    Can someone please guide me to do this in a Linux environment.
    Thanks You.

    Google is your friend. With an installed Java JDK bin directory on your path variable you can use these commands:
    Extract a WAR file:
    jar -xf [War File].war
    Create a WAR file:
    jar -cf ..\[War File].war *
    You can pack the WAR files in Windows and then transfer them to Linux or pack them directly in Windows, it doesn't make a difference.

  • Can i deploy my adf application as war

    My application is using ADF business components as service layer and ADF Faces as presentation layer. Can i deploy it in the war format? When i deploy it in the EAR format, it is successfully deployed but when i deploy it as war, i get following error at the deployment time:
    I am using weblogic 10.3.3 with JDeveloper 11.1.1.2.0
    java.lang.NoClassDefFoundError: oracle/jbo/JboException
         at java.lang.Class.getDeclaredFields0(Native Method)
         at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
         at java.lang.Class.getDeclaredFields(Class.java:1743)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1024)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1017)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.processJ2eeAnnotations(BaseJ2eeAnnotationProcessor.java:98)
         at weblogic.j2ee.dd.xml.J2eeAnnotationProcessor.processJ2eeAnnotations(J2eeAnnotationProcessor.java:37)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processServlets(WebAnnotationProcessorImpl.java:226)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:209)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:105)
         at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1359)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:440)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:484)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.NoClassDefFoundError: oracle/jbo/JboException
         at java.lang.Class.getDeclaredFields0(Native Method)
         at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
         at java.lang.Class.getDeclaredFields(Class.java:1743)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1024)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1017)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.processJ2eeAnnotations(BaseJ2eeAnnotationProcessor.java:98)
         at weblogic.j2ee.dd.xml.J2eeAnnotationProcessor.processJ2eeAnnotations(J2eeAnnotationProcessor.java:37)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processServlets(WebAnnotationProcessorImpl.java:226)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:209)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:105)
         at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1359)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:440)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:484)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    As my customer wants to change the context path of application through weblogic console. Weblogic console only allows to change context root defined in weblogic.xml not in application.xml of ear so customer can not change it unless he extracts it and then change it manually in application.xml and then package it again.

  • I have adobe xi pro, but i can´t edit a form create with adobe 8.0, the message is this form can´t be edit with adobe, use adobe livecycle designer. need I to buy another program?

    I have adobe xi pro, but i can´t edit a form created with adobe 8.0. The message is: this form can´t be edit with adobe, use adobe livecycle designer. need I to buy another program?

    If the form was created using LCD then it can only be edited there. This
    application used to be bundled with Acrobat Pro, but that's no longer the
    case. So if you want to edit this file then you need to purchase it, yes.
    On Sat, Apr 4, 2015 at 6:39 PM, monicad4417911 <[email protected]>

  • Problem deploying war created in Sun Java Studio Enterprise 8

    I have, with some help from this forum, converted a portlet application from the Sun Java Studio Enterprise 7 environment to the Sun Java
    Studio Enterprise 8 environment. This portlet application runs in SJSE 8 now but fails when I pdeploy it to the portal server (Portal Server 6
    2005 Q1). The old war created from SJSE 6 does work. The code is identical. The war files are slightly different.
    On deployment I get:
    [DEBUG] Getting Jar File from war...
    [DEBUG] Getting Portlet DD as Stream...
    [DEBUG] Creating DPProviders...
    [DEBUG] Updating the Portlet Application...
    [DEBUG] Adding Providers to DP...
    [DEBUG] Adding provider: provider=__Portlet__timetableEnt8.Timetable
    [DEBUG] Creating DPProvider...
    [DEBUG] Checking for duplicate name: name=__Portlet__timetableEnt8.Timetable
    [DEBUG] Validating modified DP doc...
    [DEBUG] Storing the DP...
    Done Updating Display Profile! Deploying War File to Web Container...
    SUCCESS.But in the logs I see:
    [#|2006-04-04T13:09:58.112-0400|SEVERE|sun-appserver-ee8.1|javax.enterprise.system.container.web|_ThreadID=10;|WebModule
    [/portlet]Error configuring application listener of class
    com.sun.portal.container.portlet.impl.PortletContainerContextListenerImpl
    java.lang.ClassNotFoundException: com.sun.portal.container.portlet.impl.PortletContainerContextListenerImpl
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1447)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1228)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3958)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4525)
            at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:833)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:483)
            at org.apache.catalina.startup.Embedded.start(Embedded.java:894)
            at com.sun.enterprise.web.WebContainer.start(WebContainer.java:688)
            at com.sun.enterprise.web.HttpServiceWebContainer.startInstance(HttpServiceWebContainer.java:889)
            at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onStartup(HttpServiceWebContainerLifecycle.java:50)
            at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
            at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
            at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    |#]
    [#|2006-04-04T13:09:58.114-0400|SEVERE|sun-appserver-ee8.1|tomcat.server./portlet.Context|_ThreadID=10;|
    Skipped installing application listeners due to previous error(s)|#]
    [#|2006-04-04T13:09:58.114-0400|SEVERE|sun-appserver-ee8.1|tomcat.server./portlet.Context|_ThreadID=10;|
    Error listenerStart|#]
    [#|2006-04-04T13:09:58.115-0400|SEVERE|sun-appserver-ee8.1|tomcat.server./portlet.Context|_ThreadID=10;|
    Context startup failed due to previous errors|#]When I look in the create "New Portlet Channel..." in the am console my application appears in the list but when I create a channel based on it, the whole desktop crashes with this error:
    [#|2006-04-03T11:39:41.699-0400|SEVERE|sun-appserver-ee8.1|javax.enterprise.system.container.web|_ThreadID=16;|
    StandardWrapperValve[desktopServlet]: Servlet.service() for servlet desktopServlet threw exception
    java.lang.IllegalStateException: getWriter() has already been called for this response
         at org.apache.coyote.tomcat5.CoyoteResponse.getOutputStream(CoyoteResponse.java:588)
         at org.apache.coyote.tomcat5.CoyoteResponseFacade.getOutputStream(CoyoteResponseFacade.java:166)
         at com.sun.portal.desktop.DesktopServlet.getWriter(DesktopServlet.java:444)
         at com.sun.portal.desktop.DesktopServlet.service(DesktopServlet.java:328)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:221)
         at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2072)
    |#]When I remove my custom channel the desktop renders normally.
    As I mentioned before, the war created with 7 did not cause this and the application behaved normally.
    Any insight would be appreciated.
    I am going to look at the diff between the two wars.
    Thanks,
    Allan

    I have the same problem, how do yuo resolve that?
    Edited by: 864937 on Jun 9, 2011 1:43 PM

Maybe you are looking for

  • Home Sharing - Can See Computer on Apple TV but Cannot Browse

    I have a Macbook Air (2011) and Apple TV (2nd generation) and I have successfully set up home sharing. I have the ability to select the Apple TV from iTunes on my Macbook Air and use it to play music/movies. However, when trying to browse the compute

  • Multi-selection of parameters in concurrent program

    Hello, I have a requirement wherein I should be able to select multiple employee numbers from employee_number parameter and the report should run for the selected employees. Please let me know how this can be achieved. Note:- I am making the concurre

  • Invoking Java classes from Forms

    We are running an AIX Forms server, and we would like to be able to execute a java class with two command-line parameters (ex. "java myClass.class param1 param2"). Is the "java" run-time executable available on AIX? I'm assuming it would be part of t

  • No sound in right ear with Sony MDR-NC31E bundled headphones

    Hi, I bought the phone with bundled noise cancelling headphones and they worked flawlessly. Since then I've applied 2 updates from Sony and when I went to use my noise cancelling headphones after not really using them (I usually prefer my Sennheisers

  • Wanted to create a directory- but insufficient privilage

    My SQL Query: create or replace directory <dir_name> as '<PATH of my file in my local machine>' I could not successfully execute the above statement in oracle application express as i said "insufficient privilage"/ I wanted to create a directory path