[JBoss-user] Hypersonic : Access is denied
Hi All, I found out why I was getting an error stating that there was no buffer space for a file descriptor. It lead backwards to consistent messages about "neighbour table overflow", which lead me to configure my lo interface (Debian linux). I'm very grateful to google.com - which helped me track down both problems, neither of which were JBoss problems. :) Now I'm getting a different error! Hypersonic is telling me "Access is denied" when I'm trying to connect as user 'sa'. Is there a special user/password combo I should be using? I'm using 'sa' and 'foo' for them, respectively. Enclosed are the log and the jboss.jcml files... thanks anyone! JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar jboss.home = /home/vocalist/jboss/JBoss-2.2.1 Using configuration "default" [Info] Java version: 1.3.0,Blackdown Java-Linux Team [Info] Java VM: Java HotSpot(TM) Server VM Blackdown-1.3.0-FCS,Blackdown Java-Linux Team [Info] System: Linux 2.2.17,i386 [Shutdown] Shutdown hook added [Service Control] Registered with server [Service Control] Initializing 24 MBeans [Webserver] Initializing [Webserver] Initialized [Naming] Initializing [Naming] Initialized [JNDIView] Initializing [JNDIView] Initialized [Transaction manager] Initializing [Transaction manager] Initialized [JAAS Security Manager] Initializing [JAAS Security Manager] Initialized [JDBC provider] Initializing [JDBC provider] Loaded JDBC-driver:org.hsql.jdbcDriver [JDBC provider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver [JDBC provider] Initialized [Hypersonic] Initializing [Hypersonic] Initialized [InstantDB] Initializing [InstantDB] Initialized [DefaultDS] Initializing [DefaultDS] Initialized [Container factory] Initializing [Container factory] Initialized [JBossMQ] Initializing [JBossMQ] Initialized [DefaultJMSProvider] Initializing [DefaultJMSProvider] Initialized [StdJMSPool] Initializing [StdJMSPool] Initialized [J2EE Deployer Default] Initializing [J2EE Deployer Default] Initialized [Auto deploy] Initializing [Auto deploy] Initialized [RARDeployer] Initializing [RARDeployer] Initialized [ConnectionManagerFactoryLoader] Initializing [MinervaNoTransCMFactory] Initialized [ConnectionManagerFactoryLoader] Initializing [MinervaSharedLocalCMFactory] Initialized [ConnectionManagerFactoryLoader] Initializing [MinervaXACMFactory] Initialized [ConnectionFactoryLoader] Initializing [BlackBoxDS] Initialized [JMX RMI Adaptor] Initializing [JMX RMI Adaptor] Initialized [JMX RMI Connector] Initializing [JMX RMI Connector] Initialized [Mail Service] Initializing [Mail Service] Initialized [Service Control] Initialized 24 services [Service Control] Starting 24 MBeans [Webserver] Starting [Webserver] Codebase set to http://heaven.private.internal:8083/ [Webserver] Started webserver on port 8083 [Webserver] Started [Naming] Starting [Naming] Naming started on port 1099 [Naming] Started [JNDIView] Starting [JNDIView] Started [Transaction manager] Starting [Transaction manager] Started [JAAS Security Manager] Starting [JAAS Security Manager] JAAS.startService, cachePolicy=null [JAAS Security Manager] JAAS.startService, SecurityProxyFactory=org.jboss.security.SubjectSecurityProxyFactory@3adc56 [JAAS Security Manager] Started [JDBC provider] Starting [JDBC provider] Started [Hypersonic] Starting [Hypersonic] port=1476 [Hypersonic] database=/home/vocalist/jboss/JBoss-2.2.1/db/hypersonic/default [Hypersonic] silent =false [Hypersonic] Server 1.4 is running [Hypersonic] Database started [Hypersonic] Started [InstantDB] Starting registerDriver: driver[className=org.opentools.minerva.jdbc.xa.XAPoolDriver,org.opentools.minerva.jdbc.xa.XAPoolDriver@56a05e] [InstantDB] XA Connection pool InstantDB bound to java:/InstantDB DriverManager.getConnection("jdbc:idb:../conf/default/instantdb.properties") trying driver[className=org.hsql.jdbcDriver,org.hsql.jdbcDriver@3cc0bc] trying driver[className=org.enhydra.instantdb.jdbc.idbDriver,org.enhydra.instantdb.jdbc.idbDriver@2d263f] [Hypersonic] Press [Ctrl]+[C] to abort Enhydra InstantDB - Version 3.26 [InstantDB] The Initial Developer of the Original Code is Lutris Technologies Inc. Portions created by Lutris are Copyright (C) 1997-2001 Lutris Technologies, Inc. All Rights Reserved. getConnection returning driver[className=org.enhydra.instantdb.jdbc.idbDriver,org.enhydra.instantdb.jdbc.idbDriver@2d263f] [InstantDB] org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl created new Connection (org.enhydra.instantdb.jdbc.idbConnection) with XAResource org.opentools.minerva.jdbc.xa.wrapper.XAResourceImpl and XAConnection org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl. [InstantDB] No transaction right now. [InstantDB] Pool InstantDB [0/0/10] gave out new object: org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@3e0e27 [InstantDB] Pool InstantDB [0/1/10] returned object org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@3e0e27 to the pool. [InstantDB] Started [DefaultDS] Startin
[JBoss-user] What's this error mean?
I'm trying to run JBoss+Linux (Debian with a 2.2.17 kernel) and have a strange error in the startup secion for DefaultDS - can anyone tell me what it means? "[DefaultDS] java.sql.SQLException: Connection is broken: errno: 105, error: No buffer space available for fd: 70" The stack trace is in the log, but it seems to be generated from the error I quoted above. Enclosed are my jboss.jcml and log files - with some portions snipped out. thanks anyone! Brian JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar jboss.home = /home/vocalist/jboss/JBoss-2.2.1 Using configuration "default" [Info] Java version: 1.3.0,Blackdown Java-Linux Team [Info] Java VM: Java HotSpot(TM) Server VM Blackdown-1.3.0-FCS,Blackdown Java-Linux Team [Info] System: Linux 2.2.17,i386 [Shutdown] Shutdown hook added [Service Control] Registered with server [Service Control] Initializing 24 MBeans ... normal init messages... [Service Control] Initialized 24 services [Service Control] Starting 24 MBeans ... normal startup messages... [Webserver] Starting [Webserver] Codebase set to http://heaven.private.internal:8083/ [Webserver] Started webserver on port 8083 [Webserver] Started ... normal startup messages... [Hypersonic] Starting [Hypersonic] port=1476 [Hypersonic] database=/home/vocalist/jboss/JBoss-2.2.1/db/hypersonic/default [Hypersonic] silent =false [Hypersonic] Server 1.4 is running [Hypersonic] Database started [Hypersonic] Started [InstantDB] Starting [Hypersonic] Press [Ctrl]+[C] to abort registerDriver: driver[className=org.opentools.minerva.jdbc.xa.XAPoolDriver,org.opentools.minerva.jdbc.xa.XAPoolDriver@56a05e] [InstantDB] XA Connection pool InstantDB bound to java:/InstantDB DriverManager.getConnection("jdbc:idb:../conf/default/instantdb.properties") trying driver[className=org.hsql.jdbcDriver,org.hsql.jdbcDriver@e790c] trying driver[className=org.enhydra.instantdb.jdbc.idbDriver,org.enhydra.instantdb.jdbc.idbDriver@5a9de6] Enhydra InstantDB - Version 3.26 [InstantDB] The Initial Developer of the Original Code is Lutris Technologies Inc. Portions created by Lutris are Copyright (C) 1997-2001 Lutris Technologies, Inc. All Rights Reserved. getConnection returning driver[className=org.enhydra.instantdb.jdbc.idbDriver,org.enhydra.instantdb.jdbc.idbDriver@5a9de6] [InstantDB] org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl created new Connection (org.enhydra.instantdb.jdbc.idbConnection) with XAResource org.opentools.minerva.jdbc.xa.wrapper.XAResourceImpl and XAConnection org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl. [InstantDB] No transaction right now. [InstantDB] Pool InstantDB [0/0/10] gave out new object: org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@3e0e27 [InstantDB] Pool InstantDB [0/1/10] returned object org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@3e0e27 to the pool. [InstantDB] Started (looks like InstantDB starts correctly... yes?) [DefaultDS] Starting [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS DriverManager.getConnection("jdbc:HypersonicSQL:hsql://heaven.private.internal:1476") trying driver[className=org.hsql.jdbcDriver,org.hsql.jdbcDriver@e790c] [DefaultDS] java.sql.SQLException: Connection is broken: errno: 105, error: No buffer space available for fd: 70 [DefaultDS] at org.hsql.Trace.getError(Trace.java:124) [DefaultDS] at org.hsql.Trace.getError(Trace.java:115) [DefaultDS] at org.hsql.Trace.error(Trace.java:130) [DefaultDS] at org.hsql.jdbcConnection.reconnectHSQL(jdbcConnection.java:621) [DefaultDS] at org.hsql.jdbcConnection.openHSQL(jdbcConnection.java:605) [DefaultDS] at org.hsql.jdbcConnection.(jdbcConnection.java:523) [DefaultDS] at org.hsql.jdbcDriver.connect(jdbcDriver.java:78) [DefaultDS] at java.sql.DriverManager.getConnection(DriverManager.java:517) [DefaultDS] at java.sql.DriverManager.getConnection(DriverManager.java:177) [DefaultDS] at org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl.getXAConnection(XADataSourceImpl.java:118) [DefaultDS] at org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl.getXAConnection(XADataSourceImpl.java:151) [DefaultDS] at org.opentools.minerva.jdbc.xa.XAConnectionFactory.createObject(XAConnectionFactory.java:246) [DefaultDS] at org.opentools.minerva.pool.ObjectPool.createNewObject(ObjectPool.java:819) [DefaultDS] at org.opentools.minerva.pool.ObjectPool.getObject(ObjectPool.java:569) [DefaultDS] at org.opentools.minerva.pool.ObjectPool.getObject(ObjectPool.java:521) [DefaultDS] at org.opentools.minerva.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:165) [DefaultDS] at org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:330) [DefaultDS] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93) [DefaultDS] at java.lang.reflect.Method.invoke(Native Method) [DefaultDS] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
[JBoss-user] Specified the wrong name (localhost vs DNS name) to get DefaultDSproblem?
The Allisons wrote: > > Thanks guys, > > I checked the port for HypersonicSQL, and it's the same port (1476) that's being >expected. I also set the logging on for hSQL, InstantDB and DefaultDS (think the >latter 2 were already on) and have trapped their output in the log. > > I also set the timeout values back to the default values (18, I think). > > And I got a different error this time! (progress? :) > > I do kind of wish there were a tar file instead of a zip file - I'm not sure if >there's a permissions problem. AFAIK the only thing needing an execute bit would be >the run.sh script, but I'll grasp at straws... > > log is attached, as is my entire jboss.jcml file > > thanks for any (more) help, Out of curiosity I changed the "localhost" entries in my jboss.jcml to my DNS name for my machine (heaven.private.internal) and got a different error! New log/jboss.jcml files are attached - can anyone tell me what the new error means? "[DefaultDS] java.sql.SQLException: Connection is broken: errno: 105, error: No buffer space available for fd: 70" > Brian > > "danch (Dan Christopherson)" wrote: > > > > Looks like HypersonicSQL isn't listening on that port. > > > > Dave Ortman wrote: > > > > You're asking a bit much from the database with the timeout that you set - 18 > > miliseconds. Put 4 or 5 zeros at the end of that and it should work fine. > > > > 18 > > > > -Dave Ortman > > > The Allisons wrote: > > > > > I'm not sure what I'm doing wrong, but it looks as if DefaultDS isn't coming >up correctly. > > > > > > Can anyone tell me if I've got something wrong in my jboss.jcml? > > > > > > The pertinet parts of jboss.jcml and the log are attached. > > > JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar jboss.home = /home/vocalist/jboss/JBoss-2.2.1 Using configuration "default" [Info] Java version: 1.3.0,Blackdown Java-Linux Team [Info] Java VM: Java HotSpot(TM) Server VM Blackdown-1.3.0-FCS,Blackdown Java-Linux Team [Info] System: Linux 2.2.17,i386 [Shutdown] Shutdown hook added [Service Control] Registered with server [Service Control] Initializing 24 MBeans ... normal init messages... [Service Control] Initialized 24 services [Service Control] Starting 24 MBeans ... normal startup messages... [Webserver] Starting [Webserver] Codebase set to http://heaven.private.internal:8083/ [Webserver] Started webserver on port 8083 [Webserver] Started ... normal startup messages... [Hypersonic] Starting [Hypersonic] port=1476 [Hypersonic] database=/home/vocalist/jboss/JBoss-2.2.1/db/hypersonic/default [Hypersonic] silent =false [Hypersonic] Server 1.4 is running [Hypersonic] Database started [Hypersonic] Started [InstantDB] Starting [Hypersonic] Press [Ctrl]+[C] to abort registerDriver: driver[className=org.opentools.minerva.jdbc.xa.XAPoolDriver,org.opentools.minerva.jdbc.xa.XAPoolDriver@56a05e] [InstantDB] XA Connection pool InstantDB bound to java:/InstantDB DriverManager.getConnection("jdbc:idb:../conf/default/instantdb.properties") trying driver[className=org.hsql.jdbcDriver,org.hsql.jdbcDriver@e790c] trying driver[className=org.enhydra.instantdb.jdbc.idbDriver,org.enhydra.instantdb.jdbc.idbDriver@5a9de6] Enhydra InstantDB - Version 3.26 [InstantDB] The Initial Developer of the Original Code is Lutris Technologies Inc. Portions created by Lutris are Copyright (C) 1997-2001 Lutris Technologies, Inc. All Rights Reserved. getConnection returning driver[className=org.enhydra.instantdb.jdbc.idbDriver,org.enhydra.instantdb.jdbc.idbDriver@5a9de6] [InstantDB] org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl created new Connection (org.enhydra.instantdb.jdbc.idbConnection) with XAResource org.opentools.minerva.jdbc.xa.wrapper.XAResourceImpl and XAConnection org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl. [InstantDB] No transaction right now. [InstantDB] Pool InstantDB [0/0/10] gave out new object: org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@3e0e27 [InstantDB] Pool InstantDB [0/1/10] returned object org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@3e0e27 to the pool. [InstantDB] Started (looks like InstantDB starts correctly... yes?) [DefaultDS] Starting [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS DriverManager.getConnection("jdbc:HypersonicSQL:hsql://heaven.private.internal:1476") trying driver[className=org.hsql.jdbcDriver,org.hsql.jdbcDriver@e790c] [DefaultDS] java.sql.SQLException: Connection is broken: errno: 105, error: No buffer space available for fd: 70 [DefaultDS] at org.hsql.Trace.getError(Trace.java:124) [DefaultDS] at org.hsql.Trace.getError(Tr
Re: [JBoss-user] DefaultDS?
Thanks guys, I checked the port for HypersonicSQL, and it's the same port (1476) that's being expected. I also set the logging on for hSQL, InstantDB and DefaultDS (think the latter 2 were already on) and have trapped their output in the log. I also set the timeout values back to the default values (18, I think). And I got a different error this time! (progress? :) I do kind of wish there were a tar file instead of a zip file - I'm not sure if there's a permissions problem. AFAIK the only thing needing an execute bit would be the run.sh script, but I'll grasp at straws... log is attached, as is my entire jboss.jcml file thanks for any (more) help, Brian "danch (Dan Christopherson)" wrote: > > Looks like HypersonicSQL isn't listening on that port. > Dave Ortman wrote: > > You're asking a bit much from the database with the timeout that you set - 18 > miliseconds. Put 4 or 5 zeros at the end of that and it should work fine. > > 18 > > -Dave Ortman > The Allisons wrote: > > > I'm not sure what I'm doing wrong, but it looks as if DefaultDS isn't coming up >correctly. > > > > Can anyone tell me if I've got something wrong in my jboss.jcml? > > > > The pertinet parts of jboss.jcml and the log are attached. > > [old log data and jboss.jcml data snipped] JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar jboss.home = /home/vocalist/jboss/JBoss-2.2.1 Using configuration "default" [Info] Java version: 1.3.0,Blackdown Java-Linux Team [Info] Java VM: Java HotSpot(TM) Server VM Blackdown-1.3.0-FCS,Blackdown Java-Linux Team [Info] System: Linux 2.2.17,i386 [Shutdown] Shutdown hook added [Service Control] Registered with server [Service Control] Initializing 24 MBeans ... some normal init messages... [JDBC provider] Initializing [JDBC provider] Loaded JDBC-driver:org.hsql.jdbcDriver [JDBC provider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver [JDBC provider] Initialized [Hypersonic] Initializing [Hypersonic] Initialized [InstantDB] Initializing [InstantDB] Initialized [DefaultDS] Initializing [DefaultDS] Initialized ... the rest are normal init messages too... [Service Control] Initialized 24 services [Service Control] Starting 24 MBeans ... some startup messages... [Hypersonic] Starting [Hypersonic] port=1476 [Hypersonic] database=/home/vocalist/jboss/JBoss-2.2.1/db/hypersonic/default [Hypersonic] silent =false [Hypersonic] Server 1.4 is running [Hypersonic] Database started [Hypersonic] Started [InstantDB] Starting [Hypersonic] Press [Ctrl]+[C] to abort registerDriver: driver[className=org.opentools.minerva.jdbc.xa.XAPoolDriver,org.opentools.minerva.jdbc.xa.XAPoolDriver@39b78e] [InstantDB] XA Connection pool InstantDB bound to java:/InstantDB DriverManager.getConnection("jdbc:idb:../conf/default/instantdb.properties") trying driver[className=org.hsql.jdbcDriver,org.hsql.jdbcDriver@e790c] trying driver[className=org.enhydra.instantdb.jdbc.idbDriver,org.enhydra.instantdb.jdbc.idbDriver@5a9de6] Enhydra InstantDB - Version 3.26 [InstantDB] The Initial Developer of the Original Code is Lutris Technologies Inc. Portions created by Lutris are Copyright (C) 1997-2001 Lutris Technologies, Inc. All Rights Reserved. getConnection returning driver[className=org.enhydra.instantdb.jdbc.idbDriver,org.enhydra.instantdb.jdbc.idbDriver@5a9de6] [InstantDB] org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl created new Connection (org.enhydra.instantdb.jdbc.idbConnection) with XAResource org.opentools.minerva.jdbc.xa.wrapper.XAResourceImpl and XAConnection org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl. [InstantDB] No transaction right now. [InstantDB] Pool InstantDB [0/0/10] gave out new object: org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@13d6bc [InstantDB] Pool InstantDB [0/1/10] returned object org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@13d6bc to the pool. [InstantDB] Started [DefaultDS] Starting [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS DriverManager.getConnection("jdbc:HypersonicSQL:hsql://localhost:1476") trying driver[className=org.hsql.jdbcDriver,org.hsql.jdbcDriver@e790c] [DefaultDS] java.sql.SQLException: Connection is broken: Connection timed out [DefaultDS] at org.hsql.Trace.getError(Trace.java:124) [DefaultDS] at org.hsql.Trace.getError(Trace.java:115) [DefaultDS] at org.hsql.Trace.error(Trace.java:130) [DefaultDS] at org.hsql.jdbcConnection.reconnectHSQL(jdbcConnection.java:621) [DefaultDS] at org.hsql.jdbcConnection.openHSQL(jdbcConnection.java:605) [DefaultDS] at org.hsql.jdbcConnection.(jdbcConnection.java:523) [DefaultDS] at org.hsql.jdbcDriver.connect(jdbcDriver.java:78) [DefaultDS] at java.sql.DriverManager.getConnection(DriverManager.java:517)
[JBoss-user] DefaultDS?
I'm not sure what I'm doing wrong, but it looks as if DefaultDS isn't coming up correctly. Can anyone tell me if I've got something wrong in my jboss.jcml? The pertinet parts of jboss.jcml and the log are attached. If I'm mistaken and just wasting electrons, sorry thanks for any help, Brian JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar jboss.home = /home/vocalist/jboss/JBoss-2.2.1 Using configuration "default" [Info] Java version: 1.3.0,Blackdown Java-Linux Team [Info] Java VM: Java HotSpot(TM) Server VM Blackdown-1.3.0-FCS,Blackdown Java-Linux Team [Info] System: Linux 2.2.17,i386 [Shutdown] Shutdown hook added [Service Control] Registered with server [Service Control] Initializing 24 MBeans ... init messages [Service Control] Initialized 24 services [Service Control] Starting 24 MBeans .. some startup messages [Hypersonic] Starting [Hypersonic] Server 1.4 is running [Hypersonic] Database started [Hypersonic] Started [InstantDB] Starting [Hypersonic] Press [Ctrl]+[C] to abort [InstantDB] XA Connection pool InstantDB bound to java:/InstantDB Enhydra InstantDB - Version 3.26 [InstantDB] The Initial Developer of the Original Code is Lutris Technologies Inc. Portions created by Lutris are Copyright (C) 1997-2001 Lutris Technologies, Inc. All Rights Reserved. [InstantDB] org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl created new Connection (org.enhydra.instantdb.jdbc.idbConnection) with XAResource org.opentools.minerva.jdbc.xa.wrapper.XAResourceImpl and XAConnection org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl. [InstantDB] No transaction right now. [InstantDB] Pool InstantDB [0/0/10] gave out new object: org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@5973ea [InstantDB] Pool InstantDB [0/1/10] returned object org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@5973ea to the pool. [InstantDB] Started [DefaultDS] Starting [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS [DefaultDS] java.sql.SQLException: Connection is broken: Connection timed out [DefaultDS] Pool DefaultDS factory org.opentools.minerva.jdbc.xa.XAConnectionFactory@632802 unable to create new object! [DefaultDS] Pool DefaultDS [0/0/10] couldn't find an object to return! [Container factory] Starting [Container factory] Started ... more startup messages [Default] JBoss 2.2.1 Started in 13m:33s ... etc, etc. InstantDB org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl jdbc:idb:../conf/default/instantdb.properties 120 sa 10 false false false false 12 180 false true 1.0 0 DefaultDS org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl jdbc:HypersonicSQL:hsql://localhost:1476 120 sa 10 foo true false false false 12 18 true true 1.0 0
[JBoss-user] DefaultDS connection timeout in startup
Hi All, As the log indicates, Jboss2.2.1+tomcat3.2.1 on Linux (2.2.17 kernel) (Debian) I'm not familiar enough with JBoss to know why I'm getting a connection timeout on DefaultDS. Should I be setting something different in jboss.jcml? I've enclosed the DefaultDS section of jboss.jcml Thanks for any pointers... JBOSS_CLASSPATH=:/lib/tools.jar:run.jar:../lib/crimson.jar jboss.home = /home/vocalist/jboss/JBoss-2.2.1_Tomcat-3.2.1/jboss Using configuration "tomcat" [Info] Java version: 1.3.0,Blackdown Java-Linux Team [Info] Java VM: Java HotSpot(TM) Server VM Blackdown-1.3.0-FCS,Blackdown Java-Linux Team [Info] System: Linux 2.2.17,i386 [Shutdown] Shutdown hook added [Service Control] Registered with server [Service Control] Initializing 25 MBeans .. bunch of normal init messages snipped [Service Control] Initialized 25 services [Service Control] Starting 25 MBeans [Webserver] Starting [Webserver] Codebase set to http://heaven.private.internal:8083/ [Webserver] Started webserver on port 8083 [Webserver] Started [Naming] Starting [Naming] Naming started on port 1099 [Naming] Started [JNDIView] Starting [JNDIView] Started [Transaction manager] Starting [Transaction manager] Started [JAAS Security Manager] Starting [JAAS Security Manager] JAAS.startService, cachePolicy=null [JAAS Security Manager] JAAS.startService, SecurityProxyFactory=org.jboss.security.SubjectSecurityProxyFactory@c1dd9 [JAAS Security Manager] Started [JDBC provider] Starting [JDBC provider] Started [Hypersonic] Starting [Hypersonic] Server 1.4 is running [Hypersonic] Database started [Hypersonic] Started [InstantDB] Starting [Hypersonic] Press [Ctrl]+[C] to abort [InstantDB] XA Connection pool InstantDB bound to java:/InstantDB Enhydra InstantDB - Version 3.26 [InstantDB] The Initial Developer of the Original Code is Lutris Technologies Inc. Portions created by Lutris are Copyright (C) 1997-2001 Lutris Technologies, Inc. All Rights Reserved. [InstantDB] Started [DefaultDS] Starting [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS [DefaultDS] java.sql.SQLException: Connection is broken: Connection timed out [DefaultDS] Pool DefaultDS factory org.opentools.minerva.jdbc.xa.XAConnectionFactory@280a69 unable to create new object! [DefaultDS] Pool DefaultDS [0/0/10] couldn't find an object to return! ... and then JBoss starts, but won't accept connections and things generally are messed up. (other Startup messages snipped) [Service Control] Started 25 services [Default] JBoss 2.2.1 Started in 13m:57s DefaultDS org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl jdbc:HypersonicSQL:hsql://localhost:1476 120 sa 10 foo false false false false 1200 18000 false true 1.0 0
Re: [JBoss-user] Newbie default installation prob - server seems to pause infinitely
danch wrote: > > The Allisons wrote: > > > Attached is my log - with my one comment inserted. > > I'm on Debian running a 2.2 kernel with the default download of JBoss > > 2.2.1 / Tomcat 3.2.1 > > > > For some reason your DefaultDS cannot connect to its database. What's in > that section of your jboss.jcml? > > -danch Here it is - it's whatever is downloadable from the .org site... DefaultDS org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl jdbc:HypersonicSQL:hsql://localhost:1476 120 sa 10 false false false true 12 180 false false 1.0 0 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Newbie default installation prob - server seems to pause infinitely
Attached is my log - with my one comment inserted. I'm on Debian running a 2.2 kernel with the default download of JBoss 2.2.1 / Tomcat 3.2.1 I tested to verify that the user's PATH can get to java/javac, and I've following the install instructions. I was under the impression (from the docs) that unzip'ing the downloaded zip file into a directory, going into jboss/bin and running the run_with_tomcat.sh script would wind up with a final message of: [Service Control] Started 25 services [Default] JBoss 2.2.1 Started in No such messages... I see them initialize, but not all 25 actually start. To repeat myself at the risk of being redundant, I unzip'd the file into directory FOO and then went into FOO/JBoss-2.2.1_Tomcat-3.2.1/jboss/bin and ran the run_with_tomcat.sh script. I didn't create any extra files, directories, pipes, root exploits or even vote with . I considered that perhaps the docs hadn't kept up with the code's output and that perhaps the install was good, so I downloaded and played with the client. As soon as I try to do a lookup() of any kind... it just halts and sits there. The whole time, neither server nor client will user any CPU. (via top) Thanks for any suggestions JBOSS_CLASSPATH=:/lib/tools.jar:run.jar:../lib/crimson.jar jboss.home = /home/vocalist/jboss/JBoss-2.2.1_Tomcat-3.2.1/jboss Using configuration "tomcat" [Info] Java version: 1.3.0,Blackdown Java-Linux Team [Info] Java VM: Java HotSpot(TM) Server VM Blackdown-1.3.0-FCS,Blackdown Java-Linux Team [Info] System: Linux 2.2.17,i386 [Shutdown] Shutdown hook added [Service Control] Registered with server [Service Control] Initializing 25 MBeans [Webserver] Initializing [Webserver] Initialized [Naming] Initializing [Naming] Initialized [JNDIView] Initializing [JNDIView] Initialized [Transaction manager] Initializing [Transaction manager] Initialized [JAAS Security Manager] Initializing [JAAS Security Manager] Initialized [JDBC provider] Initializing [JDBC provider] Loaded JDBC-driver:org.hsql.jdbcDriver [JDBC provider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver [JDBC provider] Initialized [Hypersonic] Initializing [Hypersonic] Initialized [InstantDB] Initializing [InstantDB] Initialized [DefaultDS] Initializing [DefaultDS] Initialized [Container factory] Initializing [Container factory] Initialized [EmbeddedTomcat] Initializing [EmbeddedTomcat] Initialized [JBossMQ] Initializing [JBossMQ] Initialized [DefaultJMSProvider] Initializing [DefaultJMSProvider] Initialized [StdJMSPool] Initializing [StdJMSPool] Initialized [J2EE Deployer Default] Initializing [J2EE Deployer Default] Initialized [Auto deploy] Initializing [Auto deploy] Initialized [RARDeployer] Initializing [RARDeployer] Initialized [ConnectionManagerFactoryLoader] Initializing [MinervaNoTransCMFactory] Initialized [ConnectionManagerFactoryLoader] Initializing [MinervaSharedLocalCMFactory] Initialized [ConnectionManagerFactoryLoader] Initializing [MinervaXACMFactory] Initialized [ConnectionFactoryLoader] Initializing [BlackBoxDS] Initialized [JMX RMI Adaptor] Initializing [JMX RMI Adaptor] Initialized [JMX RMI Connector] Initializing [JMX RMI Connector] Initialized [Mail Service] Initializing [Mail Service] Initialized [Service Control] Initialized 25 services [Service Control] Starting 25 MBeans [Webserver] Starting [Webserver] Codebase set to http://heaven.private.internal:8083/ [Webserver] Started webserver on port 8083 [Webserver] Started [Naming] Starting [Naming] Naming started on port 1099 [Naming] Started [JNDIView] Starting [JNDIView] Started [Transaction manager] Starting [Transaction manager] Started [JAAS Security Manager] Starting [JAAS Security Manager] JAAS.startService, cachePolicy=null [JAAS Security Manager] JAAS.startService, SecurityProxyFactory=org.jboss.security.SubjectSecurityProxyFactory@62dbb6 [JAAS Security Manager] Started [JDBC provider] Starting [JDBC provider] Started [Hypersonic] Starting [Hypersonic] Server 1.4 is running [Hypersonic] Database started [Hypersonic] Started [InstantDB] Starting [Hypersonic] Press [Ctrl]+[C] to abort [InstantDB] XA Connection pool InstantDB bound to java:/InstantDB Enhydra InstantDB - Version 3.26 [InstantDB] The Initial Developer of the Original Code is Lutris Technologies Inc. Portions created by Lutris are Copyright (C) 1997-2001 Lutris Technologies, Inc. All Rights Reserved. [InstantDB] Started [DefaultDS] Starting [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS ... I wait a few minutes... then ^C [Default] Shutting down [Service Control] Stopping 25 MBeans [InstantDB] Stopping [InstantDB] XA Connection pool InstantDB removed from JNDI [InstantDB] Database instantdb is shutting down... [InstantDB] Database instantdb shutdown complete. [InstantDB] XA Connection pool InstantDB shut down [InstantDB] Stopped [Hypersonic] Stopping [Hypersonic] Stopped [JDBC provider] Stopping [JDBC provider] Stopped [JAAS Security Manager] Stopping [JAAS Securit