1 Reply Latest reply on May 19, 2009 1:50 PM by acayci-Oracle

    SOA Suite 11g TP4 "Configure SOA" step fails, after OC4J startup successful

    157757
      I followed the installation instructions and got stuck in step 10d.

      The build fails after announcing "*Trying to override old definition of task admin_client*", Oc4j has already started successfully.

      The soa-infra-java.log file shows the publishing of shared libraries to fail because two libraries aren't found:
      - apache.commons.fileupload
      - oracle.fabric.runtime

      The first is on the BAM import list, the other is for B2B. I did specify "Configure Basic SOA Components" though.

      Both of these errors are announced as WARNING, but the build fails and SOA configuration is announced as failed too.

      The startsoa.log file has several WARNINGs, including some SEVERE ones:
      ---snip---snip---
      19-mei-2009 9:59:32 oracle.j2ee.xml.XMLMessages warningException
      WARNING: Exception Encountered
      09/05/19 10:00:27 SEVERE: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
      09/05/19 10:00:27 SEVERE: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
      19-mei-2009 10:00:29 oracle.j2ee.util.AnnotatedLogger logWithThrowable
      WARNING: J2EE JNDI-00002
      19-mei-2009 10:00:29 oracle.j2ee.util.AnnotatedLogger log
      WARNING: No javax.jms.ConnectionFactory found at null
      19-mei-2009 10:00:30 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
      WARNING: There are multiple mappings for servlet name: WSRPServiceDescriptionService, but only the first one (/portlets/WSRPServiceDescriptionService) will be considered for webservice endpoint
      19-mei-2009 10:00:30 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
      WARNING: There are multiple mappings for servlet name: WSRP_v2_ServiceDescription_Service, but only the first one (/portlets/WSRP_v2_ServiceDescription_Service) will be considered for webservice endpoint
      19-mei-2009 10:00:30 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
      WARNING: There are multiple mappings for servlet name: WSRPServiceDescriptionService, but only the first one (/portlets/WSRPServiceDescriptionService) will be considered for webservice endpoint
      19-mei-2009 10:00:30 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
      WARNING: There are multiple mappings for servlet name: WSRP_v2_ServiceDescription_Service, but only the first one (/portlets/WSRP_v2_ServiceDescription_Service) will be considered for webservice endpoint
      19-mei-2009 10:01:11 oracle.j2ee.xml.XMLMessages warningException
      WARNING: Exception Encountered
      09/05/19 10:01:15 SEVERE: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
      09/05/19 10:01:15 SEVERE: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
      19-mei-2009 10:01:17 oracle.j2ee.util.AnnotatedLogger logWithThrowable
      WARNING: J2EE JNDI-00002
      19-mei-2009 10:01:17 oracle.j2ee.util.AnnotatedLogger log
      WARNING: No javax.jms.ConnectionFactory found at null
      19-mei-2009 10:01:18 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
      WARNING: There are multiple mappings for servlet name: WSRPServiceDescriptionService, but only the first one (/portlets/WSRPServiceDescriptionService) will be considered for webservice endpoint
      19-mei-2009 10:01:18 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
      WARNING: There are multiple mappings for servlet name: WSRP_v2_ServiceDescription_Service, but only the first one (/portlets/WSRP_v2_ServiceDescription_Service) will be considered for webservice endpoint
      19-mei-2009 10:01:18 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
      WARNING: There are multiple mappings for servlet name: WSRPServiceDescriptionService, but only the first one (/portlets/WSRPServiceDescriptionService) will be considered for webservice endpoint
      19-mei-2009 10:01:18 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
      WARNING: There are multiple mappings for servlet name: WSRP_v2_ServiceDescription_Service, but only the first one (/portlets/WSRP_v2_ServiceDescription_Service) will be considered for webservice endpoint
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      [TopLink Info]: 2009.05.19 10:01:35.477--ServerSession(12473995)--TopLink, version: Oracle TopLink - 11g Technology Preview 4 (11.1.1.0.0) (Build 080422)
      [TopLink Info]: 2009.05.19 10:01:36.384--ServerSession(12473995)--userprefs login successful
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      19-mei-2009 10:01:51 oracle.j2ee.xml.XMLMessages warningException
      WARNING: Exception Encountered
      19-mei-2009 10:01:51 oracle.j2ee.xml.XMLMessages warningException
      WARNING: Exception Encountered
      ---snip---snip---

      Question:
      - Java 5 or 6?
      - The preferences are set to use the integrated OC4J, the log refers to "standalone oc4j".
      - How is oc4j started? Must the Environments variables be set through the system properties or on a startup script for JDev?

      Bert laverman


      PS
      You might want to update the page header on the installation instructions to show "Tech Preview 4" instead of 3. Document title at start is correct though.