I reduced the configuration to the minimum. It consists of a circular setter dependency, and then a separate third constructor initialization which refers to one of circular items. Both have to be present, otherwise StackOverflow doesn't happen. I attached a configuration sample and a part of the log file, logged on "finer" level.

Scott Ferguson írta:
Hontvári József wrote:
I receive java.lang.StackOverflowError when Resin tries to read the configuration file:


[10-02-10 10:31:56.929] {resin-37} C:/Progra~1/mireka-1.2/conf/mireka.xml:325: com.caucho.confi
g.core.ResinIf.init(): java.lang.StackOverflowError

I believe there is no circular constructor dependency in the file. To be sure I replaced almost all constructor initialisation blocks with setter initialization. Is there a way to debug this error? There is no stack trace or anything else in the log.
Can you send that section of the configuration file? It looks like it's something to do with the <resin:if> like the test EL expression, although it could also be the contents of the if.

Also, it's possible that adding a <logger name="" level="finer"/> in the <resin> section will show the stack trace.

-- Scott
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest




_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


        <mireka:ScheduleFileDirQueue>
                <Named>submittedMailQueue</Named>
                <mireka:mailProcessorFactory>
                        #{primaryTransmitter}
                </mireka:mailProcessorFactory>
        </mireka:ScheduleFileDirQueue>


        <mireka:QueuingTransmitter>
                <Named>primaryTransmitter</Named>
                <mireka:queue>
                        #{submittedMailQueue}
                </mireka:queue>
        </mireka:QueuingTransmitter>
        
        <mireka:Dummy>
                <new>
                        #{primaryTransmitter}
                </new>
        </mireka:Dummy>

Resin-4.0.3 (built Tue, 05 Jan 2010 09:09:02 PST)
Copyright(c) 1998-2008 Caucho Technology.  All rights reserved.

  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

Starting Resin on Wed, 10 Feb 2010 20:39:23 +0100 (CET)

