Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2707

Sample helloworld-bpel and helloworld-bpel-ws fails while running with ant

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-SCA-1.4
    • Java-SCA-1.4
    • Java SCA Samples
    • None
    • Windows XP, SP2, IBM JDK 1.5

    Description

      Buildfile: build.xml

      run:
      [java] Dec 3, 2008 11:10:38 PM org.apache.tuscany.sca.node.impl.NodeImpl <init>
      [java] INFO: Creating node: helloworld.composite
      [java] Dec 3, 2008 11:10:40 PM org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      [java] INFO: Loading contribution: file:/C:/Tuscany/1.4.x/samples/helloworld-bpel/target/classes/
      [java] Dec 3, 2008 11:10:41 PM org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      [java] INFO: Loading composite: file:/C:/Tuscany/1.4.x/samples/helloworld-bpel/target/classes/helloworld.composite
      [java] Dec 3, 2008 11:10:41 PM org.apache.tuscany.sca.node.impl.NodeImpl start
      [java] INFO: Starting node: helloworld.composite
      [java] Dec 3, 2008 11:10:41 PM org.apache.geronimo.kernel.log.GeronimoLog info
      [java] INFO: Using embedded Geronimo transaction manager
      [java] Dec 3, 2008 11:10:41 PM org.apache.geronimo.kernel.log.GeronimoLog info
      [java] INFO: Starting BPELHelloWorldComponent
      [java] Dec 3, 2008 11:10:41 PM org.apache.geronimo.kernel.log.GeronimoLog info
      [java] INFO: Using Embedded Derby: jdbc:derby:C:\Tuscany\1.4.x\samples\helloworld-bpel\target\database/jpadb
      [java] Exception in thread "main" java.lang.ExceptionInInitializerError
      [java] at java.lang.J9VMInternals.initialize(J9VMInternals.java:205)
      [java] at java.lang.Class.newInstanceImpl(Native Method)
      [java] at java.lang.Class.newInstance(Class.java:1243)
      [java] at org.tranql.connector.jdbc.JDBCDriverMCF.setDriver(JDBCDriverMCF.java:145)
      [java] at org.apache.ode.il.dbutil.Database.initInternalDb(Database.java:198)
      [java] at org.apache.ode.il.dbutil.Database.initEmbeddedDb(Database.java:225)
      [java] at org.apache.ode.il.dbutil.Database.initDataSource(Database.java:144)
      [java] at org.apache.ode.il.dbutil.Database.start(Database.java:96)
      [java] at org.apache.tuscany.sca.implementation.bpel.ode.EmbeddedODEServer.initPersistence(EmbeddedODEServer.ja
      va:137)
      [java] at org.apache.tuscany.sca.implementation.bpel.ode.EmbeddedODEServer.init(EmbeddedODEServer.java:104)
      [java] at org.apache.tuscany.sca.implementation.bpel.ode.provider.BPELImplementationProvider.start(BPELImplemen
      tationProvider.java:95)
      [java] at org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(CompositeActivatorImpl.java:644)
      [java] at org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(CompositeActivatorImpl.java:560)
      [java] at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:668)
      [java] at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:182)
      [java] at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:97)
      [java] at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:182)
      [java] at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:63)
      [java] at helloworld.BPELClient.main(BPELClient.java:33)
      [java] Caused by: java.lang.SecurityException: sealing violation: package org.apache.derby.impl.services.locks is sealed
      [java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:524)
      [java] at java.net.URLClassLoader.access$400(URLClassLoader.java:119)
      [java] at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:961)
      [java] at java.security.AccessController.doPrivileged(AccessController.java:275)
      [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:487)
      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:602)
      [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:327)
      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:568)
      [java] at java.lang.Class.forNameImpl(Native Method)
      [java] at java.lang.Class.forName(Class.java:127)
      [java] at org.apache.derby.impl.services.monitor.BaseMonitor.getImplementations(Unknown Source)
      [java] at org.apache.derby.impl.services.monitor.BaseMonitor.getDefaultImplementations(Unknown Source)
      [java] at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Unknown Source)
      [java] at org.apache.derby.impl.services.monitor.FileMonitor.<init>(Unknown Source)
      [java] at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Unknown Source)
      [java] at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source)
      [java] at org.apache.derby.jdbc.EmbeddedDriver.boot(Unknown Source)
      [java] at org.apache.derby.jdbc.EmbeddedDriver.<clinit>(Unknown Source)
      [java] at java.lang.J9VMInternals.initializeImpl(Native Method)
      [java] at java.lang.J9VMInternals.initialize(J9VMInternals.java:187)
      [java] ... 18 more
      [java] Java Result: 1

      Attachments

        Activity

          People

            lresende Luciano Resende
            ramkumar.rj Ramkumar Ramalingam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: