Hi Karuna,
Seems like this is related to GCJ runtime that is available as the
default JVM of your system. I'm not familiar abut  GCJ compatibility
with  Axis2, may be some one else share his insights, meanwhile you
can try for this as a quick solution ,check your PATH env-variable and
remove those GCJ stuff from PATH and CLASSPATH ( Since you are using
jdk1.5.0_06 in JAVA_HOME) . HTH


Thanks ,

On Tue, Jun 2, 2009 at 7:19 PM, K JOSHI <[email protected]> wrote:
>
> Hi,
>
>   I was able to install Axis 2-1.4 on a Linux server. But I am unable to
> start the server. I get the following error. I have confirmed that the jaxws
> jar files are available in Axis' lib folder. I also ran 'setenv.sh ' in the
> bin directory  and copied these to the JDK lib directory with no success.
>   Any suggestions ?
>
> regards,
> Karuna
>
>  Using AXIS2_HOME:   /home/kjoshi1/axis2-1.4.1
>  Using JAVA_HOME:       /usr/local/jdk1.5.0_06
> [INFO] [SimpleAxisServer] Starting
> [INFO] [SimpleAxisServer] Using the Axis2
> Repository/home/kjoshi1/axis2-1.4.1/repository
> [SimpleAxisServer] Using the Axis2
> Repository/home/kjoshi1/axis2-1.4.1/repository
> [SimpleAxisServer] Using the Axis2 Configuration
> File/home/kjoshi1/axis2-1.4.1/conf/axis2.xml
> [FATAL] [SimpleAxisServer] Shutting down. Error starting SimpleAxisServer
> java.lang.NoClassDefFoundError: while resolving class:
> org.apache.axis2.jaxws.addressing.migrator.EndpointContextMapMigrator
>   at java.lang.VMClassLoader.transformException(java.lang.Class,
> java.lang.Throwable) (/usr/lib64/libgcj.so.6.0.0)
>   at java.lang.VMClassLoader.resolveClass(java.lang.Class)
> (/usr/lib64/libgcj.so.6.0.0)
>   at java.lang.Class.initializeClass() (/usr/lib64/libgcj.so.6.0.0)
>   at java.lang.Class.newInstance() (/usr/lib64/libgcj.so.6.0.0)
>   at
> org.apache.axis2.deployment.AxisConfigBuilder.processThreadContextMigrators(org.apache.axis2.engine.AxisConfiguration,
> org.apache.axiom.om.OMElement) (Unknown Source)
>   at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig()
> (Unknown Source)
>   at
> org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(java.io.InputStream)
> (Unknown Source)
>   at
> org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration()
> (Unknown Source)
>   at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(org.apache.axis2.engine.AxisConfigurator)
> (Unknown Source)
>   at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(java.lang.String,
> java.lang.String) (Unknown Source)
>   at
> org.apache.axis2.transport.SimpleAxis2Server.SimpleAxis2Server(java.lang.String,
> java.lang.String) (Unknown Source)
>   at org.apache.axis2.transport.SimpleAxis2Server.main(java.lang.String[])
> (Unknown Source)
>   at .main (/usr/lib64/libgij.so.6.0.0)
>   at .__libc_start_main (/lib64/libc-2.3.5.so)
> @
> --
> View this message in context: 
> http://www.nabble.com/Error-running-the-Axis2-server-tp23832893p23832893.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://sagaras.awardspace.com/

Reply via email to