Deploy war app with correct default context root

Hi
Am using Weblogic 9.2 Appserver.
When I deploy a war file, I see that the war is exploded in ...domains/domain1/servers/<server-name>/tmp/_WL_user/<application-name>/<random-string>/war/.
I would like that when I deploy the war app, WL pick up the context root from the name of the webarchive.
At present this is not happening, and WL uses as default context root the name of the folder that holds the contents of the exploded archive.
This is the case, even when I go with the no staging option, i.e. specify that the source not be copied and will be available from a specific location. WL still explodes the archive in the above-mentioned dir, and uses "war" as the default context.
How can I get around this ?

I'm closing this post.
What I really wanted to ask is at http://forums.bea.com/bea/thread.jspa?forumID=2017&threadID=400004071 .

Similar Messages

  • Can I specify both /app and /apptest as context roots for my app?

    Greetings everyone.
    I want requests for both http://host/app/stuff and http://host/apptest/stuff to be handled by the same application.
    I don't want to make the application context root the domain root.
    Can I specify both /app and /apptest as context roots for the app in its sun-web.xml file or somewhere somehow?
    Is this an app server specific thing?
    Thanks,
    Bishop

    Sorry this was maybe the wrong forum for this.
    I reposted on http://forums.java.net/jive/thread.jspa?threadID=63818
    That thread has some more responses.

  • Deploying Phone Apps with our employees

    Dear all, first of all, I am quiet new. I've developed a internal news application just for our company employees. However, I am having trouble with deploying this app with our employees' phones. This app must be installed by only our employees' Windows
    phones. How can I handle this? Also, we have System Center Configuration Manager(SCCM). Thanks in advance..
    Omnipotent

    You need to create private store in you organization, and enroll device with your MDM server.
    Please check this link: Developing Company hub application.
    -RomeshDB

  • DEPLOY WAR APP

    hi people, i know this should be the n+1 time this question is posted here, i have read all post before and follow their instructions to have a Tomcat 6 working with a very simple adf components. the error i get is Tomcat cant deploy that app. this is how tomcat is configured:
    inside lib dir:
    1116 adf-controller-api.jar
    132 adf-controller.jar
    500 adf-controller-rt-common.jar
    4 adf-controller-security.jar
    668 adf-faces-databinding-rt.jar
    32 adflibfilter.jar
    8 adflogginghandler.jar
    7576 adfm.jar
    44 adfmweb.jar
    16 adf-pageflow-dtrt.jar
    216 adf-pageflow-fwk.jar
    340 adf-pageflow-impl.jar
    44 adf-pageflow-rc.jar
    1568 adf-richclient-api-11.jar
    7320 adf-richclient-impl-11.jar
    316 adf-share-base.jar
    648 adf-share-ca.jar
    3004 adfsharembean.jar
    16 adf-share-security.jar
    268 adf-share-support.jar
    16 annotations-api.jar
    1944 cache.jar
    56 catalina-ant.jar
    128 catalina-ha.jar
    1160 catalina.jar
    232 catalina-tribes.jar
    112 commons-el.jar
    56 db-ca.jar
    1544 dms.jar
    492 dvt-databindings.jar
    128 dvt-facesbindings.jar
    3420 dvt-faces.jar
    6368 dvt-jclient.jar
    1244 dvt-trinidad.jar
    1268 dvt-utils.jar
    32 el-api.jar
    608 fmw_audit.jar
    808 glassfish.jsf_1.2.9.0.jar
    368 glassfish.jstl_1.2.0.1.jar
    344 identitystore.jar
    368 inspect4.jar
    108 jasper-el.jar
    516 jasper.jar
    1376 jasper-jdt.jar
    2512 javatools-nodeps.jar
    64 javax.activation_1.1.0.0_1-1.jar
    352 javax.jsf_1.2.0.1.jar
    16 javax.management.j2ee_1.0.jar
    12 javax.transaction_1.0.0.0_1-1.jar
    3004 jewt4.jar
    364 jmxframework.jar
    612 jmxspi.jar
    444 jps-api.jar
    648 jps-common.jar
    24 jps-ee.jar
    1644 jps-internal.jar
    112 jps-unsupported-api.jar
    72 jrf-api.jar
    332 jsf-api.jar
    776 jsf-ri.jar
    76 jsp-api.jar
    24 jstl.jar
    5488 mdsrt.jar
    2476 ojdbc6dms.jar
    1948 ojdbc6.jar
    4 oracle-el.jar
    216 oraclepki.jar
    168 org.apache.commons.beanutils_1.6.jar
    144 org.apache.commons.digester_1.8.jar
    40 org.apache.commons.logging_1.0.4.jar
    168 osdt_cert.jar
    256 osdt_core.jar
    88 servlet-api.jar
    56 share.jar
    388 standard.jar
    744 tomcat-coyote.jar
    228 tomcat-dbcp.jar
    72 tomcat-i18n-es.jar
    52 tomcat-i18n-fr.jar
    56 tomcat-i18n-ja.jar
    0 tree.txt
    1224 trinidad-api.jar
    4220 trinidad-impl.jar
    1244 wls-api.jar
    4 wls.jsf.di.jar
    1196 xercesImpl.jar
    752 xmlef.jar
    1412 xmlparserv2.jar
    i am deploying the app directly from jDeveloper the same way shay does in a video tutorial i have found. it looks like everything goes fine:
    [02:47:09 PM] ---- Deployment started. ----
    [02:47:09 PM] Target platform is (Tomcat 6.x).
    [02:47:09 PM] Running dependency analysis...
    [02:47:09 PM] Building...
    [02:47:16 PM] Deploying profile...
    [02:47:17 PM] Wrote Web Application Module to /home/isanchez/jdeveloper/MyGecu/View/deploy/GeCUweb.war
    [02:47:18 PM] Wrote Enterprise Application Module to /home/isanchez/jdeveloper/MyGecu/View/deploy/GeCUweb.ear
    [02:47:18 PM] Copied /home/isanchez/jdeveloper/MyGecu/View/deploy/GeCUweb.war to /usr/share/Tomcat6a/webapps
    [02:47:18 PM] Elapsed time for deployment: 9 seconds
    [02:47:18 PM] ---- Deployment finished. ----
    the application is very simple. it only shows a login.jsp page with adf components, and it would be really nice this applications should be working like this. I have finished a full application using ADF with jDeveloper and I only need this final step.
    this is how the app is configured by the developer:
    WEB-INF/web.xml:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <web-app 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"
    version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
    <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
    <param-value>false</param-value>
    </context-param>
    <context-param>
    <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
    <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
    <param-value>false</param-value>
    </context-param>
    <filter>
    <filter-name>JpsFilter</filter-name>
    <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
    <init-param>
    <param-name>enable.anonymous</param-name>
    <param-value>true</param-value>
    </init-param>
    </filter>
    <filter>
    <filter-name>trinidad</filter-name>
    <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>JpsFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>trinidad</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </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>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>BIGRAPHSERVLET</servlet-name>
    <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>BIGAUGESERVLET</servlet-name>
    <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.gauge.GaugeServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>MapProxyServlet</servlet-name>
    <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.geoMap.servlet.MapProxyServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>GatewayServlet</servlet-name>
    <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet</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>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/afr/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>BIGRAPHSERVLET</servlet-name>
    <url-pattern>/servlet/GraphServlet/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>BIGAUGESERVLET</servlet-name>
    <url-pattern>/servlet/GaugeServlet/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>MapProxyServlet</servlet-name>
    <url-pattern>/mapproxy/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/bi/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>GatewayServlet</servlet-name>
    <url-pattern>/flashbridge/*</url-pattern>
    </servlet-mapping>
    </web-app>
    WEB-INF/trinidad-config.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
    <skin-family>fusion</skin-family>
    </trinidad-config>
    and WEB-INF/faces-config.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
    <application>
    <default-render-kit-id>oracle.adf.rich</default-render-kit-id>
    <locale-config>
    <default-locale>es</default-locale>
    <supported-locale>es</supported-locale>
    </locale-config>
    </application>
    <managed-bean>
    <managed-bean-name>SelectedApp</managed-bean-name>
    <managed-bean-class>gecu.view.SelectedApp</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>DatabaseQueryBean</managed-bean-name>
    <managed-bean-class>gecu.view.DatabaseQueryBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>ClavesQueryBean</managed-bean-name>
    <managed-bean-class>gecu.view.ClavesQueryBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>LoginBean</managed-bean-name>
    <managed-bean-class>gecu.view.LoginBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>usuario</property-name>
    <property-class>java.lang.String</property-class>
    <value></value>
    </managed-property>
    <managed-property>
    <property-name>password</property-name>
    <property-class>java.lang.String</property-class>
    <value></value>
    </managed-property>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/login.jsp</from-view-id>
    <navigation-case>
    <from-outcome>failure</from-outcome>
    <to-view-id>/login.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/core/select.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>logout</from-outcome>
    <to-view-id>/logout.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/core/main.jsp</from-view-id>
    <navigation-case>
    <from-outcome>done</from-outcome>
    <to-view-id>/core/main.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>logout</from-outcome>
    <to-view-id>/logout.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>select</from-outcome>
    <to-view-id>/core/select.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>filter</from-outcome>
    <to-view-id>/util/filters.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>export</from-outcome>
    <to-view-id>/util/exports.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>calc</from-outcome>
    <to-view-id>/util/calcs.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/core/select.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/core/main.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/util/filters.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/core/main.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/util/exports.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/core/main.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/util/calcs.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/core/main.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/index.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/login.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <managed-bean>
    <managed-bean-name>ControlSession</managed-bean-name>
    <managed-bean-class>gecu.model.ControlSession</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>backing_util_calcs</managed-bean-name>
    <managed-bean-class>gecu.view.Calcs</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1util/calcs.jsp-->
    </managed-bean>
    <managed-bean>
    <managed-bean-name>backing_util_exports</managed-bean-name>
    <managed-bean-class>gecu.view.Exports</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1util/exports.jsp-->
    </managed-bean>
    <managed-bean>
    <managed-bean-name>backing_util_filters</managed-bean-name>
    <managed-bean-class>gecu.view.Filters</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1util/filters.jsp-->
    </managed-bean>
    </faces-config>
    If someone has got really nicely configured the tomcat 6 running ADF components error free, it would be good if you can share it with us, i run out ideas and still got no answers.
    Really thanked for all help received.
    isy

    hi John,
    you are correct. I would like to ask you something else if I can, becouse programming these days is a matter of time, and you may know how much that cost to a company. Our other option, instead of working with Tomcat, it is an Oracle IAS server we have here, but I do not know if that is supported with ADF components. We need to deploy our recently made application from jDeveloper 11g, and we need to have the production server online next week to start working on.
    Something else I would like to comment, just to talk about, java is made for people, and it is really powerfull. Java enterprise web applications also, and it would be good, if you are developing with ADF, to be able to transport those applications to be used under different web servers. Just to make them "academical" and ease to learn. This last quote is just my own opinion as a java developer and learner on web development using powerfull jsf components like adf.
    sincerely
    Israel

  • Can't deploy j2ee app with EJBs

    Hi;
    I have installed Web Logic and have successfully deployed a servlet based app
    and a jsp based app. However, when I go to deploy an EJB based app (with servlets
    & JSPs too), I get the following error:
    ####<Apr 2, 2004 5:06:03 PM MST> <Notice> <Security> <belle> <myserver> <main>
    <<WLS Kernel>> <> <BEA-090082> <Security initializing using security realm myrealm.>
    ####<Apr 2, 2004 5:06:04 PM MST> <Notice> <WebLogicServer> <belle> <myserver>
    <main> <<WLS Kernel>> <> <BEA-000327> <Starting WebLogic Admin Server "myserver"
    for domain "mydomain">
    ####<Apr 2, 2004 5:06:11 PM MST> <Notice> <WebLogicServer> <belle> <myserver>
    <ListenThread.Default> <<WLS Kernel>> <> <BEA-000355> <Thread "ListenThread.Default"
    listening on port 7001, ip address *.*>
    ####<Apr 2, 2004 5:06:11 PM MST> <Notice> <WebLogicServer> <belle> <myserver>
    <main> <<WLS Kernel>> <> <BEA-000360> <Server started in RUNNING mode>
    ####<Apr 2, 2004 5:06:59 PM MST> <Warning> <Deployer> <belle> <myserver> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149004> <Failures
    were detected while initiating Deploy task for application store.>
    ####<Apr 2, 2004 5:06:59 PM MST> <Error> <Deployer> <belle> <myserver> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149201> <Failed
    to complete the deployment task with ID 0 for the application store.
    java.lang.ArrayIndexOutOfBoundsException: 6
         at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:222)
         at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:97)
         at weblogic.ejb20.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:802)
         at weblogic.ejb20.deployer.EJBModule.loadDescriptor(EJBModule.java:423)
         at weblogic.j2ee.J2EEApplicationContainer.loadDescriptors(J2EEApplicationContainer.java:1359)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1184)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    --------------- nested within: ------------------
    weblogic.management.ManagementException: - with nested exception:
    [java.lang.ArrayIndexOutOfBoundsException: 6]
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2523)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    any ideas?
    thanks - dave

    Hi;
    I have installed Web Logic and have successfully deployed a servlet based app
    and a jsp based app. However, when I go to deploy an EJB based app (with servlets
    & JSPs too), I get the following error:
    ####<Apr 2, 2004 5:06:03 PM MST> <Notice> <Security> <belle> <myserver> <main>
    <<WLS Kernel>> <> <BEA-090082> <Security initializing using security realm myrealm.>
    ####<Apr 2, 2004 5:06:04 PM MST> <Notice> <WebLogicServer> <belle> <myserver>
    <main> <<WLS Kernel>> <> <BEA-000327> <Starting WebLogic Admin Server "myserver"
    for domain "mydomain">
    ####<Apr 2, 2004 5:06:11 PM MST> <Notice> <WebLogicServer> <belle> <myserver>
    <ListenThread.Default> <<WLS Kernel>> <> <BEA-000355> <Thread "ListenThread.Default"
    listening on port 7001, ip address *.*>
    ####<Apr 2, 2004 5:06:11 PM MST> <Notice> <WebLogicServer> <belle> <myserver>
    <main> <<WLS Kernel>> <> <BEA-000360> <Server started in RUNNING mode>
    ####<Apr 2, 2004 5:06:59 PM MST> <Warning> <Deployer> <belle> <myserver> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149004> <Failures
    were detected while initiating Deploy task for application store.>
    ####<Apr 2, 2004 5:06:59 PM MST> <Error> <Deployer> <belle> <myserver> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149201> <Failed
    to complete the deployment task with ID 0 for the application store.
    java.lang.ArrayIndexOutOfBoundsException: 6
         at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:222)
         at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:97)
         at weblogic.ejb20.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:802)
         at weblogic.ejb20.deployer.EJBModule.loadDescriptor(EJBModule.java:423)
         at weblogic.j2ee.J2EEApplicationContainer.loadDescriptors(J2EEApplicationContainer.java:1359)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1184)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    --------------- nested within: ------------------
    weblogic.management.ManagementException: - with nested exception:
    [java.lang.ArrayIndexOutOfBoundsException: 6]
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2523)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    any ideas?
    thanks - dave

  • Deploying an app with JavaDB

    Hi there,
    Ive gone through a tutorial on using JavaDB/Derby and ive been able to install JavaDB and create a basic app that uses a db. My question, is how do you deploy the app onto computers that dont have JavaDB? I know it will uses embedded JavaDB but how exactly do I do that on a computer that doesn't have it installed?
    I cant seem to find any tutorials covering that. The only ones ive found show examples where JavaDB is installed. I thought the point of embedding it was that you could distribute your app standalone?
    Thanks.

    RisseN wrote:
    Hi,
    So just to make sure I understand you correctly, I will have to package the JavaDB/Derby installer with my application?Thought I made it clear, JavaDB is not the same as Derby.
    You can't install JavaDB - it is part of the Sun 1.6.
    So if and only if you use Derby then you can either put it in your installer or make it a requirement for your installer.
    So if and only if you use JavaDB then you can either put 1.6 in your installer or make it a requirement for your installer.
    >
    When I installed JavaDB on my machine, I had to set the DERBY_INSTALL variable and set embedded mode by setting the classpath. Now how does all of that get done if im distributing my app to users who just want to click on an install button and then be ready to use the app? I dont want them having to do all of that.Installation questions are based on what you are using for an installer. And they don't need to be specific to the rest of your question.
    But if you install something then you must install it completely such that your application will use it correctly. Or provide the user with manual instructions on how to do that themselves.

  • How to deploy .war file with Spring 2.5/Hibernate 3 into WebLogic 10.3.6

    Hey everyone,
    I tried to deploy a .war file, which is written in Spring 2.5/Hibernate 3/J2EE 1.4, into WebLogic 10.3.6. Failed.
    following are steps I did:
    install the war file via Install Application Assistant of webLogic console
    1. select .war file
    2. select Install this deployment as an application
    3. select a Server (WLS_easement)
    4. follow default steps
    5 ...
    6. click Finish button
    7. go back to Deployments, State of the .war is Distribute Initializing
    8. click Active Changes button.
    9. state is changed to Prepared
    10. select the Deployment, select Start -> Servicing all requests
    11. got Failed state
    12, then I check WLS_easement.out
    ...org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed...
    13. in /WEB-INF/applicationContext.xml,
    <bean id="springSessionFactory"
      class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
      <property name="configLocation">
       <value>classpath:hibernate.cfg.xml</value>
      </property>
    </bean>
    so looks like WebLogic has trouble to connect Hibernate 3? is there specific .jar required?
    Can somebody shed a light on this or any input you may have?
    Thanks in advance,
    Feng

    Please attach the error log to this thread
    Also did you package hibernate libraries within the application?  or added to classpath explicitly for server classloader to load it?
    Please check and revert back.
    Thanks,
    Vijaya

  • Can't deploy web app with resource: New source location

              I can't deploy a web app (.war) if I already have a resource (.rar) deployed, weblogic
              7.0 reports
              weblogic.management.ManagementException: New source location, C:\projects\j2ee\dev\ra\dist\rware.war,
              cannot be deployed to configured application, rware. Application source is at
              C:\projects\j2ee\dev\ra\dist.
                   at weblogic.management.deploy.DeployerRuntime.validatePath(DeployerRuntime.java:786)
                   at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:319)
                   at weblogic.management.deploy.DeployerRuntime.access$0(DeployerRuntime.java:282)
                   at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:947)
              The resource works ok, and the web app does not use or reference
              the resource (it's a simple servlet that just displays a message), so why is there
              an interdependence?
              

              Thanks! We'll follow up on this.
              >
              >I discovered the cause - the .war and .rar both had the same
              >filename root, i.e. myFilename.war and myFilename.rar. I
              >solved the problem by changing the .war to myFilenameWeb.war.
              >
              >And yes, this is with WLS 7.0.
              >
              >"Deb June" <[email protected]> wrote:
              >>
              >>Hi Glen,
              >>
              >>Could you please describe the steps that you took to get this?
              >>
              >>Thanks!
              >>
              >>P.S. For others looking at this - it looks like this is using WLS 7.0.
              >>
              >>>
              >>>I can't deploy a web app (.war) if I already have a resource (.rar)
              >>deployed,
              >>>weblogic
              >>>7.0 reports
              >>>
              >>>weblogic.management.ManagementException: New source location, C:\projects\j2ee\dev\ra\dist\rware.war,
              >>>cannot be deployed to configured application, rware. Application source
              >>>is at
              >>>C:\projects\j2ee\dev\ra\dist.
              >>>     at weblogic.management.deploy.DeployerRuntime.validatePath(DeployerRuntime.java:786)
              >>>     at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:319)
              >>>     at weblogic.management.deploy.DeployerRuntime.access$0(DeployerRuntime.java:282)
              >>>     at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:947)
              >>>
              >>>The resource works ok, and the web app does not use or reference
              >>>the resource (it's a simple servlet that just displays a message),
              >so
              >>>why is there
              >>>an interdependence?
              >>
              >
              

  • Error while deploying war file with jsp precompile option in weblogic 7.0

              Hi
              I am trying to precompile jsp file which is there in a war.Main jsp file code
              includes one more jsp which is there in other folder under defaultweb directory.
              While deploying the war i am getting the following error.Can any bosy help me
              in this regard
              <Nov 23, 2002 5:01:28 PM IST> <Error> <HTTP> <101045> <[ServletContext(id=464413
              3,name=ArkinTestWeb,context-path=/ArkinTestWeb-3)] translation of /Admin/account
              _access.jsp failed: weblogic.utils.ParsingException: nested TokenStreamException
              : antlr.TokenStreamException: Could not include ./../includes/sessionStatusPage.
              jsp>
              <Nov 23, 2002 5:01:28 PM IST> <Error> <Deployer> <149201> <The Slave Deployer
              fa
              iled to complete the deployment task with id 1 for the application ArkinTestWeb.
              weblogic.management.ApplicationException: Prepare failed. Task Id = 5
              Module Name: ArkinTestWeb, Error: Could not load ArkinTestWeb: weblogic.utils.Ne
              stedException: ArkinTestWeb:ArkinTestWeb Failure while Precompiling JSPs: weblog
              ic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamExcepti
              on: Could not include ./../includes/sessionStatusPage.jsp - with nested exceptio
              n:
              [weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStream
              Exception: Could not include ./../includes/sessionStatusPage.jsp]
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
              er.java:657)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
              er.java:548)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
              veDeployer.java:1026)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
              loyer.java:700)
              at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
              dler.java:24)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              >
              Regards
              Anand Mohan
              

    Hi,
    1] Remove following from server.xml
    <Context path="/SEA" docBase="SEA" debug="0"/>
    2] Paste SEA.WAR (test WAR file) into /webapps of TOMCAT
    3] Start Tomcat Server - This will create SEA folder under webapps
    4] Stop server.
    5] Add following to server.xml
    <Context path="/SEA" docBase="SEA" debug="0"/>
    6] Start Tomcat Server
    7] Access the URL.
    This will work. Somehow Tomcat does not extract war file contents which are mentioned in server.xml.
    I have Apache Tomcat 4.0.3 and faced this problem. The above solution works for it.
    Regards,
    Sandesh
    hi.
    I have put my SEA.WAR (test WAR file) into /webapps of
    TOMCAT.
    I checked the server.xml and put:
         <Context path="/SEA" docBase="SEA" debug="0"/>
    I restarted TOMCAT and tried to execute the file:
         http://localhost:8080/SEA/index.jsp
    But I got error message:
    Apache Tomcat/4.0.3 - HTTP Status 404 -
    /SEA/index.jsp
    What was happenning?
    Anyone can help me?
    Thank you.

  • How to deploy an app with servlet and background processing

    i have a servlet with background processing. it has to run 24 hours a day.
    but i have problem with shutdown (after 1-2 hours without user action). [9iAS 9.0.3.0, windows 2000]
    i created for application seperate OC4J (in the EM) and i deployed it there. first time as war file, later as ear file (because there is possible to re-deploy only ear file).
    but it seems that the servlets are not designated to run as a uninterruptible task.
    the question is: how to deploy such (servlet + uninterruptible background processing) application in the 9iAS?
    a) everything in the OC4J (then how to disable shutdown?)
    b) servlet in the OC4J. where (and how) to install the rest of application?
    b1) servlet in the OC4J + rmi/soap/... + standalone server?
    what is the standard in the oracle world :) ?
    thanks

    Better to post your topic in the iPad in the Enterprise community.
    This is the, "Using Mac App Store" forum and for the most part for troubleshooting the App Store.

  • Deploying WAR file with jdev 11g in weblogic 10.0

    Hello,
    I´m Facing a problem deploying a simple aplication in Weblogic with jdev 11g
    here´s the Error Message :
    2009-05-06 13:52:41.781: Writing WAR file to C:\JDeveloper\mywork\Application3\Project1\deploy\webapp1.war
    2009-05-06 13:52:41.781: Wrote WAR file to C:\JDeveloper\mywork\Application3\Project1\deploy\webapp1.war
    Deploying Application...
    [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application webapp1 on AdminServer.: [HTTP:101064][WebAppModule(webapp1:webapp1.war)] Error parsing descriptor in Web appplication "/opt/oracle/bea/user_projects/domains/alui/./servers/AdminServer/upload/webapp1/app/webapp1.war"
    weblogic.application.ModuleException: Unmarshaller failed
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:858)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:285)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:719)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1186)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-web-app@http://www.bea.com/ns/weblogic/weblogic-web-app
         at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:329)
         at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:296)
         at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:306)
         at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:287)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:292)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:774)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:395)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:745)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:754)
         at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:164)
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:853)
         ... 25 more
    weblogic.application.ModuleException: Unmarshaller failed.
    weblogic.application.ModuleException: [HTTP:101064][WebAppModule(webapp1:webapp1.war)] Error parsing descriptor in Web appplication "/opt/oracle/bea/user_projects/domains/alui/./servers/AdminServer/upload/webapp1/app/webapp1.war"
    weblogic.application.ModuleException: Unmarshaller failed
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:858)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:285)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:719)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1186)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-web-app@http://www.bea.com/ns/weblogic/weblogic-web-app
         at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:329)
         at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:296)
         at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:306)
         at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:287)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:292)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:774)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:395)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:745)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:754)
         at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:164)
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:853)
         ... 25 more
    weblogic.application.ModuleException: Unmarshaller failed
    #### Deployment incomplete. #### May 6, 2009 1:52:43 PM
    Deployment Failed
    does anyone had this problem , please help, i´m trying to solve this problem and still couldn´t make it.
    Best Regard,
    Vitor

    Applications that you build with JDeveloper 11g are normally aimed at WebLogic 10.3 servers.
    They require Java EE 1.5 and JDK 6.

  • Deploying war files with JBuilder 5 to Tomcat 4

    Hi,
    I'm developing a webapp in JBuilder 5. When I copy my war file to tomcat 3.2 webapps directory and start tomcat it works just fine, but when I copy my war file to the webapps directory in tomcat 4 I have the following error when I start tomcat 4:
    ERROR reading java.io.ByteArrayInputStream@33f8f6
    At Line 15 /web-app/servlet/
    All the examples in Tomcat 4 works just fine, and if I create a war file from the command prompt it also works, but the war file generated with JBuilder 5 doesn't work.
    does this sound familiar?
    please help

    Hi Lilja,
    ran into this myself, and had to do a full web search to find the answer.
    JBuilder5 will let you change the Tomcat version a certain project uses, but it won't necessarily like it.
    Creating a new project with Tomcat 4 as the default server, and then putting your existing files into it seems to work.
    Dodgy, I know, but blame Borland. ;-)
    Ta,
    Martin Hughes

  • Deploying web app with visual web jsf

    i uploaded the war file to the server and it unpacked...but i get this when trying to access the first page
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: java.lang.NoClassDefFoundError
    javax/faces/webapp/UIComponentTag
    Possible Source of Error:
    Class Name: java.lang.ClassLoader
    File Name: ClassLoader.java
    Method Name: defineClass1
    Line Number: -2
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    java.lang.ClassLoader.defineClass1(ClassLoader.java:-2)
    java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
    org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
    org.apache.jasper.compiler.JspDocumentParser.parseCustomAction(JspDocumentParser.java:1135)
    org.apache.jasper.compiler.JspDocumentParser.startElement(JspDocumentParser.java:388)
    org.apache.xerces.parsers.AbstractSAXParser.startElement( Unknown Source )
    org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement( Unknown Source )
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source )
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument( Unknown Source )
    org.apache.xerces.parsers.XML11Configuration.parse( Unknown Source )
    org.apache.xerces.parsers.XML11Configuration.parse( Unknown Source )
    org.apache.xerces.parsers.XMLParser.parse( Unknown Source )
    org.apache.xerces.parsers.AbstractSAXParser.parse( Unknown Source )
    javax.xml.parsers.SAXParser.parse( Unknown Source )
    org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:170)
    org.apache.jasper.compiler.ParserController.doParse(ParserController.java:197)
    org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    sun.reflect.GeneratedMethodAccessor224.invoke( Unknown Source )
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239).....
    theres more but it was too long to post

    Moyer21 wrote:
    Exception Details: java.lang.NoClassDefFoundError
    javax/faces/webapp/UIComponentTagThe mentioned class is missing in the classpath. It's part of JSF API. Add the JAR's of the JSF API as well as the used JSF implementation to the classpath. I suppose that your development environment has those JAR's in the server's default classpath (the /appserverinstallation/lib or whatever, depending on the appserver used) instead of in the webapp's default classpath (the /WEB-INF/lib) and that your production environment (or whatever you deployed to) didn't have those JAR's in the server's default classpath.

  • Deploying an app with JavaHelp

    Hi
    i'm trying to distribute my freeware app that contians JavaHelp functionality and it all works fine apart from the JavaHelp. I get the error "java.lang.NoClassDefFoundError: javax/help/HelpBroker.
    I tried adding jh.jar to my CLASSPATH etc but it sill won't work on my test machine. Could anyone help?
    Thanks.

    Your test machine needs to have the jhall.jar file in the jre/lib/ext/
    You need to deploy this with your app. Anyone who knows how to do this, I would appreciate if you could tell me...

  • [Deploy WAR File with Tomcat]  Blank page  after login to DSCC

    i installed Sun Java System Directory Server Enterprise Edition 6.3 ( Zip Distro) in SuSe Linux 10 sp2 (64bit )
    and I've deployed DSCC web console in tomcat with following installation guide
    http://docs.sun.com/app/docs/doc/820-2761/6nebf1543?a=view
    open browser , go to http://hostname:8080/dscc, The Directory Service Manager Login page displays.
    i entered username/password , after that, nothing come up in the page...
    Anyone got idea ?
    Edited by: ikcat on Jan 16, 2009 12:06 AM

    Usually restarting Tomcat will help. Do the Tomcat logs have anything of interest?

Maybe you are looking for