Error on Deploy - simple Struts + SLSB + PostGreSQL DS

Hi,
I'm completly new to SOAS and J2EE, so I hope someone can help me on this.
I get the following error when I deploy my (first ever :P) .ear-file:
Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Failed to load deployment descriptor for: kvnet cause: Error converting J2EE-specific ejb xml to object representation: kvnet-ejbs.jar app_kvnet Test This bean has no resource reference by the name of [jdbc/QSMS-DB] jdbc/QSMS-DBjdbc/QSMS-DB
My EAR consists of two archives: a .war and kvnet-ejbs.jar with a session bean.
Description of Application:
I created a very simple Struts webapp (one servlet login filter and some .jsp`s) and already deployed the .war successfully (and run it). Now I want to add the EJB side to my application. I made a simple stateless Sessionbean which should simply connect to a PostGreSQL database through a connection pool (because after that I want to use cmp entity beans with this pool).
In my server.xml:
<resources>
<jdbc-resource enabled="true" pool-name="QSMSPool" jndi-name="jdbc/QSMS-DS">
<description>JDBC Resource des QSMS (zum Zugriff per JNDI)</description>
</jdbc-resource>
<jdbc-connection-pool steady-pool-size="8" max-pool-size="32" max-wait-time-in-millis="60000" pool-resize-quantity="2" idle-timeout-in-seconds="300" is-isolation-level-guaranteed="false" is-connection-validation-required="false" connection-validation-method="auto-commit" fail-all-connections="false" datasource-classname="org.postgresql.jdbc3.Jdbc3PoolingDataSource" name="QSMSPool">
<description>Connection Pool des QSMS der PostGreSQL DB</description>
<property value="bdrserv.quasa.org" name="serverName"/>
<property value="5432" name="portNumber"/>
<property value="appserver" name="user"/>
<property value="jS7v6X" name="password"/>
<property value="kvnet" name="databaseName"/>
</jdbc-connection-pool>
</resources>
My ejb-jar.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
<ejb-jar>
<description>stateless session bean, mit dem die db-connection getestet werden soll</description>
<display-name>Test</display-name>
<enterprise-beans>
<session>
<description>test ejb fuer db-conn-test (postgresql)</description>
<display-name>TestEJB</display-name>
<ejb-name>TestEJB</ejb-name>
<local-home>de.quasa.kvnet.ejb.test.TestLocalHome</local-home>
<local>de.quasa.kvnet.ejb.test.TestLocal</local>
<ejb-class>de.quasa.kvnet.ejb.test.TestEJB</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
<ejb-local-ref>
<ejb-ref-name>ejb/Test</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>de.quasa.kvnet.ejb.test.TestLocalHome</local-home>
<local>de.quasa.kvnet.ejb.test.TestLocal</local>
<ejb-link>kvnet-ejbs.jar#TestEJB</ejb-link>
</ejb-local-ref>
<security-identity>
<description></description>
<use-caller-identity></use-caller-identity>
</security-identity>
<resource-ref>
<res-ref-name>QSMS-DS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
</session>
</enterprise-beans>
<assembly-descriptor>
<method-permission>
<unchecked />
<method>
<ejb-name>TestEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>remove</method-name>
<method-params>
<method-param>java.lang.Object</method-param>
</method-params>
</method>
<method>
<ejb-name>TestEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>create</method-name>
<method-params />
</method>
<method>
<ejb-name>TestEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>testConnection</method-name>
<method-params />
</method>
<method>
<ejb-name>TestEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>isIdentical</method-name>
<method-params>
<method-param>javax.ejb.EJBLocalObject</method-param>
</method-params>
</method>
<method>
<ejb-name>TestEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getPrimaryKey</method-name>
<method-params />
</method>
<method>
<ejb-name>TestEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>remove</method-name>
<method-params />
</method>
<method>
<ejb-name>TestEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getEJBLocalHome</method-name>
<method-params />
</method>
</method-permission>
</assembly-descriptor>
</ejb-jar>
My sun-ejb-jar.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN" "http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd">
<sun-ejb-jar>
     <enterprise-beans>
          <name>kvnet-ejbs.jar</name>
          <ejb>
               <ejb-name>TestEJB</ejb-name>
               <jndi-name>ejb/Test</jndi-name>
<resource-ref>
<res-ref-name>jdbc/QSMS-DB</res-ref-name>
<jndi-name>jdbc/QSMS-DB</jndi-name>
</resource-ref>
<gen-classes/>
          </ejb>
     </enterprise-beans>
</sun-ejb-jar>
My application.xml:
<?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>kvnetapp</display-name>
<description>KVNetApp - Application description</description>
<module>
<ejb>kvnet-ejbs.jar</ejb>
</module>
<module>
<web>
<web-uri>kvnet.war</web-uri>
<context-root>web-app2</context-root>
</web>
</module>
</application>
My web.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
          "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
     <display-name>QSMS Application</display-name>
<!-- servletfilter and struts definitions are left out for better readability -->
     <ejb-local-ref>
          <description>TestEJB local ref</description>
          <ejb-ref-name>ejb/Test</ejb-ref-name>
          <ejb-ref-type>Session</ejb-ref-type>
          <local-home>de.quasa.kvnet.ejb.test.TestLocalHome</local-home>
          <local>de.quasa.kvnet.ejb.test.TestLocal</local>
<ejb-link>TestEJB</ejb-link>
     </ejb-local-ref>
</web-app>
My SLSB code:
public class TestEJB implements SessionBean {
public boolean testConnection() {
Connection con = null;
try {
InitialContext ctx = new InitialContext();
DataSource source = (DataSource)ctx.lookup("java:comp/env/jdbc/QSMS-DS");
con = source.getConnection();
// use connection
if (con == null) {
System.out.println("CONNECTION IS NULL!!!");
} catch (SQLException e) {
// log error
System.out.println("SQLException abgefangen: "+e.getMessage());
} catch (NamingException e) {
// DataSource wasn't found in JNDI
System.out.println("NamingException abgefangen: "+e.getMessage());
} finally {
if (con != null) {
try { con.close(); } catch (SQLException e) {}
return true;
public void ejbCreate() {}
public void ejbRemove() {}
public void ejbActivate() {}
public void ejbPassivate() {}
public void setSessionContext(SessionContext ctx) {}
public interface TestLocal extends EJBLocalObject {
public boolean testConnection();
public interface TestLocalHome extends EJBLocalHome {
TestLocal create() throws CreateException;
I hope I made myself clear. :-)
Thanks for your help.
Regards,
Steffen Gransow

I have a little more information. I noticed that the stderr from the server apparently had the stack trace of the exception, which follows this. In addition, I'll include the application's "application.xml" file (not Oracle-specific).
---application.xml---
<?xml version="1.0"?>
<!DOCTYPE application PUBLIC
"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
"http://java.sun.com/dtd/application_1_3.dtd">
<application>
<display-name>FELIX</display-name>
<!--
<module>
<ejb>felix-ejb.jar</ejb>
</module>
-->
<module>
<web>
<web-uri>felix-web.war</web-uri>
<context-root>/felix</context-root>
</web>
</module>
</application>
---application.xml---
---server stderr---
ApplicationServer: appName = Felix
java.lang.NullPointerException: application reference's config was null
     at com.evermind.server.ApplicationServer.getApplication(ApplicationServer.java:1976)
     at com.evermind.server.XMLApplicationServerConfig.initHttp(XMLApplicationServerConfig.java:1365)
     at com.evermind.server.ApplicationServer.doCheckForUpdates(ApplicationServer.java:2308)
     at com.evermind.server.ApplicationServer.checkForUpdates(ApplicationServer.java:2117)
     at com.evermind.server.ApplicationServerTask.run(ApplicationServerTask.java:46)
     at com.evermind.util.TaskManager.run(TaskManager.java:133)
     at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:66)
---server stderr---

Similar Messages

  • Console error while deploying a struts application..

    I am getting following exception while deploying a struts application:-
    javax.servlet.ServletException: org/apache/commons/logging/LogFactory
         at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:884)
         at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3197)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
         at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5647)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:869)
         at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2022)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2063)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2592)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2515)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2317)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2399)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2311)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2479)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         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)
    please help me out.

    The ServletException is just a wrapper exception which informs about an underlying failure. When interpreting stacktraces,the bottommost root cause parts is the most important part. I assume that it's just a java.lang.ClassNotFoundException on org/apache/commons/logging/LogFactory. In that case, the exception is self-explaining enough. The mentioned class is missing in the classpath. The solution is also obvious: add the mentioned class (or at least, the JAR file with the mentioned class) to the classpath and you're fine. As the package name already hints, you can download it at [http://commons.apache.org/logging].
    For future java.lang.* exceptions please consult 'New to Java' forum. This is unrelated to Java Servlet.

  • Error 500, deployment with struts

    An application developed in JDeveloper 9.02 with struts 1.1b works fine when running using the local OC4J instance running from JDeveloper. I created a deployment profile with a .war and .ear, deployed to the OC4J standalone instance using the EM website, and all seemed well. Now it sporadically gives the "Internal Server Error" when navigating between pages. I can't find anything in the logs, and ideas?

    It's OC4J core install for 9iAS Release 9.02. I've deployed to Solaris since there is a bug that can give this error that is patched for Solaris, but not Windows. The error occurs when navigating pages in a struts app. Sometimes it works fine, then you click on one of the image buttons to go to the next .jsp and this error comes up.
    Ruth
    What version of OC4J you are testing on ?
    Is it OC4J standalone or Oracle9iAS that you are using.
    more details would be helpful in diagnosing the problem.
    -Prasad

  • Error in deploying a simple EJB 3.0

    Hi ,
    I am getting the following error while deploying my simple ejb of version 3.0 in Weblogic 9.2.
    Exception preparing module: EJBModule(build) [EJB:011023]An error occurred while reading the deployment descriptor. The error was: Error processing annotations: java.lang.NullPointerException.
    During my evaluation of Weblogic 9.2 for EJB 3.0 , I have got the following questions.
    EJB Specification states that EJB's in EJB 3.0 can be developed and deployed without the need of deployment descriptors. I have created a simple EJB with two file Env.java and EnvBean.java and the source code is given below.
    a) I just complied these class files and when I was trying to deploy without ejb-jar.xml and weblogic-ejb-jar.xml, the console was not at all allowing me to deploy.Why is this so?
    b) After I created a META-INF file under root of classes directory by placing ejb-jar.xml with empty <enterprise-beans> element, console was allowing me to deploy with errors in parsing ejb-jar.xml. The error was either session/entity/mdb is a required under <enterprise-beans> element. Why is this required when there are several examples stating <enterprise-beans> element can be empty.
    c) Later I updated ejb-jar.xml with <session> element under <enterprise-beans> with the following values. I got the above error when deployed with this change.
    I had been struggling to deploy this simple bean for almost a day.Pleas point me if there is any documentation that solves my stated problem or if there is a solution.Thanks in advance.
    regards
    Karim
    ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" version="3.0"
    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/ejb-jar_3_0.xsd">
    <enterprise-beans>
    <session>
    <description>This is the stateless ejb</description>
    <display-name>Env Bean</display-name>
    <ejb-name>EnvBean</ejb-name>
    </session>
    </enterprise-beans>
    </ejb-jar>
    Env.java
    package examples ;
    public interface Env {
    public void display();
    EnvBean.java
    package examples;
    import javax.ejb.Remote;
    import javax.ejb.Stateless;
    @Stateless
    @Remote(Env.class)
    public class EnvBean implements Env {
    public void display() {
    System.out.println("Welcome to EJB 3.0");
    }

    Presumably you're using the EJB3 tech preview, and not a vanilla WebLogic 9.2 install, right?
    Can you post the full stack trace?
    -Patrick

  • Error while deploying struts application in tomcat

    Hi,
    I'm getting the following error when I start Tomcat using while auto-deploying a struts application.
    2005-09-21 15:28:17 - ContextManager: Adding DEFAULT:/cna
    2005-09-21 15:28:18 - Ctx(/cna) : Validating web.xml
    2005-09-21 15:28:18 - Ctx(/cna) : Class not found: org.apache.struts.action.Acti
    onServlet
    2005-09-21 15:28:18 - Ctx(/cna) : Class not found: org.apache.axis.transport.htt
    p.AdminServlet
    In case anyone is aware how to resolve this issue, please help.
    Thanks,
    Roseline

    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.

  • Error while deploying a business process

    Hi all.
    Am new to Integration Server development. I got this error while deploying my
    business process.
    ERROR:
    <Feb 15, 2004 3:19:41 PM GMT+05:30> <Warning> <DRS> <BEA-002506> <The current
    ve
    rsion 6 for DataIdentifier DataIdentifierID: 1 does not match with incoming vers
    ion 7 for a one-phase update.>
    java.io.IOException: There are no more files
    at java.io.WinNTFileSystem.canonicalize(Native Method)
    at java.io.File.getCanonicalPath(File.java:513)
    at weblogic.utils.jars.ManifestEntry.getName(ManifestEntry.java:136)
    at weblogic.utils.jars.Manifest.addEntry(Manifest.java:65)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:326)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.makeJar(JarFileObject.java:373)
    at weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java
    :214)
    at weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.jav
    a:225)
    at weblogic.utils.classloaders.ExtractionHelper.resolveManifestName(Extr
    actionHelper.java:491)
    at weblogic.utils.classloaders.ExtractionHelper.extractClassFiles(Extrac
    tionHelper.java:238)
    at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
    ppServletContext.java:5129)
    at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
    etContext.java:5001)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
    ext.java:542)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
    ntext.java:493)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:628)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:626)
    at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
    onContainer.java:3011)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplication
    Container.java:1532)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
    prepareContainer(SlaveDeployer.java:2602)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
    tainer(SlaveDeployer.java:2552)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
    laveDeployer.java:2474)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
    veDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
    oyer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
    loyer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
    dler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    <Feb 15, 2004 3:19:44 PM GMT+05:30> <Warning> <Deployer> <BEA-149004> <Failures
    were detected while initiating Deploy task for application targetIntegrationPOC.
    >
    <Feb 15, 2004 3:19:44 PM GMT+05:30> <Error> <Deployer> <BEA-149201> <Failed to
    c
    omplete the deployment task with ID 1 for the application targetIntegrationPOC.
    java.lang.InternalError: IO error while trying to compute name from: D:\Target\d
    omain\TARGET~2\TARGET~1\.\targetPOCServer\.wlnotdelete\extract\targetPOCServer_t
    argetIntegrationPOC_targetIntegrationPOCWeb\jarfiles\WEB-INF\lib\jar2187\org\apa
    che\struts\tiles\definition\ReloadableDefinitionsFactory$ServletPropertiesMap.cl
    ass
    at weblogic.utils.jars.ManifestEntry.getName(ManifestEntry.java:148)
    at weblogic.utils.jars.Manifest.addEntry(Manifest.java:65)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:326)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.makeJar(JarFileObject.java:373)
    at weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java
    :214)
    at weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.jav
    a:225)
    at weblogic.utils.classloaders.ExtractionHelper.resolveManifestName(Extr
    actionHelper.java:491)
    at weblogic.utils.classloaders.ExtractionHelper.extractClassFiles(Extrac
    tionHelper.java:238)
    at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
    ppServletContext.java:5129)
    at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
    etContext.java:5001)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
    ext.java:542)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
    ntext.java:493)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:628)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:626)
    at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
    onContainer.java:3011)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplication
    Container.java:1532)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
    prepareContainer(SlaveDeployer.java:2602)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
    tainer(SlaveDeployer.java:2552)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
    laveDeployer.java:2474)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
    veDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
    oyer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
    loyer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
    dler.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.InternalError: IO error while trying to compute name from: D:\Target\
    domain\TARGET~2\TARGET~1\.\targetPOCServer\.wlnotdelete\extract\targetPOCServer_
    targetIntegrationPOC_targetIntegrationPOCWeb\jarfiles\WEB-INF\lib\jar2187\org\ap
    ache\struts\tiles\definition\ReloadableDefinitionsFactory$ServletPropertiesMap.c
    lass]
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
    laveDeployer.java:2491)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
    veDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
    oyer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
    loyer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
    dler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    Thanks in advance
    Regards
    Shesh

    is your soa suite up and running ?

  • Error while deploying a process

    Hi,
    I am getting the following error when tried to deploy a simple bpel process from JDeveloper/BPEL Console.
    C:\BPEL\BPELEchoProject\build.xml:79: A problem occured while connecting to server "172.17.11.138" using port "80": org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. C:\DOCUME~1\adminsoa\LOCALS~1\Temp\1\upload_00000001.tmp (The system cannot find the path specified)
    at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:429)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:344)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Please help.
    Thanks,
    AP

    Hi,
    We are also getting this error when deploying BPEL process. It happend us now already on second server, where we have 10.1.3.3 instaled. So latest version. Funny is, that we were able to deploy same BPEL on this server several times before, and then suddenly it is not possible to do so anymore. Exactly the same BPEL process version can be deployed on some other servers. So it is something specific with the server, but we have no idea what exactly.
    Does anybody has some answers for this? Thanks!
    Marko

  • Error while deploying EAR file through SDM

    Hi All,
    I am deploying EAR file through SDM. Its taking too much time to deploy in the 3rd stage (its just a simple hello file for testing purpose and its still in that stage for 2 hours).
    When I see the log, I can see some fata error. Please suggest me what should I do. 
    ==
    Oct 15, 2008 4:31:44 PM  Info: SDM started successfully.
    Oct 15, 2008 4:33:21 PM  Info: Opened client connection to sapretail (IP address
    sapretail/172.20.177.203, remote port 58645)
    Oct 15, 2008 4:33:23 PM  Info: Request for Logon as admin accepted
    Oct 15, 2008 4:39:07 PM  Info: Loading archive '/usr/sap/trans/EPS/sap.comwdtu
    torial~ex1.ear'
    Oct 15, 2008 4:40:50 PM  Info: Actions per selected component:
    Oct 15, 2008 4:40:50 PM  Info: Initial deployment: Selected development componen
    t 'wd/tutorial/ex1'/'sap.com'/'LOKAL'/'0.2008.10.14.12.51.57' will be deployed.
    Oct 15, 2008 4:44:41 PM  Info: Saved current Engine state.
    Oct 15, 2008 4:44:48 PM  Fatal: State BeforeNextDeployment can't process event I
    nitiateDeployment
    The reason I am doing through SDM because while deploying through NWDS its throwing an error
    Oct 13, 2008 12:44:41 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : sapretail
    SDM port : 50118
    URL to deploy : file:/C:/DOCUME1/231477/LOCALS1/Temp/temp41002sap.comwdtutorial~ex1.ear
    Deployment exception : Server sapretail did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server sapretail at port 50118: sapretail
    Inner exception was :
    Server sapretail did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server sapretail at port 50118: sapretail
    Please suggest a solution.
    Regards,
    Jitender

    Now, when I deploy through NWDS, I get the following error.
    Result
    => deployment aborted : file:/C:/DOCUME1/231477/LOCALS1/Temp/temp51346sap.comwdtutorial~ex1.ear
    Aborted: development component 'wd/tutorial/ex1'/'sap.com'/'LOKAL'/'0.2008.10.15.21.04.16':Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [sapretail] with user name: [J2EE_ADMIN]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted

  • 500 Internal server error while deploying web applications in jdeveloper

    I am getting the following error while trying to deploy my web application in Jdeveloper:
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response.
    Please consult the application log for details.
    Please help me.
    Or where can i find the detailed log regarding this.
    I even tried to remove the shared libraries / common logs/ set the development true in orion-web.xml file but to my disappointment..
    Please help me !!!!
    Regards,
    Shaily

    Thanks for ur help
    Jdeveloper version is 10.1.3.2.0
    I have deployed simple application.
    I even went thru the log files located at :
    $ORACLE_HOME/opmn/logs/default_group~oc4j_soa~default_group~1.log:
    $ORACLE_HOME/j2ee/oc4j_soa//application-deployments/gateway/oc4j_soa_default_group_1/application.log
    but it was not of any help.
    Can you help me figure out where i can get the detailed log file. Very recently i have started using jdeveloper,so i am having difficulty figuring out the log also.

  • Error - While deploying application in portal

    Hi Friends..
    I have developed applications using NWDS, after that I tried to deploy the applications using .ear files
    into portal, at that moment I got the below error message
    Apr 28, 2009 5:31:13 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [005]Deployment aborted
    Settings
    SDM host : xxxxxxxx
    SDM port : yyyy
    URL to deploy : file:/C:/DOCUME1/GOWRI1.SHA/LOCALS~1/Temp/temp25231CalculatorEar.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/GOWRI1.SHA/LOCALS~1/Temp/temp25231CalculatorEar.ear
    Aborted: development component 'CalculatorEar'/'sap.com'/'localhost'/'2009.04.28.16.56.03'/'0':
    Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Deployment exception : The deployment of at least one item aborted
    please let me know the solution for this.
    Thanks
    Gowrishankar

    I developed my simple calculator app under NWDS, exported it as an EAR file, transferred the file from my laptop to my Unix Java host and deployed it using SDM.
    When I build an iView I can't find it.  It doesn't appear as an iView template (unlike a PAR file I deployed earlier) and if I follow the help in the link from the previous post then I get application exceptions indicating that the portal component is not valid.  (I still have to trawl the log for details of the full error text.)
    I don't understand the process behind the deployment.  I know that the EAR file is a compressed archive of components required to run the application but what does the deployment process do with this?  Where are the components stored?  How does the portal's iView builder decide that it's looking in the right or wrong place?  How does the portal (how do I) know what sort of iView to build and what object type to include?

  • Error while deploying adf application on oracle cloud service

    hello, i hv registered oracle cloud service for java and database. i hv created simple adf application in which there are 2 jsf pages only linked together. I m using oracle jdeveloper 11gr2. so i hv created ear file for deployment on cloud. i deployed adf application on cloud using java console. But, after uploading application, deployment was failed. I tried 3 times this, but the result was same. I checked log, where i got 3 warnings in whitelist log and error in deploy log. Those are as follows:
    Warnings in   whitelist log:
    2013-04-14 06:57:11 CDT: Starting action "API Whitelist"
    2013-04-14 06:57:11 CDT: API Whitelist started
    2013-04-14 06:57:12 CDT: WARNING - There are 3 warnings(s) found for Testapp.ear.
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Test_ViewController_webapp.war (3 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (1 Warning)
    2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "login-config" missing under element /
    javaee:web-app.
    If you want to make your application public, you can have empty
    <login-config/> in your web.xml. If you need authentication then you must
    have <login-config> and its child <auth-method> element in web.xml.
    Without this element(<login-config>), users may be challenged by SSO, but
    the application code will be executed as anonymous user only. Line No:4.
    2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (2 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "jsp-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    If you have a JSP file that is not pre-compiled, The compilation errors
    could be shown on the browser. It is recommended to include
    <jsp-descriptor><verbose>false<****><****-descriptor> in weblogic.xml.
    Line No:2.
    2013-04-14 06:57:12 CDT: WARNING - 2:Recommended child element "session-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    You will be required to have distinct cookie-path, if multiple
    applications are accessed with in the same SSO session or if you have
    multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
    in the same service instance.
    Line No:2.
    2013-04-14 06:57:12 CDT: WARNING - Testapp.ear had 3 warning(s).
    2013-04-14 06:57:12 CDT: INFO - Whitelist validation has completed with 0 error(s) and 3 warning(s).
    2013-04-14 06:57:12 CDT: Whitelist validation passed.
    2013-04-14 06:57:12 CDT: "API Whitelist" complete: status SUCCESS
    and Error in deploy log:
    2013-04-14 06:57:12 CDT: Starting action "Deploy Application"
    2013-04-14 06:57:12 CDT: Deploy Application started
    2013-04-14 06:57:15 CDT: weblogic.application.ModuleException: Failed to load webapp: Test-ViewController-context-root because of DeploymentException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
    2013-04-14 06:57:15 CDT: WL action state: failed
    2013-04-14 06:57:15 CDT: Action FAILED with WL action state: failed
    2013-04-14 06:57:15 CDT: Check the server log of your Java cloud service for more info about the failure.
    2013-04-14 06:57:16 CDT: Application deployment failed.
    2013-04-14 06:57:16 CDT: "Deploy Application" complete: status FAILED
    I am using jdeveloper 11gr2, so pls dont tell me to use jdeveloper 11gr1. because, i hv already developed an application for my final year B.Tech and i cant migrate to previous release. So there is only one way for me by generating ear file and deploying from console.
    So,
    I m not getting what is the problem and what will be solution for this?
    What should i do?
    What changes should required?
    pls, help me to get out from this problem !!!!!

    Well, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
    >
    Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
    ADF Desktop Integration
    ADF mBean
    ADF MDS (Seeded customizations or cross-session personalization)
    ADF Mobile
    ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
    ADF Business Components services interfaces (web services) or events
    ADF Data Controls for BI, Essbase, BAM, and JMX
    Further there are some restrictions which are good to know I think
    No Java Mail API (=>Sending Mails is prohibited)
    No File system access by deployed applications (=>Writing files is prohibited)
    No Direct use of Oracle JDBC Driver APIs
    No Java Message Service (JMS)
    Max Size for deployment archive 95MB
    >
    I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
    Timo

  • Error while deploying WDJ code

    Hi All,
    I am getting the following error while deploying WDJ code in NWDS .
    1 . The project was not built due to classpath errors (incomplete or involved in cycle).
    2 .  Missing required library: 'com.sap.security.api.jar'.
    I have put the jar file into the project path but still then i am getting these errors . Please help .
    Thanks in advance,

    Hi,
    If u are using simple project then then adding jar into application property would do but if using DC then u must follow below procedure.
    You cant just add any external jar file into a DC project.
    There is only one way to add a external jar file is by using external library project.
    1.create an external library project type DC.
    2. put your external jar file into its lib folder.
    3. create its public part of type SDA( Assembly if using CE)...and API( Compilation if using CE).
    4. just use SDA public part into your webdynpro project as used DC.
    5. and when you deploy your webdynpro project on server, this file will also get deployed... remember to use SDA public part..
    Regards
    Surender Dahiya

  • Error While Deploying SOA composite 11g

    Hi All,
    i am getting the following error while deploying a soa composite. I dont have any JAVA embedding in my code.Also I tried with a simple hello world bpel
    even its throwing the same error.My soa version version is 11.1.1.3 Kindy help me.
    Deploying on partition "default" of "/Farm_base_domain/base_domain/soa_server1" ...
    Deploying on "/Farm_base_domain/base_domain/soa_server1" failed!
    Error during deployment: Deployment Failed: Error occurred during deployment of component: GetCustomerAccountHierarchyDetailsBGNProvCS to service engine: implementation.bpel for composite: ManageCustomerAccountHierarchy: ORABPEL-01005
    Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "GetCustomerAccountHierarchyDetailsBGNProvCS" of composite "default/ManageCustomerAccountHierarchy!1.0*soa_54ac82bd-c0e4-4431-b0f2-51a316a38b96"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    Thanks and regards,
    Arun

    Deploying BPEL process
    Regards,
    Anuj

  • Error while deploying Human Task

    Hi All,
    I am getting the following error while deploying a simple Human Task
    Error while deploying the form on server "Tom-latitude" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:141)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:785)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:578)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:849)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:875)
         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 oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Thanks
    Tom....

    For deploying a bpel with human task, you need a bpel engine. oc4j_soa instance has the BPEL engine. Thats why.

  • Error while Deploying -- Please help !!!

    Hi,
    I am getting the following error while deploying. The components that I have is a html, servlet and Stateless session bean, basically I am executing chapter 2 of developing Enterprise applications "A Simple Session Bean". The error is as follows.
    java.rmi.ServerException RemoteException occured in Server Thread
    Please let me know if you need more information, unfortunately I cannot attach the error.log
    Thanks
    Arup

    did you check the protocol and the port number? Did you try without creating the .war file?
    Uma
    http://www.javagalaxy.com

Maybe you are looking for

  • View display error while creating a request

    hi iam getting the follwing error Error Details Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. invalid call interface for Teradata, please use ODBC35 as c

  • How can I open a PDF generated by Distiller, in Designer?

    When I open the form in Designer, it prompts me to enter a password. Before I go back to the client, I wanted to know if a pdf generated by Distiller can be opened and edited in Designer? What is distiller used for? Aditya

  • Please add stats/appearances to buttons...

    I ran in to a frustrating problem well building a page. The page has a MSO with 15 states in it. I created buttons for each state and found that I could not set a active appearance/state for the button so I could not just use 15 buttons to create my

  • Areca Link Width seems low

    I have an Areca 1231ML in my Early 2008 MacPro under 10.6.7. The card is supposedly PCIe 8x. I have the card in Slot-2 and System Profiler reports the card is running at 2x. Any ideas how I could get this running at the specified 8x? Model Name:    

  • W2 and 1099 Patches for year 2009 on E-Business Suite 11.5.10.2

    Friends - Is there any w2 and 1099 patches released for year 2009 for E-business suite 11.5.10.2 Recently we implement basic HR without any benefits. Please provide me list of patch details. Regards Satish