Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-115

Maven outputs error while compilng ODE with JDK1.6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • 1.0-incubating
    • 1.1
    • BPEL Runtime
    • None
    • Win 2000 Pro, JDK1.6

    Description

      I download ODE using following SVN command

      > svn checkout http://svn.apache.org/repos/asf/incubator/ode/trunk ode

      and then compiled using maven 2.0.6

      > mvn install

      Maven generated compilation error is provided at the end of this message.

      I need to know following:

      1- why ODE outputs error with JDK1.6.
      2- is ODE not compatible with JDK 1.6
      3- When compiled ODE with JDK1.5.x, it is compiled successfully.
      4- Why processes deployed in ODE are not browsable..
      5- Why sendsoap.bat generates following error when executed under jdk1.5.x.
      command executed is as following:
      >sendsoap http://localhost:8080/ode/processes/helloWorld testRequest.soap
      error:
      >Exception in thread "main" java.lang.NoClassDefFoundError: \bin\java/exe

      6- When the sendsoap.bat is executed with JDK1.6 it works and produces following output.
      command executed :
      >sendsoap http://localhost:8080/ode/processes/helloWorld testRequest.soap
      error:
      >ERROR - AxisServlet.doGet(194) | org.apache.axis2.AxisFault: I can not find a service for this request to be serviced.
      Check the WSDL and the request URI; nested
      exception is: org.apache.axis2.AxisFault: I can not find a service for this request to be serviced. Check the WSDL
      and the request URI

      ERROR - AxisServlet.doGet(194) | org.apache.axis2.AxisFault: I can not find a servicefor this request to be serviced.
      Check the WSDL and the request URI; nested
      exception is: org.apache.axis2.AxisFault: I can not find a service for this request to be serviced. Check the WSDL
      and the request URI

      ==========================================================================================

      Maven output
      -------------------------------------------------

      D:\bpel\ode>mvn install -e
      + Error stacktraces are turned on.
      [INFO] Scanning for projects...
      [INFO] Reactor build order:
      [INFO] ODE
      [INFO] ODE :: Utilities
      [INFO] ODE :: Compiled BPEL Object Model
      [INFO] ODE :: BPEL Schemas
      [INFO] ODE :: BPEL API
      [INFO] ODE :: BPEL Test Scripts
      [INFO] ODE :: BPEL Compiler
      [INFO] ODE :: Universal JCA Resource Adapter (Client-Side) Library
      [INFO] ODE :: Command Line Tools
      [INFO] ODE :: Tools / Shell Scripts
      [INFO] ODE :: Java Concurrent Objects (JACOB) Annotation Processor
      [INFO] ODE :: Java Concurrent Objects (JACOB)
      [INFO] ODE :: BPEL Query Language
      [INFO] ODE :: BPEL DAO
      [INFO] ODE :: Hibernate DAO Implementation
      [INFO] ODE :: Process Configuration Store
      [INFO] ODE :: JPA DAO Impl
      [INFO] ODE :: OpenJPA DAO Impl Using Derby
      [INFO] ODE :: BPEL Scheduler - Quartz
      [INFO] ODE :: BPEL Runtime
      [INFO] ODE :: IL Utilities
      [INFO] ODE :: BPEL API (JCA)
      [INFO] ODE :: Universal JCA Server
      [INFO] ODE :: BPEL Connector
      [INFO] ODE :: AXIS2 Integration Layer
      [INFO] ODE :: Axis2 WAR
      [INFO] ODE :: BPEL Tests
      [INFO] ODE :: Hibernate DAO Database Generator
      [INFO] ODE :: JBI Component for Process Engine
      [INFO] ODE :: Universal JCA Resource Adapter Archive (RAR)
      [INFO] -------------------------------------------------------------------------

      [INFO] Building ODE
      [INFO] task-segment: [install]
      [INFO] -------------------------------------------------------------------------

      [INFO] [site:attach-descriptor]
      [INFO] [install:install]
      [INFO] Installing D:\bpel\ode\pom.xml to C:\Documents and Settings\Administrator
      \.m2\repository\org\apache\ode\ode\2.0-SNAPSHOT\ode-2.0-SNAPSHOT.pom
      [INFO] -------------------------------------------------------------------------

      [INFO] Building ODE :: Utilities
      [INFO] task-segment: [install]
      [INFO] -------------------------------------------------------------------------

      [INFO] [resources:resources]
      [INFO] Using default encoding to copy filtered resources.
      [INFO] [compiler:compile]
      Compiling 75 source files to D:\bpel\ode\utils\target\classes
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Compilation failure

      D:\bpel\ode\utils\src\main\java\org\apache\ode\utils\LoggingConnectionWrapper.java:[30,7] org.apache.ode.utils.LoggingConnectionWrapper is not abstract and does
      not override abstract method createStruct(java.lang.String,java.lang.Object[])
      in java.sql.Connection

      D:\bpel\ode\utils\src\main\java\org\apache\ode\utils\LoggingDataSourceWrapper.ja
      va:[31,7] org.apache.ode.utils.LoggingDataSourceWrapper is not abstract and does
      not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapp
      er

      D:\bpel\ode\utils\src\main\java\org\apache\ode\utils\LoggingStatementWrapper.jav
      a:[35,7] org.apache.ode.utils.LoggingStatementWrapper is not abstract and does n
      ot override abstract method setNClob(java.lang.String,java.io.Reader) in java.sq
      l.CallableStatement

      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      org.apache.maven.BuildFailureException: Compilation failure
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
      ultLifecycleExecutor.java:560)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
      fecycle(DefaultLifecycleExecutor.java:480)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
      ltLifecycleExecutor.java:459)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
      dleFailures(DefaultLifecycleExecutor.java:311)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
      ts(DefaultLifecycleExecutor.java:278)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
      fecycleExecutor.java:143)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation fail
      ure
      at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
      Mojo.java:505)
      at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
      nManager.java:443)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
      ultLifecycleExecutor.java:539)
      ... 16 more
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 9 seconds
      [INFO] Finished at: Wed Apr 18 17:43:27 GMT+05:00 2007
      [INFO] Final Memory: 12M/30M
      [INFO] ------------------------------------------------------------------------

      Attachments

        Activity

          People

            vanto Tammo van Lessen
            trafique Tariq Rafique
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: