This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: error in native code execution


Dear All,
i forgot to say The error in the log that i sent is :
java.lang.UnsatisfiedLinkError: registerNatives 
Thanks Mohamed Hegazy
----------------------------------------
> From: engmohheg@hotmail.com
> To: gcc-help@gcc.gnu.org; reyad@disi.unitn.it
> Subject: error in native code execution
> Date: Wed, 15 Jul 2009 21:01:05 +0300
>
>
> Dear All,
> when running the native code i found the following errors :i am using gcj44 and spring 2.5 ,first i faced the error that class edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap not found so i used the backport latest jar file and also i used the latest spring version ,so any one know what is the error? .
> 2009-07-15 19:36:39.210::INFO: Logging to STDERR via org.mortbay.log.StdErrLog2009-07-15 19:36:39.363::INFO: jetty-6.1.02009-07-15 19:36:39.446::INFO: Started SelectChannelConnector @ 0.0.0.0:525012009-07-15 19:36:49.966:/:INFO: Initializing Spring FrameworkServlet 'org.springframework.web.servlet.DispatcherServlet'2009-07-15 19:36:49,966 [btpool0-2] INFO DispatcherServlet - FrameworkServlet 'org.springframework.web.servlet.DispatcherServlet': initialization started2009-07-15 19:36:50,000 [btpool0-2] INFO XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@919be70: display name [WebApplicationContext for namespace 'org.springframework.web.servlet.DispatcherServlet-servlet']; startup date [Wed Jul 15 19:36:50 GMT 2009]; root of context hierarchy2009-07-15 19:36:50.165::WARN: EXCEPTION javax.servlet.ServletException: init at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:391) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:468) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:146) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:751) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:329) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)

Caused by: java.lang.UnsatisfiedLinkError: registerNatives 

at sun.misc.Unsafe.(Unsafe.java:28) at java.lang.Class.initializeClass(Unknown Source) at java.util.concurrent.locks.AbstractQueuedSynchronizer.(AbstractQueuedSynchronizer.java:2153) at java.lang.Class.initializeClass(Unknown Source) at java.lang.Class.initializeClass(Unknown Source) at java.lang.Class.initializeClass(Unknown Source) at edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantLock.(ReentrantLock.java:237) at edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap$Segment.(ConcurrentHashMap.java:291) at edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap.(ConcurrentHashMap.java:614) at edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap.(ConcurrentHashMap.java:645) at org.springframework.core.CollectionFactory$BackportConcurrentCollectionFactory.createConcurrentHashMap(CollectionFactory.java:342) at org.springframework.core.CollectionFactory$BackportConcurrentCollectionFactory.access$400(CollectionFactory.java:335) at org.springframework.core.CollectionFactory.createConcurrentMapIfPossible(CollectionFactory.java:200) at org.springframework.core.SimpleAliasRegistry.(SimpleAliasRegistry.java:41) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.(DefaultSingletonBeanRegistry.java:74) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.(FactoryBeanRegistrySupport.java:40) at org.springframework.beans.factory.support.AbstractBeanFactory.(AbstractBeanFactory.java:145) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.(AbstractAutowireCapableBeanFactory.java:140) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.(AbstractAutowireCapableBeanFactory.java:151) at org.springframework.beans.factory.support.DefaultListableBeanFactory.(DefaultListableBeanFactory.java:121) at org.springframework.context.support.AbstractRefreshableApplicationContext.createBeanFactory(AbstractRefreshableApplicationContext.java:176) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:121) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:354) at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:292) at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:262) at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:442) at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:370) ...14 more
> ThanksMohamed Hegazy
> _________________________________________________________________
> Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
>
> http://www.microsoft.com/windows/windowslive/products/photos.aspx

_________________________________________________________________
Show them the way! Add maps and directions to your party invites. 
http://www.microsoft.com/windows/windowslive/products/events.aspx


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]