Hi all,
                I have checked out the source code, tried to configure with the 
eclipse but getting the following error.

44  James  WARN   [main] openjpa.Runtime - An error occurred while registering 
a ClassTransformer with PersistenceUnitInfo: name 'James', root URL 
[file:/E:/JAMES_SRC_HOME/james-server-3.0-beta1/container-spring/target/classes/].
 The error has been consumed. To see it, set your openjpa.Runtime log level to 
TRACE. Load-time class transformation will not be available.
127  James  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0
207  James  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary".
18671  James  WARN   [main] openjpa.Enhance - The type 
"org.apache.james.domainlist.jpa.model.JPADomain" must have a no-args 
constructor. Adding a public no-args constructor.
18791  James  WARN   [main] openjpa.Enhance - The type 
"org.apache.james.rrt.jpa.model.JPARecipientRewrite" must have a no-args 
constructor. Adding a public no-args constructor.
2574  James  INFO   [main] openjpa.Runtime - The Entity 
"org.apache.james.mailbox.jpa.mail.model.JPAProperty" was enhanced at level 
"2", but the current level of enhancement is "1,055,128".
2582  James  INFO   [main] openjpa.Runtime - A down level Entity was detected 
and logged. Please enable RUNTIME trace to see all down level Entities.
2012-10-12 12:35:15,591 [main] WARN  james.mailetcontext - The specified 
postmaster address ( postmaster@localhost ) is not a local address.  This is 
not necessarily a problem, but it does mean that emails addressed to the 
postmaster will be routed to another server.  For some configurations this may 
cause problems.
Exception in thread "main" 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'registry' defined in class path resource 
[context/james-server-context.xml]: Invocation of init method failed; nested 
exception is java.rmi.server.ExportException: Port already in use: 9999; nested 
exception is:
      java.net.BindException: Address already in use: JVM_Bind
      at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
      at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
      at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
      at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
      at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:281)
      at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
      at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563)
      at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
      at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
      at 
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
      at 
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
      at 
org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:39)
      at org.apache.james.container.spring.Main.init(Main.java:66)
      at org.apache.james.container.spring.Main.main(Main.java:42)
Caused by: java.rmi.server.ExportException: Port already in use: 9999; nested 
exception is:
      java.net.BindException: Address already in use: JVM_Bind
      at sun.rmi.transport.tcp.TCPTransport.listen(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown Source)
      at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source)
      at sun.rmi.transport.LiveRef.exportObject(Unknown Source)
      at sun.rmi.server.UnicastServerRef.exportObject(Unknown Source)
      at sun.rmi.registry.RegistryImpl.setup(Unknown Source)
      at sun.rmi.registry.RegistryImpl.<init>(Unknown Source)
      at java.rmi.registry.LocateRegistry.createRegistry(Unknown Source)
      at 
org.springframework.remoting.rmi.RmiRegistryFactoryBean.getRegistry(RmiRegistryFactoryBean.java:230)
      at 
org.springframework.remoting.rmi.RmiRegistryFactoryBean.getRegistry(RmiRegistryFactoryBean.java:193)
      at 
org.springframework.remoting.rmi.RmiRegistryFactoryBean.afterPropertiesSet(RmiRegistryFactoryBean.java:164)
      at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
      at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
      ... 16 more
Caused by: java.net.BindException: Address already in use: JVM_Bind



But I checked with the ports,  nothing found which can effect this.

Thanks,
Prashanth K.



******************Legal Disclaimer***************************
"This communication may contain confidential and privileged
material for the sole use of the intended recipient. Any
unauthorized review, use or distribution by others is strictly
prohibited. If you have received the message in error, please
advise the sender by reply email and delete the message. Thank
you."
*********************************************************

Reply via email to