Win JDeveloper war file to oc4j instance on solaris??

Hi,
I have been trying to get a war file that I deployed on JDeveloper (windows release candidate) set up on my solaris oc4j( version 2 dev release). I read on this forum these directions:
"Right click on the myproject.jpr in the JDev navigator and select 'new...', go to Deployment Profiles and select J2EE Web Module (WAR File) - a general screen will pop up asking you to save the deployment profile (you can just use the default if you want). Once you select OK on that, you will get a screen that calls itself the J2EE Web Module Deployment Profile Settings. This is the screen that you can use to enter your information.
Your servlet and javabean classes will go into WEB-INF/classes subdirectory that you see to your left in this window. Simply select the WEB-INF/classes entry and it will display a list of your java sources (it will only place the compiled output in this directory - there is a toggle for it).
Once you have specified that your javabean and servlet classes go in this directory, you should be set. Go ahead and save / close. In your navigation screen under your project (myproject.jpr or whatever your project name is) you will see your files, jsps, etc and something called webapp1.deploy (if you accepted the default). If you right-click on that, you will get a menu that asks a number of things, one of which is to Deploy to EAR file. Select that entry and it will create an ear file for you. You can play with the various settings to change the name of the ear file, but that's about all you have to do. Once this is completed, you can put the EAR file on your linux box or wherever you want, adjust your server.xml and default-web-app.xml files and launch the app!
EXCEPT...I did not deploy to EAR ; I deployed to war and then I just modified two config files (under j2ee/home/config)
application.xml
<web-module id="notesWar" path="../../home/applications/notesWar.war" />
and default-web-app.xml
<web-module id="notesWar" path="../../home/applications/notesWar.war" />
This seems to work , but when I set up my project in JDeveloper, I specified a target file to run, and within JDeveloper it includes the directory not just the file (which is a windows directory) so I am thinking that when I try to deploy on unix, it doesn't know what target file to run bc it can't find it, but I don't know that that information is even included in the war file... is there somewhere else you specify when you are deploying the war file which html, jsp, etc. needs to be run first. By the way, when I launch the application on the solaris oc4j via war deployment, it goes to the first html file listed in the war (I need it to go the second html file first).

Hi,
I am sorry; I mistyped....
I already configured default-web-site.xml with the above values.
The war file will run on the solaris oc4j instance, but it just
runs the wrong initial html. I need a login to be the target
page, but I don't know how to specify that for my particular
situation.
If I run the application within JDeveloper on Windows
without a war file, it works. I run like this...
Right click on the (.jpr) project file and run...it will go to the
correct run target bc I have specified within the project
settings, the default run target, but when i try to run as a war,
it does not go to the correct run target so I need to know how to
specify a default run target for a war file. I did create the
war after I specified the default run target.
Thank you!

