[jboss-user] [JBoss Seam] - StackOverflowError and

svadu do-not-reply at jboss.com
Sun Dec 24 22:05:17 EST 2006


HI All,

Trying to run JBoss Seam on Resin under linux (works in my development environment under win xp).

Getting the following strange errors upon startup:


anonymous wrote : 
  | 01:28:30,148 INFO  [AnnotationBinder] Binding entity from annotated class: org.emaps.dao.UserBean
  | 01:28:30,148 INFO  [EntityBinder] Bind entity org.emaps.dao.UserBean on table users
  | 01:28:30,151 INFO  [AnnotationBinder] Binding entity from annotated class: org.emaps.dao.CityBean
  | 01:28:30,152 INFO  [EntityBinder] Bind entity org.emaps.dao.CityBean on table NP
  | 01:28:30,545 INFO  [CollectionBinder] Mapping collection: org.emaps.dao.CountryBean.regionses -> REGIONS
  | 01:28:30,545 INFO  [CollectionBinder] Mapping collection: org.emaps.dao.RegionBean.districts -> DISTRICTS
  | 01:28:30,686 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory, java.naming.factory
  | .url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | 01:28:30,691 INFO  [DatasourceConnectionProvider] Using datasource: java:/EmapsDS
  | [01:28:31.209] java.lang.RuntimeException: exception invoking: startup
  | [01:28:31.209]  at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:112)
  | [01:28:31.209]  at org.jboss.seam.Component.callComponentMethod(Component.java:1799)
  | [01:28:31.209]  at org.jboss.seam.Component.callCreateMethod(Component.java:1739)
  | [01:28:31.209]  at org.jboss.seam.Component.newInstance(Component.java:1728)
  | [01:28:31.209]  at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:152)
  | [01:28:31.209]  at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:126)
  | [01:28:31.209]  at org.jboss.seam.init.Initialization.init(Initialization.java:430)
  | [01:28:31.209]  at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
  | [01:28:31.209]  at com.caucho.server.webapp.Application.start(Application.java:1647)
  | [01:28:31.209]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
  | [01:28:31.209]  at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:584)
  | [01:28:31.209]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRedeployAutoStrategy.java:176)
  | [01:28:31.209]  at com.caucho.server.deploy.DeployController.handleAlarm(DeployController.java:742)
  | [01:28:31.209]  at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
  | [01:28:31.209]  at com.caucho.util.Alarm.run(Alarm.java:309)
  | [01:28:31.209]  at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
  | [01:28:31.209]  at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
  | [01:28:31.209]  at java.lang.Thread.run(Thread.java:595)
  | [01:28:31.209] Caused by: java.lang.reflect.InvocationTargetException
  | [01:28:31.209]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | [01:28:31.209]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | [01:28:31.209]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | [01:28:31.209]  at java.lang.reflect.Method.invoke(Method.java:585)
  | [01:28:31.209]  at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | [01:28:31.209]  at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
  | [01:28:31.209]  ... 17 more
  | [01:28:31.209] Caused by: java.lang.StackOverflowError
  | [01:28:31.209]  at org.jboss.resource.JBossResourceException.getCause(JBossResourceException.java:132)
  | [01:28:31.209]  at javax.resource.ResourceException.getLinkedException(ResourceException.java:78)
  | [01:28:31.209]  at org.jboss.resource.JBossResourceException.getCause(JBossResourceException.java:132)
  | [01:28:31.209]  at javax.resource.ResourceException.getLinkedException(ResourceException.java:78)
  | 

skipped (very long repeating stack trace)...

anonymous wrote : 
  | [01:28:31.240]  at javax.resource.ResourceException.getLinkedException(ResourceException.java:78)
  | 01:28:31,178 WARN  [LocalTxDataSource] Throwable while attempting to get a new connection: null
  | 01:28:31,567 INFO  [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
  | 

Using pojo + jpa here.

Any idea what this could be? Completely the same deployment works on another PC under windows...

Thanks in advance,

Siarhei

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996150#3996150

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996150



More information about the jboss-user mailing list