[10-02-10 20:39:24.288] {main} resin:import 'C:\Program 
Files\resin-4.0.3\conf\app-default.xml'
[10-02-10 20:39:24.429] {main} Resin[] init
[10-02-10 20:39:24.429] {main} Resin[] active
[10-02-10 20:39:24.538] {main} InjectManager[server:app-tier:main] add bean 
SingletonBean[InjectManager, {...@default()}]
[10-02-10 20:39:24.601] {main} InjectManager[server:app-tier:main] add bean 
XmlBean[DeployService, {...@default()}, @Singleton]
[10-02-10 20:39:24.632] {main} 'select-manager' requires Resin Professional.  
See http://www.caucho.com for information and licensing.
[10-02-10 20:39:24.648] {main} Server[id=,cluster=app-tier] starting
[10-02-10 20:39:24.648] {main} 
[10-02-10 20:39:24.648] {main} Windows XP 5.1 x86
[10-02-10 20:39:24.648] {main} Java(TM) SE Runtime Environment 1.6.0_18-b07, 
Cp1250, hu
[10-02-10 20:39:24.648] {main} Java HotSpot(TM) Client VM 16.0-b13, 32, mixed 
mode, sharing, Sun Microsystems Inc.
[10-02-10 20:39:24.648] {main} 
[10-02-10 20:39:24.648] {main} resin.home = C:\Program Files\resin-4.0.3\
[10-02-10 20:39:24.648] {main} resin.root = C:\Program Files\resin-4.0.3\
[10-02-10 20:39:24.648] {main} resin.conf = /C:/Program 
Files/resin-4.0.3/conf/resin.xml
[10-02-10 20:39:24.648] {main} 
[10-02-10 20:39:24.648] {main} server     = 127.0.0.1:6800 (app-tier:)
[10-02-10 20:39:24.648] {main} stage      = default
[10-02-10 20:39:24.648] {main} 
[10-02-10 20:39:24.648] {main} java.io.IOException: Socket JNI is not available 
because JNI support has not been compiled.
[10-02-10 20:39:24.648] {main}   On Unix, run ./configure; make; make install.  
On Windows, check for resin.dll.
[10-02-10 20:39:24.648] {main}   java.lang.UnsatisfiedLinkError: no resin_os in 
java.library.path
[10-02-10 20:39:24.648] {main}  at 
com.caucho.vfs.JniServerSocketImpl.checkJni(JniServerSocketImpl.java:121)
[10-02-10 20:39:24.648] {main}  at 
com.caucho.vfs.JniServerSocketImpl.create(JniServerSocketImpl.java:104)
[10-02-10 20:39:24.648] {main}  at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10-02-10 20:39:24.648] {main}  at 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[10-02-10 20:39:24.648] {main}  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[10-02-10 20:39:24.648] {main}  at java.lang.reflect.Method.invoke(Unknown 
Source)
[10-02-10 20:39:24.648] {main}  at 
com.caucho.vfs.QJniServerSocket.createJNI(QJniServerSocket.java:135)
[10-02-10 20:39:24.648] {main}  at 
com.caucho.vfs.QJniServerSocket.create(QJniServerSocket.java:73)
[10-02-10 20:39:24.648] {main}  at 
com.caucho.server.connection.Port.bind(Port.java:1070)
[10-02-10 20:39:24.648] {main}  at 
com.caucho.server.cluster.Server.startClusterPort(Server.java:2090)
[10-02-10 20:39:24.648] {main}  at 
com.caucho.server.cluster.Server.startClusterNetwork(Server.java:2046)
[10-02-10 20:39:24.648] {main}  at 
com.caucho.server.cluster.Server.start(Server.java:1949)
[10-02-10 20:39:24.648] {main}  at 
com.caucho.server.resin.Resin.createServer(Resin.java:963)
[10-02-10 20:39:24.648] {main}  at 
com.caucho.server.resin.Resin.start(Resin.java:1030)
[10-02-10 20:39:24.648] {main}  at 
com.caucho.server.resin.Resin.initMain(Resin.java:1574)
[10-02-10 20:39:24.648] {main}  at 
com.caucho.server.resin.Resin.main(Resin.java:1806)
[10-02-10 20:39:24.663] {main} server listening to localhost:6800
[10-02-10 20:39:24.663] {main} 
[10-02-10 20:39:24.710] {main} Database[null] active
[10-02-10 20:39:24.726] {main} Database[/C:/Program 
Files/resin-4.0.3/resin-data]: SELECT id, value, cache_id, flags,     
expire_timeout, idle_timeout,     lease_timeout, local_read_timeout,     
update_time,     server_version, item_version FROM resin_mnode_default WHERE 1=0
[10-02-10 20:39:24.804] {main} Table[resin_mnode_default] Resin-DB 4.0.2 loading
[10-02-10 20:39:24.804] {main} CREATE TABLE resin_mnode_default(id BINARY(32) 
UNIQUE NOT NULL,value BINARY(32),cache_id BINARY(32),expire_timeout 
BIGINT,idle_timeout BIGINT,lease_timeout BIGINT,local_read_timeout 
BIGINT,update_time BIGINT,item_version BIGINT,flags INTEGER,server_version 
INTEGER)
[10-02-10 20:39:24.819] {main} Table[resin_mnode_default:1] init
[10-02-10 20:39:24.851] {main} Database[/C:/Program 
Files/resin-4.0.3/resin-data]: SELECT MAX(server_version) FROM 
resin_mnode_default
[10-02-10 20:39:24.851] {main} Database[/C:/Program 
Files/resin-4.0.3/resin-data]: SELECT MAX(update_time) FROM resin_mnode_default
[10-02-10 20:39:24.851] {main} Database[/C:/Program 
Files/resin-4.0.3/resin-data]: DELETE FROM resin_mnode_default WHERE 
update_time + 5 * idle_timeout / 4 < ? OR update_time + expire_timeout < ?
[10-02-10 20:39:24.866] {main} Database[/C:/Program 
Files/resin-4.0.3/resin-data]: SELECT id, expire_time, data FROM 
resin_data_default WHERE 1=0
[10-02-10 20:39:24.866] {main} Table[resin_data_default] Resin-DB 4.0.2 loading
[10-02-10 20:39:24.866] {main} CREATE TABLE resin_data_default(id BINARY(32) 
UNIQUE NOT NULL,expire_time BIGINT,data BLOB)
[10-02-10 20:39:24.866] {main} Table[resin_data_default:2] init
[10-02-10 20:39:24.866] {main} Database[null] active
[10-02-10 20:39:24.882] {resin-38} Database[/C:/Program 
Files/resin-4.0.3/resin-data]: VALIDATE resin_data_default
[10-02-10 20:39:24.882] {main} Store[3] create
[10-02-10 20:39:24.882] {resin-38} Database[/C:/Program 
Files/resin-4.0.3/resin-data]: SELECT value, resin_oid FROM resin_mnode_default 
WHERE resin_oid > ?
[10-02-10 20:39:24.882] {resin-38} Database[/C:/Program 
Files/resin-4.0.3/resin-data]: UPDATE resin_data_default SET expire_time=? 
WHERE id=?
[10-02-10 20:39:24.882] {resin-38} Database[/C:/Program 
Files/resin-4.0.3/resin-data]: DELETE FROM resin_data_default WHERE expire_time 
< ?
[10-02-10 20:39:24.976] {main} HempBroker[aaa.app-tier.admin.resin] addActor 
jid=dep...@resin.caucho 
com.caucho.bam.simpleactorclient$queryfilterstr...@1cebc9f
[10-02-10 20:39:25.023] {main} InjectManager[host:default] add bean 
SingletonBean[InjectManager, {...@default()}]
[10-02-10 20:39:25.054] {main} InjectManager[web-app:/] add bean 
SingletonBean[InjectManager, {...@default()}]
[10-02-10 20:39:25.069] {main} Host[default] initializing
[10-02-10 20:39:25.069] {main} Host[default] root-directory=/C:/Program 
Files/resin-4.0.3/
[10-02-10 20:39:25.085] {main} WebAppExpandDeployGenerator[/C:/Program 
Files/resin-4.0.3/webapps] deploy/start false
[10-02-10 20:39:25.101] {main} Host[default] starting
[10-02-10 20:39:25.101] {main} InjectManager[host:default] add bean 
SingletonBean[Broker, {...@default()}, name=bamBroker]
[10-02-10 20:39:25.116] {main} InjectManager[web-app:http://default] add bean 
SingletonBean[InjectManager, {...@default()}]
[10-02-10 20:39:25.116] {main} WebApp[http://default] initializing
[10-02-10 20:39:25.132] {main} InjectManager[web-app:http://default] add bean 
SingletonBean[WebApp, {...@default()}]
[10-02-10 20:39:25.132] {main} WebApp[http://default] 
root-directory=/C:/Program Files/resin-4.0.3/webapps/ROOT
[10-02-10 20:39:25.194] {main} servlet-mapping *.jsp -> resin-jsp
[10-02-10 20:39:25.194] {main} servlet-mapping *.jspf -> resin-jsp
[10-02-10 20:39:25.194] {main} servlet-mapping *.jspx -> resin-jspx
[10-02-10 20:39:25.194] {main} servlet-mapping *.php -> resin-php
[10-02-10 20:39:25.194] {main} servlet-mapping / -> resin-file
[10-02-10 20:39:25.210] {main} resin:import '/C:/Program 
Files/resin-4.0.3/webapps/ROOT/WEB-INF/resin-web-pre.xml' is not readable.
[10-02-10 20:39:25.210] {main} resin:import '/C:/Program 
Files/resin-4.0.3/webapps/ROOT/WEB-INF/web.xml' is not readable.
[10-02-10 20:39:25.226] {main} resin:import '/C:/Program 
Files/resin-4.0.3/webapps/ROOT/WEB-INF/resin-web.xml' is not readable.
[10-02-10 20:39:25.226] {main} resin:import '/C:/Program 
Files/resin-4.0.3/webapps/ROOT/WEB-INF/resin-web-post.xml' is not readable.
[10-02-10 20:39:25.241] {main} WebApp[http://default] initializing
[10-02-10 20:39:25.257] {main} InjectManager[web-app:http://default] add bean 
ManagedBeanImpl[BasicLogin, {...@default()}]
[10-02-10 20:39:25.257] {main} Loading web-fragments for 
'WebApp[http://default]'.
[10-02-10 20:39:25.273] {main} WebApp[http://default] init
[10-02-10 20:39:25.273] {main} WebApp[http://default] starting
[10-02-10 20:39:25.273] {main} resin-jsp init
[10-02-10 20:39:25.273] {main} Servlet[resin-jsp] active
[10-02-10 20:39:25.273] {main} Servlet[resin-jsp] active
[10-02-10 20:39:25.288] {main} resin-jspx init
[10-02-10 20:39:25.288] {main} Servlet[resin-jspx] active
[10-02-10 20:39:25.288] {main} Servlet[resin-jspx] active
[10-02-10 20:39:25.288] {main} WebApp[http://default] active
[10-02-10 20:39:25.288] {main} 
InjectManager[web-app:http://default/resin-admin] add bean 
SingletonBean[InjectManager, {...@default()}]
[10-02-10 20:39:25.288] {main} WebApp[http://default/resin-admin] initializing
[10-02-10 20:39:25.288] {main} 
InjectManager[web-app:http://default/resin-admin] add bean 
SingletonBean[WebApp, {...@default()}]
[10-02-10 20:39:25.288] {main} WebApp[http://default/resin-admin] 
root-directory=/C:/Program Files/resin-4.0.3/doc/admin
[10-02-10 20:39:25.304] {main} servlet-mapping *.jsp -> resin-jsp
[10-02-10 20:39:25.304] {main} servlet-mapping *.jspf -> resin-jsp
[10-02-10 20:39:25.304] {main} servlet-mapping *.jspx -> resin-jspx
[10-02-10 20:39:25.304] {main} servlet-mapping *.php -> resin-php
[10-02-10 20:39:25.304] {main} servlet-mapping / -> resin-file
[10-02-10 20:39:25.304] {main} resin:import '/C:/Program 
Files/resin-4.0.3/doc/admin/WEB-INF/resin-web-pre.xml' is not readable.
[10-02-10 20:39:25.304] {main} resin:import '/C:/Program 
Files/resin-4.0.3/doc/admin/WEB-INF/web.xml' is not readable.
[10-02-10 20:39:25.319] {main} resin:import 'C:\Program 
Files\resin-4.0.3\doc\admin\WEB-INF\resin-web.xml'
[10-02-10 20:39:25.335] {main} servlet-mapping *.php -> *.php
[10-02-10 20:39:25.351] {main} 
InjectManager[web-app:http://default/resin-admin] add bean XmlBean[LoginList, 
{...@default()}, @Singleton]
[10-02-10 20:39:25.382] {main} 
InjectManager[web-app:http://default/resin-admin] add bean XmlBean[Allow, 
{...@default()}]
[10-02-10 20:39:25.398] {main} 
InjectManager[web-app:http://default/resin-admin] add bean XmlBean[IfNetwork, 
{...@default()}]
[10-02-10 20:39:25.398] {main} 
InjectManager[web-app:http://default/resin-admin] add bean 
XmlBean[IfUserInRole, {...@default()}]
[10-02-10 20:39:25.398] {main} resin:import '/C:/Program 
Files/resin-4.0.3/doc/admin/WEB-INF/resin-web-post.xml' is not readable.
[10-02-10 20:39:25.398] {main} WebApp[http://default/resin-admin] initializing
[10-02-10 20:39:25.413] {main} 
InjectManager[web-app:http://default/resin-admin] add bean XmlBean[FormLogin, 
{...@default()}, @Singleton]
[10-02-10 20:39:25.413] {main} 
InjectManager[web-app:http://default/resin-admin] add bean XmlBean[BasicLogin, 
{...@default()}]
[10-02-10 20:39:25.413] {main} Loading web-fragments for 
'WebApp[http://default/resin-admin]'.
[10-02-10 20:39:25.429] {main} WebApp[http://default/resin-admin] init
[10-02-10 20:39:25.429] {main} WebApp[http://default/resin-admin] starting
[10-02-10 20:39:25.429] {main} resin-jsp init
[10-02-10 20:39:25.429] {main} Servlet[resin-jsp] active
[10-02-10 20:39:25.429] {main} Servlet[resin-jsp] active
[10-02-10 20:39:25.429] {main} resin-jspx init
[10-02-10 20:39:25.429] {main} Servlet[resin-jspx] active
[10-02-10 20:39:25.429] {main} Servlet[resin-jspx] active
[10-02-10 20:39:25.429] {main} WebApp[http://default/resin-admin] active
[10-02-10 20:39:25.429] {main} InjectManager[web-app:http://default/resin-doc] 
add bean SingletonBean[InjectManager, {...@default()}]
[10-02-10 20:39:25.429] {main} WebApp[http://default/resin-doc] initializing
[10-02-10 20:39:25.429] {main} InjectManager[web-app:http://default/resin-doc] 
add bean SingletonBean[WebApp, {...@default()}]
[10-02-10 20:39:25.429] {main} WebApp[http://default/resin-doc] 
root-directory=/C:/Program Files/resin-4.0.3/doc/resin-doc
[10-02-10 20:39:25.429] {main} servlet-mapping *.jsp -> resin-jsp
[10-02-10 20:39:25.429] {main} servlet-mapping *.jspf -> resin-jsp
[10-02-10 20:39:25.429] {main} servlet-mapping *.jspx -> resin-jspx
[10-02-10 20:39:25.429] {main} servlet-mapping *.php -> resin-php
[10-02-10 20:39:25.429] {main} servlet-mapping / -> resin-file
[10-02-10 20:39:25.444] {main} resin:import '/C:/Program 
Files/resin-4.0.3/doc/resin-doc/WEB-INF/resin-web-pre.xml' is not readable.
[10-02-10 20:39:25.444] {main} resin:import '/C:/Program 
Files/resin-4.0.3/doc/resin-doc/WEB-INF/web.xml' is not readable.
[10-02-10 20:39:25.444] {main} resin:import 'C:\Program 
Files\resin-4.0.3\doc\resin-doc\WEB-INF\resin-web.xml'
[10-02-10 20:39:25.491] {main} loading driver: 
com.caucho.db.jdbc.ConnectionPoolDataSourceImpl
[10-02-10 20:39:25.507] {main} database java:comp/env/jdbc/resin starting
[10-02-10 20:39:25.507] {main} InjectManager[web-app:http://default/resin-doc] 
add bean SingletonBean[DataSource, {...@named('jdbc/resin')}, name=jdbc/resin]
[10-02-10 20:39:25.523] {main} servlet-mapping /viewfile/* -> viewfile
[10-02-10 20:39:25.523] {main} servlet-mapping *.xtp -> xtp-doc
[10-02-10 20:39:25.538] {main} servlet-mapping /javadoc/* -> javadoc
[10-02-10 20:39:25.554] {main} resin:import '/C:/Program 
Files/resin-4.0.3/doc/resin-doc/WEB-INF/resin-web-post.xml' is not readable.
[10-02-10 20:39:25.554] {main} WebApp[http://default/resin-doc] initializing
[10-02-10 20:39:25.554] {main} WebAppExpandDeployGenerator[/C:/Program 
Files/resin-4.0.3/doc/resin-doc/examples] deploy/start false
[10-02-10 20:39:25.616] {main} InjectManager[web-app:http://default/resin-doc] 
add bean ManagedBeanImpl[BasicLogin, {...@default()}]
[10-02-10 20:39:25.616] {main} Loading web-fragments for 
'WebApp[http://default/resin-doc]'.
[10-02-10 20:39:25.632] {main} WebApp[http://default/resin-doc] init
[10-02-10 20:39:25.632] {main} WebApp[http://default/resin-doc] starting
[10-02-10 20:39:25.632] {main} resin-jsp init
[10-02-10 20:39:25.632] {main} Servlet[resin-jsp] active
[10-02-10 20:39:25.632] {main} Servlet[resin-jsp] active
[10-02-10 20:39:25.648] {main} resin-jspx init
[10-02-10 20:39:25.648] {main} Servlet[resin-jspx] active
[10-02-10 20:39:25.648] {main} Servlet[resin-jspx] active
[10-02-10 20:39:25.648] {main} WebApp[http://default/resin-doc] active
[10-02-10 20:39:25.648] {main} InjectManager[web-app:http://default/mireka] add 
bean SingletonBean[InjectManager, {...@default()}]
[10-02-10 20:39:25.679] {main} WebApp[http://default/mireka] initializing
[10-02-10 20:39:25.679] {main} InjectManager[web-app:http://default/mireka] add 
bean SingletonBean[WebApp, {...@default()}]
[10-02-10 20:39:25.679] {main} WebApp[http://default/mireka] 
root-directory=/C:/Program Files/resin-4.0.3/webapps/mireka
[10-02-10 20:39:25.710] {main} WebBeans scanning 
file:/C:/Program%20Files/resin-4.0.3/webapps/mireka/WEB-INF/classes/
[10-02-10 20:39:25.710] {main} java.lang.UnsatisfiedLinkError: no resin_os in 
java.library.path
[10-02-10 20:39:26.179] {main} servlet-mapping *.jsp -> resin-jsp
[10-02-10 20:39:26.179] {main} servlet-mapping *.jspf -> resin-jsp
[10-02-10 20:39:26.179] {main} servlet-mapping *.jspx -> resin-jspx
[10-02-10 20:39:26.179] {main} servlet-mapping *.php -> resin-php
[10-02-10 20:39:26.179] {main} servlet-mapping / -> resin-file
[10-02-10 20:39:26.179] {main} resin:import 'C:\Program 
Files\resin-4.0.3\webapps\mireka\WEB-INF\resin-web-pre.xml'
[10-02-10 20:39:26.179] {main} resin:import '/C:/Program 
Files/resin-4.0.3/webapps/mireka/WEB-INF/web.xml' is not readable.
[10-02-10 20:39:26.194] {main} resin:import 'C:\Program 
Files\resin-4.0.3\webapps\mireka\WEB-INF\resin-web.xml'
[10-02-10 20:39:26.194] {main} resin:import 
'C:\Progra~1\mireka-1.2\conf\mireka.xml'
[10-02-10 20:39:26.226] {main} InjectManager[web-app:http://default/mireka] add 
bean XmlBean[ScheduleFileDirQueue, 
{...@javax.inject.named(value=submittedMailQueue)}, name=submittedMailQueue]
[10-02-10 20:39:26.241] {main} InjectManager[web-app:http://default/mireka] add 
bean XmlBean[QueuingTransmitter, 
{...@javax.inject.named(value=primaryTransmitter)}, name=primaryTransmitter]
[10-02-10 20:39:26.288] {main} WEB-INF/resin-web.xml:8: 
com.caucho.config.core.ResinImport.init(): java.lang.StackOverflowError
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.error(ConfigContext.java:1500)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:529)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.configureNode(ConfigContext.java:438)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.configureBean(ConfigContext.java:352)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.Config.configureBean(Config.java:359)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.Config.configureBean(Config.java:325)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.core.ResinImport.init(ResinImport.java:136)
[10-02-10 20:39:26.288] {main}  at 
sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
[10-02-10 20:39:26.288] {main}  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[10-02-10 20:39:26.288] {main}  at java.lang.reflect.Method.invoke(Unknown 
Source)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.j2ee.PostConstructProgram.inject(PostConstructProgram.java:121)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.type.BeanType.init(BeanType.java:403)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.configureChildBean(ConfigContext.java:776)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.configureBeanProperties(ConfigContext.java:759)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:522)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.configureAttribute(ConfigContext.java:391)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java:74)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.program.ContainerProgram.inject(ContainerProgram.java:85)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.program.ConfigProgram.configure(ConfigProgram.java:70)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:389)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:55)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.deploy.DeployController.startImpl(DeployController.java:691)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:557)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.webapp.WebAppContainer.startImpl(WebAppContainer.java:719)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.host.Host.startImpl(Host.java:502)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:699)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.deploy.DeployController.startImpl(DeployController.java:693)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:557)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.host.HostContainer.start(HostContainer.java:487)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.cluster.Server.start(Server.java:1978)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.resin.Resin.createServer(Resin.java:963)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.resin.Resin.start(Resin.java:1030)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.resin.Resin.initMain(Resin.java:1574)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.server.resin.Resin.main(Resin.java:1806)
[10-02-10 20:39:26.288] {main} Caused by: com.caucho.config.ConfigException: 
com.caucho.config.core.ResinImport.init(): java.lang.StackOverflowError
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigException.create(ConfigException.java:102)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigException.create(ConfigException.java:130)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.j2ee.PostConstructProgram.inject(PostConstructProgram.java:123)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.type.BeanType.init(BeanType.java:403)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.configureChildBean(ConfigContext.java:776)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.configureBeanProperties(ConfigContext.java:759)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:522)
[10-02-10 20:39:26.288] {main}  ... 36 more
[10-02-10 20:39:26.288] {main} Caused by: java.lang.StackOverflowError
[10-02-10 20:39:26.288] {main}  at java.util.HashMap.get(Unknown Source)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.type.BeanType.getAttribute(BeanType.java:261)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.getAttribute(ConfigContext.java:539)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:506)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.configureAttribute(ConfigContext.java:391)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java:74)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.types.XmlBean.inject(XmlBean.java:160)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.types.XmlBean.create(XmlBean.java:121)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.inject.InjectManager.getInstanceRec(InjectManager.java:1359)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.inject.InjectManager.getReference(InjectManager.java:1311)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.inject.InjectManager.getReference(InjectManager.java:1323)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.el.WebBeansContextResolver.getValue(WebBeansContextResolver.java:95)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.el.StackELResolver.getValue(StackELResolver.java:143)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.el.IdExpr.getValue(IdExpr.java:100)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.type.ConfigType.valueOf(ConfigType.java:139)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.eval(ConfigContext.java:1296)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.configureInlineText(ConfigContext.java:613)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:517)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.ConfigContext.configureAttribute(ConfigContext.java:391)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java:74)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.types.XmlBean.inject(XmlBean.java:160)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.types.XmlBean.create(XmlBean.java:121)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.inject.InjectManager.getInstanceRec(InjectManager.java:1359)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.inject.InjectManager.getReference(InjectManager.java:1311)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.inject.InjectManager.getReference(InjectManager.java:1323)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.config.el.WebBeansContextResolver.getValue(WebBeansContextResolver.java:95)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.el.StackELResolver.getValue(StackELResolver.java:143)
[10-02-10 20:39:26.288] {main}  at 
com.caucho.el.IdExpr.getValue(IdExpr.java:100)

...

[10-02-10 20:39:26.319] {main}  at 
com.caucho.el.IdExpr.getValue(IdExpr.java:100)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.config.type.ConfigType.valueOf(ConfigType.java:139)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.config.ConfigContext.eval(ConfigContext.java:1296)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.config.ConfigContext.configureInlineText(ConfigContext.java:613)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:517)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.config.ConfigContext.configureAttribute(ConfigContext.java:391)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.config.program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java:74)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.config.types.XmlBean.inject(XmlBean.java:160)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.config.types.XmlBean.create(XmlBean.java:121)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.config.inject.InjectManager.getInstanceRec(InjectManager.java:1359)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.config.inject.InjectManager.getReference(InjectManager.java:1311)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.config.inject.InjectManager.getReference(InjectManager.java:1323)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.config.el.WebBeansContextResolver.getValue(WebBeansContextResolver.java:95)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.el.StackELResolver.getValue(StackELResolver.java:143)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.el.IdExpr.getValue(IdExpr.java:100)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.config.type.ConfigType.valueOf(ConfigType.java:139)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.config.ConfigContext.eval(ConfigContext.java:1296)
[10-02-10 20:39:26.319] {main} Host[default] active
[10-02-10 20:39:26.319] {main} 
[10-02-10 20:39:26.319] {main} java.io.IOException: Socket JNI is not available 
because JNI support has not been compiled.
[10-02-10 20:39:26.319] {main}   On Unix, run ./configure; make; make install.  
On Windows, check for resin.dll.
[10-02-10 20:39:26.319] {main}   java.lang.UnsatisfiedLinkError: no resin_os in 
java.library.path
[10-02-10 20:39:26.319] {main}  at 
com.caucho.vfs.JniServerSocketImpl.checkJni(JniServerSocketImpl.java:121)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.vfs.JniServerSocketImpl.create(JniServerSocketImpl.java:104)
[10-02-10 20:39:26.319] {main}  at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10-02-10 20:39:26.319] {main}  at 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[10-02-10 20:39:26.319] {main}  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[10-02-10 20:39:26.319] {main}  at java.lang.reflect.Method.invoke(Unknown 
Source)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.vfs.QJniServerSocket.createJNI(QJniServerSocket.java:135)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.vfs.QJniServerSocket.create(QJniServerSocket.java:73)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.vfs.QJniServerSocket.create(QJniServerSocket.java:61)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.server.connection.Port.bind(Port.java:1076)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.server.cluster.Server.bindPorts(Server.java:2131)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.server.cluster.Server.start(Server.java:1987)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.server.resin.Resin.createServer(Resin.java:963)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.server.resin.Resin.start(Resin.java:1030)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.server.resin.Resin.initMain(Resin.java:1574)
[10-02-10 20:39:26.319] {main}  at 
com.caucho.server.resin.Resin.main(Resin.java:1806)
[10-02-10 20:39:26.319] {main} http listening to *:8080
[10-02-10 20:39:26.804] {main} https listening to *:8143
[10-02-10 20:39:26.804] {main} 
[10-02-10 20:39:26.804] {main} Server[id=,cluster=app-tier] active
[10-02-10 20:39:26.835] {main} Resin[id=] started in 3297ms
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to