jboss-jetty ---- problem in using with Oracle
aqil Sep 8, 2001 4:23 AMi dont want jboss to pick instantdb/hsql instead i want it to use oracle, for that i've used the following jboss.jcml and jboss.properties but from the folling command prompt its clear that its not leaving instantdb/hsql and not picking Oracle....(jboss.jcml and jboss.properties were working fine with jboss-tomcat)........it seems to me as if its not looking at jboss.jcml and jboss.properties ....any way to check it.....???????????????????????
==================jboss.properties==============
# System properties
# These will be loaded and set by jBoss
java.rmi.server.useLocalHostName=true
java.rmi.server.hostname=localhost
java.rmi.server.codebase=http://localhost:8080/
jboss.xa.xidclass=oracle.jdbc.xa.OracleXid
# Deprecated: JDBC Drivers should be specified in jboss.jcml, in JDBCProvider
# jdbc.drivers=org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver
# java.security.manager=java.lang.SecurityManager
# Tomcat session Id generation. Uncomment to make Tomcat initial request faster
# tomcat.sessionid.randomclass=java.util.Random
=====================jboss.jcml=================
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is where you can add and configure your MBeans
ATTENTION: The order of the listing here is the same order as
the MBeans are loaded. Therefore if a MBean depends on another
MBean to be loaded and started it has to be listed after all
the MBeans it depends on.
-->
<!-- Classloading -->
8083
<!-- JNDI -->
1099
<!-- Transactions -->
300
<!-- Security -->
<!-- Uncomment to enable the sample SRPVerifierStore service
SRPDefaultVerifierSource
SRPVerifierStore.ser
-->
<!-- Uncomment to enable the SRP login service
SRPServerInterface
SRPDefaultVerifierSource
SRPAuthenticationCache
10099
-->
<!-- JAAS security manager and realm mapping -->
org.jboss.security.plugins.JaasSecurityManager
<!-- Uncomment to enable the XML implementation of the JAAS policy
DefaultSecurityPolicy
sample_policy.xml
-->
<!-- JDBC -->
oracle.jdbc.driver.OracleDriver
<!--
org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver
-->
OracleDB
org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl
jdbc:oracle:thin:@aqil:1521:irony
inscash
ahwaaaar
<!--
1476
true
default
false
InstantDB
org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl
jdbc:idb:../conf/default/instantdb.properties
1200000
10
false
false
false
true
120000
1800000
false
false
1.0
0
DefaultDS
org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl
jdbc:HypersonicSQL:hsql://localhost:1476
1200000
sa
10
false
false
false
true
120000
1800000
false
false
1.0
0
-->
<!-- J2EE deployment -->
true
false
true
false
<!-- Uncomment to add embedded tomcat service
-->
<!-- Uncomment and set file URL to add Jetty service (you can set config more than once)
file URL to jetty.xml e.g. file:/usr/local/jboss/dist/conf/default/jetty.xml
-->
<!-- For Message Driven Beans -->
DefaultJMSProvider
org.jboss.jms.jndi.JBossMQProvider
StdJMSPool
org.jboss.jms.asf.StdServerSessionPoolFactory
<!-- Make sure you change EmbeddedTomcat to Jetty if you are using Jetty -->
Default
:service=ContainerFactory
:service=EmbeddedTomcat
J2EE:service=J2eeDeployer
../deploy
<!-- J2EE connector architecture -->
<!-- Minerva no transaction connection manager factory.
Use this for resource adapters that don't support
transactions. -->
MinervaNoTransCMFactory
org.opentools.minerva.connector.jboss.MinervaNoTransCMFactory
<!-- Minerva local transaction connection manager factory.
Use this for resource adapters that support "local"
transactions. -->
MinervaSharedLocalCMFactory
org.opentools.minerva.connector.jboss.MinervaSharedLocalCMFactory
<!-- Minerva XA transaction connection manager factory
Use this for resource adapters that support "xa"
transactions. -->
MinervaXACMFactory
org.opentools.minerva.connector.jboss.MinervaXACMFactory
<!-- Example connection factory for the example "Black Box" resource
adapter. This points at the same database as DefaultDS. -->
BlackBoxDS
JCA:service=RARDeployer
Black Box LocalTx Adapter
ConnectionURL=jdbc:HypersonicSQL:hsql://localhost:1476
MinervaSharedLocalCMFactory
<!-- See the documentation for the specific connection manager
implementation you are using for the properties you can set -->
# Pool type - uncomment to force, otherwise it is the default
#PoolConfiguration=per-factory
# Connection pooling properties - see
# org.opentools.minerva.pool.PoolParameters
MinSize=0
MaxSize=10
Blocking=true
GCEnabled=false
IdleTimeoutEnabled=false
InvalidateOnError=false
TrackLastUsed=false
GCIntervalMillis=120000
GCMinIdleMillis=1200000
IdleTimeoutMillis=1800000
MaxIdleTimeoutPercent=1.0
<!-- Principal mapping configuration -->
org.jboss.resource.security.ManyToOnePrincipalMapping
userName=sa
password=
<!-- This is an example of using a resource adapter that supports XA
transactions. The Black Box XA resource adapter requires an
XADataSource to be in JNDI somewhere. JBoss doesn't include a
database with an XA-compliant JDBC driver, so this will need to
be configured to use whatever XADataSource implementation you
have.
BlackBoxXADS
Put your XADataSource implementation class here
XABlackBoxDS
JCA:service=RARDeployer
Black Box XA Adapter
XADataSourceName=java:/BlackBoxXADS
MinervaXACMFactory
# Pool type - uncomment to force, otherwise it is the default
#PoolConfiguration=per-factory
# Connection pooling properties - see
# org.opentools.minerva.pool.PoolParameters
MinSize=0
MaxSize=10
Blocking=true
GCEnabled=false
IdleTimeoutEnabled=false
InvalidateOnError=false
TrackLastUsed=false
GCIntervalMillis=120000
GCMinIdleMillis=1200000
IdleTimeoutMillis=1800000
MaxIdleTimeoutPercent=1.0
org.jboss.resource.security.ManyToOnePrincipalMapping
userName=sa
password=
-->
<!-- JMX adaptors -->
10
8082
<!-- Mail Connection Factory -->
Mail
mail.properties
user_id
password
<!-- Uncomment to enable JMX monitoring of the bean cache
-->
<!-- Add your custom MBeans here -->
=============Command Prompt===================
C:\Jetty\JBossJetty\jboss\bin>run jetty
JBOSS_CLASSPATH=;run.jar;../lib/crimson.jar
jboss.home = C:\Jetty\JBossJetty\jboss
Using JAAS LoginConfig: file:/C:/Jetty/JBossJetty/jboss/conf/jetty/auth.conf
Using configuration "jetty"
[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 2000 5.0,x86
[Shutdown] Shutdown hook added
[Service Control] Registered with server
[Jetty] JBoss and Jetty Log models connected
[Jetty] setConfiguration() is deprecated - use addConfiguration()
[Jetty] adding Configuration file:../conf/jetty/jetty.xml
[Service Control] Initializing 27 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
[Jetty] Initializing
[Jetty] successfully loaded properties
[Jetty] setting jettyHome to C:\Jetty\JBossJetty\jetty
[Jetty] setting webDefault to C:\Jetty\JBossJetty\jetty/etc/webdefault.xml
[Jetty] Jetty instantiated and initialised
[Jetty] Registered com.mortbay.Jetty:name=Jetty,Jetty=0
[Jetty] Checking Resource aliases
[Jetty] Registered com.mortbay.Jetty:name=Jetty,Jetty=0,SocketListener=0
[Jetty] Registered com.mortbay.Jetty:name=Jetty,Jetty=0,context=/jetty,WebApplic
ationContext=0
[Jetty] Web Application WebApplicationContext[/jetty,C:\Jetty\JBossJetty\jetty/w
ebapps/jetty] added
[Jetty] Registered com.mortbay.Jetty:name=Jetty,Jetty=0,context=/demo,ServletHan
dlerContext=0
[Jetty] Registered com.mortbay.Jetty:name=Jetty,Jetty=0,context=/javadoc,Servlet
HandlerContext=0
[Jetty] Registered com.mortbay.Jetty:name=Jetty,Jetty=0,context=/cgi-bin,Servlet
HandlerContext=0
[Jetty] Registered com.mortbay.Jetty:name=Jetty,Jetty=0,context=/,ServletHandler
Context=0
[Jetty] Initialized
[Service Control] Initialized 27 services
[Service Control] Starting 34 MBeans
[Webserver] Starting
[Webserver] Codebase set to http://aqil:8083/
[Webserver] Started webserver on port 8083
[Webserver] Started
[Naming] Starting
[Naming] Starting jnp server
[Naming] Started jnpPort=1099, rmiPort=0, Client SocketFactory=null, Server Sock
etFactory=null
[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.securi
ty.SubjectSecurityProxyFactory@1cbd4b
[JAAS Security Manager] Started
[JDBC provider] Starting
[JDBC provider] Started
[Hypersonic] Starting
[Hypersonic] Database started
[Hypersonic] Started
[InstantDB] Starting
[InstantDB] XA Connection pool InstantDB bound to java:/InstantDB
[Hypersonic] Server 1.4 is running
Enhydra InstantDB - Version 3.26
[InstantDB] The Initial Developer of the Original Code is Lutris Technologies In
c.
Portions created by Lutris are Copyright (C) 1997-2001 Lutris Technologies, Inc.
All Rights Reserved.
[Hypersonic] Press [Ctrl]+[C] to abort
[InstantDB] Started
[DefaultDS] Starting
[DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS
[DefaultDS] Started
[Container factory] Starting
[Container factory] Started
[JBossMQ] Starting
[JBossMQ] Server Version 0.8 Started
[JBossMQ] Started
[DefaultJMSProvider] Starting
[DefaultJMSProvider] JMS provider Adapter DefaultJMSProvider bound to java:/Defa
ultJMSProvider
[DefaultJMSProvider] Started
[StdJMSPool] Starting
[StdJMSPool] JMS provider Adapter StdJMSPool bound to java:/StdJMSPool
[StdJMSPool] Started
[J2EE Deployer Default] Starting
[J2EE Deployer Default] Cleaning up deployment directory
[J2EE Deployer Default] Started
[Auto deploy] Starting
[Auto deploy] Watching C:\Jetty\JBossJetty\jboss\deploy
[Auto deploy] Started
[RARDeployer] Starting
[RARDeployer] Started
[MinervaNoTransCMFactory] Starting
[MinervaNoTransCMFactory] Connection manager factory 'MinervaNoTransCMFactory bo
und to 'java:/MinervaNoTransCMFactory'
[MinervaNoTransCMFactory] Started
[MinervaSharedLocalCMFactory] Starting
[MinervaSharedLocalCMFactory] Connection manager factory 'MinervaSharedLocalCMFa
ctory bound to 'java:/MinervaSharedLocalCMFactory'
[MinervaSharedLocalCMFactory] Started
[MinervaXACMFactory] Starting
[MinervaXACMFactory] Connection manager factory 'MinervaXACMFactory bound to 'ja
va:/MinervaXACMFactory'
[MinervaXACMFactory] Started
[BlackBoxDS] Starting
[BlackBoxDS] Started
[JMX RMI Adaptor] Starting
[JMX RMI Adaptor] Started
[JMX RMI Connector] Starting
[JMX RMI Connector] Started
[Mail Service] Starting
[Mail Service] DEBUG: not loading system providers in <java.home>/lib
[Mail Service] DEBUG: not loading optional custom providers file: /META-INF/java
mail.providers
[Mail Service] DEBUG: successfully loaded default providers
[Mail Service]
DEBUG: Tables of loaded providers
[Mail Service] DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPTra
nsport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Mi
crosystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com
.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=jav
ax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
[Mail Service] DEBUG: Providers Listed By Protocol: {imap=javax.mail.Provider[ST
ORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], pop3=javax.mail.Pro
vider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], smtp=javax.
mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, I
nc]}
[Mail Service] DEBUG: not loading optional address map file: /META-INF/javamail.
address.map
[Mail Service] Mail Service 'Mail' bound to java:/Mail
[Mail Service] Started
[Jetty] Starting
[Jetty] Starting (jetty.mortbay.com)
[Jetty] start HttpServer version Jetty/3.1.RC5
[Jetty] Started SecurityHandler in WebApplicationContext[/jetty,Jetty3 Demo]
[Jetty] Jetty Demo Page: init
[Jetty] JSP: init
[Jetty] Started ServletHandler in WebApplicationContext[/jetty,Jetty3 Demo]
[Jetty] Started WebInfProtect
[Jetty] ResourceHandler started in file:/C:/Jetty/JBossJetty/jetty/webapps/jetty
/
[Jetty] Started ResourceHandler in WebApplicationContext[/jetty,Jetty3 Demo]
[Jetty] Started NotFoundHandler in WebApplicationContext[/jetty,Jetty3 Demo]
[Jetty] Started ServletHandler in ServletHandlerContext[/cgi-bin]
[Jetty] Started ForwardHandler in ServletHandlerContext[/]
[Jetty] Started ServletHandler in ServletHandlerContext[/]
[Jetty] ResourceHandler started in file:/C:/Jetty/JBossJetty/jetty/etc/dtd/
[Jetty] Started ResourceHandler in ServletHandlerContext[/]
[Jetty] ResourceHandler started in file:/C:/Jetty/JBossJetty/jetty/javadoc/
[Jetty] Started ResourceHandler in ServletHandlerContext[/javadoc]
[Jetty] Started ForwardHandler in ServletHandlerContext[/demo]
[Jetty] Started ServletHandler in ServletHandlerContext[/demo]
[Jetty] ResourceHandler started in file:/C:/Jetty/JBossJetty/jetty/docroot/
[Jetty] Started ResourceHandler in ServletHandlerContext[/demo]
[Jetty] Started DumpHandler in ServletHandlerContext[/demo]
[Jetty] Started SocketListener on 0.0.0.0:8080
[Jetty] Started successfully
[Jetty] Started
[Jetty] start HttpServer version Jetty/3.1.RC5
[Jetty] Already started on 0.0.0.0:8080
[Jetty] Started SocketListener on 0.0.0.0:8080
[Jetty] classpath set while started
[Jetty] Started WebInfProtect
[Service Control] Started 34 services
[Default] JBoss 2.2.2 Started in 0m:7s