Similar Messages

  • Pre-Compiling JSPs while deploying a .war file in OC4J instance

    Hi,
    Is there any way to inform the OC4J instance to pre-compile the jsps in a .war file, while deploying..
    Thanks for your responses,
    Eshwar

    Click on the project.
    Open the context menu (right mouse button).
    Expand the General item in the left list.
    Select the Deployment Profiles item.
    Select the deployment profile you need from the right.
    Follow the wizard.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Deploy a war file in oc4j

    hy guys
    i have a problem with my a *.war file. in tomcat the xplanner.war file works fine and the xplanner-application is ok and i can use it. but when i use the same xplanner.war file in oc4j i always get in the browser the message "500 Internal Server Error" although the file was loaded successful.
    is there something to consider in the oc4j setup?
    have anybody an idea about this problem?

    i tried all possibilities.
    war file: manually (by altering the xml files) and with the admin tool.
    ear file: manually and admin tool.
    i always get the this message (browser). though the file application loads successfully. it must be a setup problem i think.
    500 Internal Server Error
    org.apache.commons.dbcp.DbcpException: java.sql.SQLException: E/A-Exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=12500)(ERROR_STACK=(ERROR=(CODE=12500)(EMFI=4))(ERROR=(CODE=12560)(EMFI=4))(ERROR=(CODE=530)(EMFI=4))(ERROR=(BUF='32-bit Windows Error: 2: No such file or directory'))))
         at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:101)
         at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:184)
         at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:722)
         at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:108)
         at cirrus.hibernate.connection.DBCPConnectionProvider.getConnection(DBCPConnectionProvider.java:39)
         at cirrus.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:149)
         at cirrus.hibernate.impl.DatastoreImpl.buildSessionFactory(DatastoreImpl.java:380)
         at cirrus.hibernate.impl.DatastoreImpl.buildSessionFactory(DatastoreImpl.java:369)
         at com.technoetic.xplanner.actions.XPlannerInitializationPlugin.initializeHibernate(XPlannerInitializationPlugin.java:86)
         at com.technoetic.xplanner.actions.XPlannerInitializationPlugin.init(XPlannerInitializationPlugin.java:36)
         at com.technoetic.xplanner.actions.XPlannerInitializationPlugin.init(XPlannerInitializationPlugin.java:29)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1956)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4355)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2484)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Unknown Source)

  • Problem in deploying WAR file into OC4J

    I have tried deploying a .war file into oc4j (orion) application server using - Deploying Upon OC4J Server Startup option
    I have placed the intelliview.war into /applications directory
    modified server.xml & web-site.xml
    server.xml added
    <application name="intelliview" path="../applications/iviewserver.war" auto-start="true" />
    web-site.xml added
    <web-app application="intelliview" name="iviewserver" root="/iviewserver" />
    Here is the error message,
    Error instantiating application at file ....applications/intelliview.war
    Unable to read/find assembly info (META-INF/application.xml)
    Any idea?
    Thanks

    Following are the steps involved in deploying a WAR file in Oc4j.
    1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
    copy mywar.war D:\oc4j\j2ee\home\applications
    2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
    and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
    line:
    <web-module id="mywar" path="../applications/mywar.war" />
    3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config
    directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
    <web-app application="default" name="mywar" root="/mywar" />
    Hope this helps
    -Debu Panda
    Oracle

  • Deploying War File in OC4J

    Hi,
    I am a new bee to OC4J. I tried to deploy a war file OC4J server, which comes along with Jdeveloper release 10.1.3.
    Steps which I followed.
    1. Copied the war file to <10g-Jdev>\j2ee\home\applications\
    2. added <web-app application="testapp" name="testapp" root="/testapp" access-log="false"/> in <10g-Jdev>\j2ee\home\config\default-web-site.xml
    3. added <application name="testapp" path="../../home/applications/tesapp.war" parent="system" start="true" /> in <10g-Jdev>\j2ee\home\config\server.xml
    4. started the 0c4j using <10g-Jdev>\jdk\start_oc4j.bat
    I got following log
    Starting OC4J with command: "..\..\jdk\bin\java.exe" -jar oc4j.jar
    06/02/15 14:53:13 [SEVERE]: Error instantiating application at file:/X:/10g/j2ee/home/applications/webapp1.war: Unable to get ApplicationConfig for testapp : Unable to find/read file META-INF/application.xml in X:\10g\j2ee\home\applications\webapp1.war archive (META-INF/application.xml)
    2006-02-15 14:53:32.609 NOTIFICATION JMS Router is initiating ...
    2006-02-15 14:53:35.906 ERROR J2EE HTTP0004 Internal error raised tyring to instantiate web-application: testapp defined in web site OC4J 10g (10.1.3) Default Web Site. Application: testapp does not exist. Error creating Web application: testapp
    06/02/15 14:53:35 Oracle Containers for J2EE 10g (10.1.3.0.0) initialized
    06/02/15 14:58:03 Shutting down...
    Can anyone explain me wat should i do for deploying successfully.
    Thanks,
    Siva

    Hello,
    As a word of caution I would strongly recommend that you use proper deploy techniques when deploying WAR/EARs to OC4J (or any J2EE container). You should not be copying files into the applications directory and modifying xml files (even though it might be neccessary at times).
    Please try to follow good J2EE techiniques and write ANT scripts or batch files to do your deployment, its easy to do and reusable. Please also review the deployment guide to familiarise yourself with OC4J deployment tools.
    Thanks,
    Deepak

  • Deploy war file in oc4j 11110 preview

    hi
    i created a simple project in jdev11.
    with the help of the reply i got from the previous post i created a WAR file of the project.
    Now im trying to deploy it using oc4j 11110 preview stand alone server.
    the steps i followed are.
    1. using the command oc4j -start, i could start the server and i got the Welcome page.
    2. with the help of the link http://www.oracle.com/technology/products/jdev/tips/muench/oc4j11gtp/index.html
    i installed the adf runtime libraries as it is said in the link and also made necessary changes in the server.xml file
    3. Then created a website as said in the in the form <websitename>-web-site.xml (like default-web-site.xml)and said its path in server.xml file
    4. then i deployied the war file in command prompt according to the command said in Read me file in the oc4j 11110 preview.and the message was shown in the command prompt that the application was deployed successfully
    5. i started the application. and the message was shown in the command prompt that the application was started successfully
    6. then restarted the oc4j server
    now the problem is that im not getting the page.its showing 404 page not found error in the browser.
    but there is no error show in the log file or in the command prompt.
    Can anyone help me with this.
    i tried deploying a war created using eclipse in the same way which is uising jdev10 components.and i could it and run it successfully.
    plz help me

    I've one question about this. I do all above things without problems and my application runs in remote machine well. But some compilation errors apears in server log, and I think that perhaps is because I can't found the following libraries:
    copy %JDEVHOME%\bc4j\lib\bc4j-svc-client.jar %OC4JHOME%\BC4J\lib
    copy %JDEVHOME%\bc4j\lib\bc4j-svc-share.jar %OC4JHOME%\BC4J\lib
    copy %JDEVHOME%\bc4j\lib\bc4j-svc.jar %OC4JHOME%\BC4J\lib
    copy %JDEVHOME%\BC4J\lib\bc4jwizard.jar %OC4JHOME%\BC4J\lib
    copy %JDEVHOME%\BC4J\lib\mod-bc4jimdomains.jar %OC4JHOME%\BC4J\lib
    copy %JDEVHOME%\BC4J\lib\adfrcutils.jar %OC4JHOME%\BC4J\lib
    copy %JDEVHOME%\BC4J\lib\connmbean.jar %OC4JHOME%\BC4J\lib
    And I can't copy this libraries to server. Anyone know where I can found it?
    Thanks
    Westh

  • Problem in Deploying war file in oc4j

    I have developed an application using struts and packaged in war file. It runs ok in tomcat server. I want to deploy it in embedded oc4j server of E-Business Suite. Please give me directions................

    AFAIK, EBS 11.5.10 doesn't come with OC4J. It uses Apache Jserv which is Servlet 2.0 and with a special JSP engine. This doesn't support J2EE WAR files. It might support Struts but I'd not bet on that.
    Having said that, you need to get an OC4J standalone version installed (minimum) and started by the standard EBS startup scripts.
    Once this is done and if your WAR is self-contained, ie contains all the libraries, it is quite easy. Just deploy it using the command-line tools (all versions) or the web admin interface of OC4J (from 10.1.3).
    Only thing you have to change is the URL in the OAF page to point to the right server...
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to run war file using oc4j

    hi to all..
    i'm new to oc4j .. i used to work on tomcat..
    i deployed the war file and all i have to do is to run the app. but i guess oc4j has different way in this ..
    you may say google for it, or read the oc4j tutorial i read it before but i just can't understand it..
    somebody pls can expalin the way simply...

    as i understood from the site:
    that there's three enviorment variables to be created :
    JAVA_HOME, ORACLE_HOME, (web-app-name)_HOME
    i created them, and started oc4j container correctly...
    after that i understand that i should go the explorer and reach the app at its root and the index.html will work (or the sat welcome-file page)
    and i'm trying that but it's just not working...
    the next error is appearing ...
    2007-07-26 11:28:23.453 NOTIFICATION  J2EE JSP-0008 Unable to dispatch JSP Page
    : Exception:oracle.jsp.parse.JspParseException: /Timing/timesheetmain.js
    p: Line # 4, <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    Error: "http://java.sun.com/jsf/html" is not a registered TLD namespace.am really confused and i need to work it today, my manager wants the project tomorrow..

  • Deploying WAR file into OC4J 9.0.3 (IAS)

    Hello,
    I try to deploy my WAR file using following command:
    dcmctl redeployApplication -v -d -f myWAR.war -a myApp -rc /test/myApp -co test
    When the deployment is finished I check default-web-site.xml for the "test" component and I a new line there:
    &lt;web-app application="myApp" name="myApp" root="/test/myApp"/&gt;
    But in the documentation I found that the "name" attribute of the "web-app" tag should contain the name of the WAR file. It is a problem because when I try to deploy another WAR file using the same application name it overwrites "&lt;web-app&gt;" tag. In principal, can I deploy several WAR files using the same application name?
    Thanks in advance,
    Iouri.

    Please look at the following thread in this forum that describes the steps : Re: Query takes large time to execute
    regards
    Debu panda
    Oracle

  • Installing a WAR file into oc4j.9.0.3

    After finding an article on this(http://technet.oracle.com/products/ias/daily/sept12.html), I edited the following 2 xml files to try it:
    1. added a web-module element into the config/application.xml file.
    2. added a web-app element into the config/http-web-site.xml file.
    However I get the following error in my browser on going to the url of the web app.
    "Error instantiating web-application
    No application named 'mywebapp' found in the server".
    So what am I missing here? the docs either show how to deploy an ear file or refer to "Enterprise Manager" which is part of the full 9iAS.
    any help appreciated,
    cheers,
    Pak

    Please look at the following thread in this forum that describes the steps : Re: Query takes large time to execute
    regards
    Debu panda
    Oracle

  • Unable to Deploy war file in 6.1/sp1/solaris

    We are using wl 6.1/sp1 solaris. What I can gather is when the server trying to
    parse the dtd for weblogic.xml..for some reason it does not find the local copy
    of th e dtd? any clues how I can fix this. Any help is appreciated.
    java.net.ConnectException: Tried all: '1' addresses, but could not connect over
    HTTP to server: 'www.bea.com', port: '80'
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:203)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:254)
    at weblogic.net.http.HttpClient.<init>(HttpClient.java:117)
    at weblogic.net.http.HttpClient.New(HttpClient.java:149)
    at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:10
    9)
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.
    java:279)
    at java.net.URL.openStream(URL.java:798)
    at weblogic.apache.xerces.readers.DefaultReaderFactory.createReader(Defa
    ultReaderFactory.java:149)
    at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromE
    xternalEntity(DefaultEntityHandler.java:769)
    at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromE
    xternalSubset(DefaultEntityHandler.java:566)
    at weblogic.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTD
    Scanner.java:1139)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(X
    MLDocumentScanner.java:2215)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocum
    entScanner.java:2170)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher
    .dispatch(XMLDocumentScanner.java:790)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
    mentScanner.java:381)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
    at weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilder
    Impl.java:175)
    @xp.DocumentBuilderImpl.parse(DocumentBuilder
    Impl.java:175)
    TIA
    Srinivas

    We are using wl 6.1/sp1 solaris. What I can gather is when the server trying to
    parse the dtd for weblogic.xml..for some reason it does not find the local copy
    of th e dtd? any clues how I can fix this. Any help is appreciated.
    java.net.ConnectException: Tried all: '1' addresses, but could not connect over
    HTTP to server: 'www.bea.com', port: '80'
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:203)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:254)
    at weblogic.net.http.HttpClient.<init>(HttpClient.java:117)
    at weblogic.net.http.HttpClient.New(HttpClient.java:149)
    at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:10
    9)
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.
    java:279)
    at java.net.URL.openStream(URL.java:798)
    at weblogic.apache.xerces.readers.DefaultReaderFactory.createReader(Defa
    ultReaderFactory.java:149)
    at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromE
    xternalEntity(DefaultEntityHandler.java:769)
    at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromE
    xternalSubset(DefaultEntityHandler.java:566)
    at weblogic.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTD
    Scanner.java:1139)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(X
    MLDocumentScanner.java:2215)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocum
    entScanner.java:2170)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher
    .dispatch(XMLDocumentScanner.java:790)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
    mentScanner.java:381)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
    at weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilder
    Impl.java:175)
    @xp.DocumentBuilderImpl.parse(DocumentBuilder
    Impl.java:175)
    TIA
    Srinivas

  • Oc4j instance deployment failed

    hello
    i create new oc4j instance and enable the ssl on oc4j instance.i try to deploy the .ear and .war files on oc4j instance . i am getting this error.
    Deployment failed: See base exception for details.
    Resolution:
    See base exception for details.
    Base Exception:
    Unknown web-site default-web-site, for OC4J instance ormi://localhost:12402
    Resolution:
    . Base Exception:
    Unknown web-site default-web-site, for OC4J instance ormi://localhost:12402
    Resolution:

    Hi ,
    I am getting below exception, while deploying my EJB in oc4j 10.1.2, after enabling SSL
    Deployment failed: Base Exception:
    Changing value to OFF for Attribute KeepAlive, Entity et="system";ei="0",et="ApacheMainServer";ei="11" resulted in a constraint violation.Base Exception:
    The value OFF must match with one of the values from the list: [On,Off].
    Resolution:
    User must supply a value which matches one of the possible predefined values..
    Resolution:
    Please make sure that new value passes all the constraints defined
    Please help to resolve. Previously i didnt get this error when SSL is not enabled

  • Deploy .war file directly to OC4J

    is it possible to deploy a .war file directly with having to create a .ear file

    The command line deployment requires an EAR file; so you can just
    package the WAR in a EAR. However you can do the following to deploy an WAR file:
    Following are the steps involved in deploying a WAR file in Oc4j.
    1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
    copy mywar.war D:\oc4j\j2ee\home\applications
    2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
    and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
    line:
    <web-module id="mywar" path="../applications/mywar.war" />
    3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config
    directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
    <web-app application="default" name="mywar" root="/mywar" />
    great that works
    but with the OC4J developer preview you have to modify http-web-site.xml
    as opposed to default-web-site.xml
    (guess they changed the name of the file in the newer release)

  • Problem in deploying war file in weblogic application server 10

    Hi
              Thank you for reading my post.
              We are trying to deploy our application into weblogic but problem is that weblogic return an error like following one when we try to deploy the application.
              I should tell you that the following log was shown in a not well formatted way and i format it manually.
                        [HTTP:101216]Servlet: "com.wira.webservices.int.Wsti" failed to preload on startup in Web application: "wira.war". class:
              com.wira.webservices.int.jaxws.RequestResponse could not be found at
              com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272) at
              com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566) at
              com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513) at
              com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358) at
              com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245) at
              com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229) at
              com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315) at
              weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125) at
              weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64) at
              javax.servlet.GenericServlet.init(GenericServlet.java:241) at
              weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282) at
              weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at
              weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source) at
              weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63) 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:504) at
              weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830) at
              weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807) at
              weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727) at
              weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890) at
              weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948) at
               weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353) at
              weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at
              weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) 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:26)
                        I should say you that we do not have a package and class like: com.wira.webservices.bpel.jaxws.RequestResponse and it looks like WLS is mistaken about this.
              Indeed this application works fine on Sun java application server 9 (java ee 5 certified). Can you please tell me why does it happens?
              here is source code of Wsti class
                        @WebService()
              public class Wsti {
                  @WebMethod(operationName="requestResponse")
                  public String requestResponse(@WebParam(name="request") String request) {
                      return ReflectionManager.call(WstiImp.class, request);
                                            for reflection we used standard JDK reflection stuff.
              and that call method call a method identified in request from WstiImp class.
              Thanks

    Following are the steps involved in deploying a WAR file in Oc4j.
    1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
    copy mywar.war D:\oc4j\j2ee\home\applications
    2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
    and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
    line:
    <web-module id="mywar" path="../applications/mywar.war" />
    3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config
    directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
    <web-app application="default" name="mywar" root="/mywar" />
    Hope this helps
    -Debu Panda
    Oracle

  • [b]problem with deploy .war file

    Hi
    I am trying to deploy a war file. I have Oracle 9iAS (release 2) in Sun Solaris server.
    I am using the enterprise manager gui to try to deploy a .war file as follows.
    My .war file has the structure: folder META-INF, folder WEB-INF, and other folders. THe folder
    WEB-INF has the file web.xml and the folder classes.
    I connect to enterprise manager at port 1810 and go to the OC4J home page and under
    deployed applications, I choose under applications "Deploy WAR file". It takes me to the next page
    where I enter the war file (pippo.war)
    Application Name: pippo
    Map to URL: /pippo
    THe only choice I have then is to click the Deploy button. I then get the response
    "Failed to deploy web application "pippo". Jar file: /var/tmp/jar29056.tmp is missing its standard xml descriptor located at WEB-INF/web.xml"
    In that path there is not that file, there are 2 folders, one with the file .war and one with the file .ear
    I have no idea what this error message means.
    The documentation for deploying servlets in 9ias using enterprise manager makes no mention of this.
    Thanks,
    Marcella

    Marcella,
    Are you using Oracle9iAS 9.0.3 ?
    Does this happen with any war file ?
    Are you able to deploy a ear file without problems ?
    Can you please test if you can deploy your war in a
    OC4J standalone environment ? steps from the general faq available at http://otn.oracle.com/tech/java/oc4j
    How can I deploy a WAR file to OC4J standalone ?
    The command line deployment tool (admin.jar) requires an EAR file as it's deployment archive. To deploy a WAR file using this, you must package the WAR file within a EAR file.
    You can manually deploy a WAR file to OC4J However following are the steps involved in deploying a WAR file in OC4J.
    1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
    copy mywar.war D:\oc4j\j2ee\home\applications
    2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
    and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
    line:
    <web-module id="mywar" path="../applications/mywar.war" />
    3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
    <web-app application="default" name="mywar" root="/mywar" />
    In Oracle9iAS Release 2; deployment of applications is done either using EM or via the DCM commands.
    thanks,
    -Prasad

Maybe you are looking for

  • Macbook pro wont open links

    Hi all, i have a macbook pro and just recently it has stopped opening links. Although its not all things, for example, i cant click and open anything from google unless i right click and open in a new tab. I click on the link and nothing happens, its

  • Changing ID3 tags in iTunes with Automator

    I have a huge load of music, which are all named "Artist - Track". I want to edit out the Artist from the track name, and fill it in in the Artist tag with an Automator script. I have a program that does this in Finder, but can't find anything to do

  • Default Presets are missing in Lightroom 5

    Hi! I accidentally deleted all my presets in Lightroom 5. Try to uninstall and install the application again but the presets are still not there. What should I do to bring all the presets back? Currently, I can't even add in more presets. HELP!! Than

  • "error building executble. unable to create file."

    Hello! When I try to run or Build an Pocket PC application i get thes message: "error building executble. unable to create file." I have installed: LAbview 8 Microsoft embedded visual c++ 4.0 Microsoft Pocket PC SDK PDA Module 8 Does anyone have a cl

  • Cmd-esc undesirabley launches Front Row?

    Hi I have LiteSwitch installed (www.proteron.com/liteswitchx). According to its documentation, hitting esc while toggling through the apps (with CMD-TAB) would exit it without switching to the selected app. However, on my machine, hitting esc (while