Hi all,
When I run the example servlet from the 'Beginning EJB programming using
jBoss" tutorial, I get the 'Couldn't connect to Interest Bean.Is EJB
container running?' line in the output.I have the jBoss server and tomcat
running. Must I get a container elsewhere or must I set some variable in
jBoss? It does say 'No Web Container found' in the server log. The log is
below.
Sorry for such a clueless question.
Thanks in advance,
Mari

Log
[File logging] Initialized
[Classpath] Added directory:file:/C:/jboss/tmp/
[Classpath] Added directory:file:/C:/jboss/db/
[Info] Java version: 1.3.0,Sun Microsystems Inc.
[Info] Java VM: Java HotSpot(TM) Client VM 1.3.0-C,Sun Microsystems Inc.
[Info] System: Windows 98 4.10,x86
[Classpath] Added library:file:/C:/jboss/lib/ext/jnpserver.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/tomcat-service.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/ejxejb.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/ejb.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/spydermq.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/mail.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/jms.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/awt.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/jpl-util-0_5b.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/idb.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/activation.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/ejxeditor.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/hsql.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/dynaserver.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/jndi.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/jta-spec1_0_1.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/jmxtools.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/ejxjboss.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/jboss.jar
[Classpath] Added library:file:/C:/jboss/lib/ext/ejxjaws.jar
[JDBC] Loaded JDBC-driver:org.hsql.jdbcDriver
[JDBC] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver
[Webserver] Initializing
[Webserver] Initialized
[Hypersonic] Initializing
[Hypersonic] Initialized
[Naming] Initializing
[Naming] Naming started on port 1099
[Naming] Initialized
[Transaction manager] Initializing
[Transaction manager] Initialized
[JAAS Security Manager] Initializing
[JAAS Security Manager] Initialized
[Simple Realm Mapping] Initializing
[Simple Realm Mapping] Initialized
[Security manager] Initializing
[Security manager] Initialized
[InstantDB] Initializing
[InstantDB] Initialized
[DefaultDS] Initializing
[DefaultDS] Initialized
[Container factory] Initializing
[Container factory] Initialized
[Auto deploy] Watching C:\jboss\deploy
[Auto deployer] Initializing
[Auto deployer] Initialized
[JMX RMI Adaptor] Initializing
[JMX RMI Adaptor] Initialized
[JMX RMI Connector] Initializing
[JMX RMI Connector] Initialized
[Configuration] Initializing
[Configuration] Initialized
[J2EE Deployer] Initializing
[J2EE Deployer] Initialized
[SpyderMQ] Initializing
[SpyderMQ] Initialized
[Configuration] MaxActiveClientCount set to 10 in Adaptor:name=html
[Configuration] Port set to 8082 in Adaptor:name=html
[Configuration] LibraryDirectory set to C:\jboss\bin in
DefaultDomain:service=MLet
[Configuration] TransactionTimeout set to 300 in
DefaultDomain:service=TransactionManager
[Configuration] Format set to [{2}] {4} in
DefaultDomain:service=Logging,type=Console
[Configuration] Port set to 8083 in DefaultDomain:service=Webserver
[Configuration] URL set to jdbc:idb:../conf/default/instantdb.properties in
DefaultDomain:service=XADataSource,name=InstantDB
[Configuration] GCMinIdleTime set to 1200000 in
DefaultDomain:service=XADataSource,name=InstantDB
[Configuration] MaxSize set to 10 in
DefaultDomain:service=XADataSource,name=InstantDB
[Configuration] GCEnabled set to false in
DefaultDomain:service=XADataSource,name=InstantDB
[Configuration] InvalidateOnError set to false in
DefaultDomain:service=XADataSource,name=InstantDB
[Configuration] TimestampUsed set to false in
DefaultDomain:service=XADataSource,name=InstantDB
[Configuration] Blocking set to true in
DefaultDomain:service=XADataSource,name=InstantDB
[Configuration] GCInterval set to 120000 in
DefaultDomain:service=XADataSource,name=InstantDB
[Configuration] IdleTimeout set to 1800000 in
DefaultDomain:service=XADataSource,name=InstantDB
[Configuration] IdleTimeoutEnabled set to false in
DefaultDomain:service=XADataSource,name=InstantDB
[Configuration] LoggingEnabled set to false in
DefaultDomain:service=XADataSource,name=InstantDB
[Configuration] MaxIdleTimeoutPercent set to 1.0 in
DefaultDomain:service=XADataSource,name=InstantDB
[Configuration] MinSize set to 0 in
DefaultDomain:service=XADataSource,name=InstantDB
[Configuration] Format set to [{2}] {4} in
DefaultDomain:service=Logging,type=File
[Configuration] LogName set to server in
DefaultDomain:service=Logging,type=File
[Configuration] Port set to 1476 in DefaultDomain:service=Hypersonic
[Configuration] Silent set to true in DefaultDomain:service=Hypersonic
[Configuration] Database set to default in DefaultDomain:service=Hypersonic
[Configuration] Trace set to false in DefaultDomain:service=Hypersonic
[Configuration] URL set to jdbc:HypersonicSQL:hsql://localhost:1476 in
DefaultDomain:service=XADataSource,name=DefaultDS
[Configuration] GCMinIdleTime set to 1200000 in
DefaultDomain:service=XADataSource,name=DefaultDS
[Configuration] JDBCUser set to sa in
DefaultDomain:service=XADataSource,name=DefaultDS
[Configuration] MaxSize set to 10 in
DefaultDomain:service=XADataSource,name=DefaultDS
[Configuration] GCEnabled set to false in
DefaultDomain:service=XADataSource,name=DefaultDS
[Configuration] InvalidateOnError set to false in
DefaultDomain:service=XADataSource,name=DefaultDS
[Configuration] TimestampUsed set to false in
DefaultDomain:service=XADataSource,name=DefaultDS
[Configuration] Blocking set to true in
DefaultDomain:service=XADataSource,name=DefaultDS
[Configuration] GCInterval set to 120000 in
DefaultDomain:service=XADataSource,name=DefaultDS
[Configuration] IdleTimeout set to 1800000 in
DefaultDomain:service=XADataSource,name=DefaultDS
[Configuration] IdleTimeoutEnabled set to false in
DefaultDomain:service=XADataSource,name=DefaultDS
[Configuration] LoggingEnabled set to false in
DefaultDomain:service=XADataSource,name=DefaultDS
[Configuration] MaxIdleTimeoutPercent set to 1.0 in
DefaultDomain:service=XADataSource,name=DefaultDS
[Configuration] MinSize set to 0 in
DefaultDomain:service=XADataSource,name=DefaultDS
[Configuration] VerifyDeployments set to true in
EJB:service=ContainerFactory
[Configuration] VerifierVerbose set to true in EJB:service=ContainerFactory
[Configuration] Detected JMX Bug: Server reports attribute 'JDBCUser' is not
writeable for MBean 'DefaultDomain:name=InstantDB,service=XADataSource'
[Configuration] Detected JMX Bug: Server reports attribute 'TimestampUsed'
is not writeable for MBean
'DefaultDomain:name=InstantDB,service=XADataSource'
[Configuration] Detected JMX Bug: Server reports attribute 'JDBCUser' is not
writeable for MBean 'DefaultDomain:name=DefaultDS,service=XADataSource'
[Configuration] Detected JMX Bug: Server reports attribute 'TimestampUsed'
is not writeable for MBean
'DefaultDomain:name=DefaultDS,service=XADataSource'
[Simple Realm Mapping] Starting
[Simple Realm Mapping] Started
[Webserver] Starting
[Webserver] Codebase set to http://oemcomputer:8083/
[Webserver] Started webserver on port 8083
[Webserver] Started
[Transaction manager] Starting
[Transaction manager] Started
[Naming] Starting
[Naming] Started
[Hypersonic] Starting
[Hypersonic] Server 1.4 is running
[Hypersonic] Press [Ctrl]+[C] to abort
[Hypersonic] Database started
[Hypersonic] Started
[InstantDB] Starting
[InstantDB] XA Connection pool InstantDB bound to java:/InstantDB
[InstantDB] The Initial Developer of the Original Code is Lutris
Technologies Inc.
Portions created by Lutris are Copyright (C) 1997-2000 Lutris Technologies,
Inc.
All Rights Reserved.
[InstantDB] Started
[DefaultDS] Starting
[DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS
[DefaultDS] Started
[JAAS Security Manager] Starting
[JAAS Security Manager] Started
[Container factory] Starting
[Container factory] Started
[J2EE Deployer] Starting
[J2EE Deployer] No web container found - only EJB deployment available...
[J2EE Deployer] Cleaning up deployment directory
file:/C:/jboss/bin/../tmp/deploy/
[J2EE Deployer] Started
[Security manager] Starting
[Security manager] Started
[Auto deployer] Starting
[Auto deploy] Auto deploy of file:/C:/jboss/deploy/interest.jar
[J2EE Deployer] Deploy J2EE application: file:/C:/jboss/deploy/interest.jar
[J2EE Deployer] Could not delete temporary file:
/C:/jboss/bin/../tmp/deploy/copy1001.zip
[J2EE Deployer] Create application interest.jar
[J2EE Deployer] Installing EJB package: interest.jar
[J2EE Deployer] Starting module interest.jar
[Container factory]
Deploying:file:/C:/jboss/bin/../tmp/deploy/interest.jar/ejb1002.jar
[Container factory] Loading ejb-jar.xml :
jar:file:/C:/jboss/bin/../tmp/deploy/interest.jar/ejb1002.jar!/META-INF/ejb-
jar.xml
[Container factory] Loading standardjboss.xml :
file:/C:/jboss/conf/default/standardjboss.xml
[Verifier] Verifying
file:/C:/jboss/bin/../tmp/deploy/interest.jar/ejb1002.jar
[Verifier] Interest: Verified.
[Container factory] Deploying Interest
[Container factory] Container Invoker RMI Port='4444'
[Container factory] Container Invoker Optimize='true'
[Container factory] Mapped Container method remove HASH -1842617161
[Container factory] Mapped Container method getEJBHome HASH -993218923
[Container factory] Mapped Container method getHandle HASH 1182305581
[Container factory] Mapped Container method getPrimaryKey HASH -131865408
[Container factory] Mapped Container method isIdentical HASH 285457048
[Container factory] Mapped calculateCompoundInterest -548624954to public
double
com.web_tomorrow.interest.InterestBean.calculateCompoundInterest(double,doub
le,double)
[Container factory] Mapping remove
[Container factory] Mapping remove
[Container factory] Mapping getEJBMetaData
[Container factory] Mapping getHomeHandle
[Container factory] Mapping create
[Container factory] Bound Interest to Interest
[Container factory] Deployed application:
file:/C:/jboss/bin/../tmp/deploy/interest.jar/ejb1002.jar
[J2EE Deployer] J2EE application: file:/C:/jboss/deploy/interest.jar is
deployed.
[Auto deployer] Started
[SpyderMQ] Starting
[SpyderMQ] Testing if SpyderMQ is present....
[SpyderMQ] OK
[SpyderMQ] Starting SpyderMQ...
[SpyderMQ] Started
[JMX RMI Adaptor] Starting
[JMX RMI Adaptor] Started
[JMX RMI Connector] Starting
[JMX RMI Connector] Started
[Default] 23 services and 4 other MBeans started.
[Default] Shutdown hook added
[Default] jBoss 2.0 BETA-PROD-04 Started
[Interest] Someone called 'calculateCompoundInterest!'
[JMX RMI Adaptor] Stopping
[JMX RMI Adaptor] Stopped
[JMX RMI Adaptor] Destroying
[JMX RMI Adaptor] Destroyed
[JMX RMI Connector] Stopping
[JMX RMI Connector] Stopped
[JMX RMI Connector] Destroying
[JMX RMI Connector] Destroyed
[SpyderMQ] Stopping
[SpyderMQ] Stopped
[SpyderMQ] Destroying
[SpyderMQ] Destroyed
[Auto deployer] Stopping
[Auto deployer] Stopped
[Auto deployer] Destroying
[Auto deployer] Destroyed
[Security manager] Stopping
[Security manager] Stopped
[Security manager] Destroying
[Security manager] Destroyed
[J2EE Deployer] Stopping
[J2EE Deployer] Undeploying all applications.
[J2EE Deployer] Stopping module interest.jar
[Container factory]
Undeploying:file:/C:/jboss/bin/../tmp/deploy/interest.jar/ejb1002.jar
[Container factory] Undeployed application:
file:/C:/jboss/bin/../tmp/deploy/interest.jar/ejb1002.jar
[J2EE Deployer] Destroying application interest.jar
[J2EE Deployer] deployment.cfg file deleted.
[J2EE Deployer] Could not remove file:
file:/C:/jboss/tmp/deploy/interest.jar
[J2EE Deployer] Undeployed 1 applications.
[J2EE Deployer] Stopped
[J2EE Deployer] Destroying
[J2EE Deployer] Destroyed
[Container factory] Stopping
[Container factory] Stopped
[Container factory] Destroying
[Container factory] Destroyed
[JAAS Security Manager] Stopping
[JAAS Security Manager] Stopped
[JAAS Security Manager] Destroying
[JAAS Security Manager] Destroyed
[DefaultDS] Stopping
[DefaultDS] XA Connection pool DefaultDS removed from JNDI
[DefaultDS] XA Connection pool DefaultDS shut down
[DefaultDS] Error stopping service
'DefaultDomain:name=DefaultDS,service=XADataSource':
javax.management.RuntimeMBeanException: RuntimeException thrown in operation
destroy
[DefaultDS] Unable to stop MBean
'DefaultDomain:name=DefaultDS,service=XADataSource'
[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] Error stopping service
'DefaultDomain:name=InstantDB,service=XADataSource':
javax.management.RuntimeMBeanException: RuntimeException thrown in operation
destroy
[InstantDB] Unable to stop MBean
'DefaultDomain:name=InstantDB,service=XADataSource'
[Hypersonic] Stopping
[Hypersonic] Stopped
[Hypersonic] Destroying
[Hypersonic] Destroyed
[Naming] Stopping
[Naming] Stopped
[Naming] Destroying
[Naming] Destroyed
[Transaction manager] Stopping
[Transaction manager] Stopped
[Transaction manager] Destroying
[Transaction manager] Destroyed
[Webserver] Stopping
[Webserver] Stopped
[Webserver] Destroying
[Webserver] Destroyed
[Simple Realm Mapping] Stopping
[Simple Realm Mapping] Stopped
[Simple Realm Mapping] Destroying
[Simple Realm Mapping] Destroyed
[InstantDB] 27 services and 4 other MBeans stopped.




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to