Hi Rajan, There seems to be an issue in the build on JDK-1.5, I will get this resolved ASAP and let you know.
Thanks, Ruwan On Thu, Sep 24, 2009 at 6:45 PM, Rajan Mahadevan <[email protected]> wrote: > Hi, > I checked out synapse sources from > http://svn.apache.org/repos/asf/synapse/branches/1.3/ and built the > sources with mvn clean install. I also removed the tests in the bsf > and javascript packages and the build and tests worked. > I unzipped the > C:\synapse-1.3\modules\distribution\target\synapse-1.3.0-SNAPSHOT-bin.zip > in my c:\ directory and when I launch synapse, then I get the > following error. > C:\synapse-1.3.0-SNAPSHOT\bin>synapse.bat -sample 0 > "Starting Synapse/Java ..." > Using SYNAPSE_HOME: C:\SYNAPS~1.0-S\bin\.. > Using JAVA_HOME: C:\jdk1.5.0_15 > --> Wrapper Started as Console > Launching a JVM... > Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org > Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. > > WrapperSimpleApp: Unable to locate the class > org.apache.synapse.SynapseServer: j > ava.lang.NoClassDefFoundError: org/slf4j/LoggerFactory > > WrapperSimpleApp Usage: > java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} > [app_arguments] > > Where: > app_class: The fully qualified class name of the application to run. > app_arguments: The arguments that would normally be passed to the > application. > <-- Wrapper Stopped > Press any key to continue . . . > > When I try mvn assembly:assembly -Drelease -o -Dmaven.test.skip=true > at the parent module directory, then the distribution module still > builds fine but the build fails at > > [INFO] Building Apache Synapse - Package archetype > [INFO] > ------------------------------------------------------------------------ > [WARNING] Removing: jar from forked lifecycle, to prevent recursive > invocation. > [INFO] [resources:resources] > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 9 resources > [INFO] [resources:testResources] > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory > C:\synapse-1.3\modules\packaging\pack > age-archetype\src\test\resources > [INFO] Setting property: classpath.resource.loader.class => > 'org.codehaus.plexus > .velocity.ContextClassLoaderResourceLoader'. > [INFO] Setting property: velocimacro.messages.on => 'false'. > [INFO] Setting property: resource.loader => 'classpath'. > [INFO] Setting property: resource.manager.logwhenfound => 'false'. > [INFO] [archetype:jar] > [INFO] [archetype:add-archetype-metadata] > [INFO] [assembly:assembly] > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error reading assemblies: No assembly descriptors found. > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 2 minutes 5 seconds > [INFO] Finished at: Thu Sep 24 09:04:48 EDT 2009 > [INFO] Final Memory: 53M/63M > [INFO] > ------------------------------------------------------------------------ > > I am trying to get the latest build of Synapse snapshots going to > check if the Http NIO Reactor looping problem still exists for bad > http request. > > Rajan > -- Ruwan Linton Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb WSO2 Inc.; http://wso2.org email: [email protected]; cell: +94 77 341 3097 blog: http://ruwansblog.blogspot.com
