[JBoss-user] EmbeddedTomcatServiceSX problem when using ConfigFile attribute

2001-06-01 Thread Tim Taylor
configFile}; } Stack trace follows. Thanks in advance, Tim Taylor $ run.sh tomcat JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar jboss.home = /opt/JBoss-2.2.2_Tomcat-3.2.2/jboss Using JAAS LoginConfig: file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/conf/tomcat/aut h.conf Using configuratio

RE: [JBoss-user] NamingService initialization problems--ConnectionException

2001-05-16 Thread Tim Taylor
ption > > > There is supposed to be a jndi.properties file in the conf/default or > equivalent > jboss dist directory that either does not set the provider > url or has it > commented out. This sets only the initial context factory and > the prefix > url packages

RE: [JBoss-user] NamingService initialization problems--ConnectionException

2001-05-15 Thread Tim Taylor
, the Context ctx = ... line gets a ConnectionException. If the jndi.properties file contains no provider url, the Context ctx = ... line gets a ConfigurationException saying "Provider URL missing." Tim Taylor public void initService() throws Exception { // Read jndi.properties into sy

[JBoss-user] NamingService initialization problems--ConnectionException

2001-05-14 Thread Tim Taylor
d for previous versions or do I need to use the development version? I'd rather use a released version if possible. Thanks, Tim Taylor jboss.home = C:\cygwin\opt\jboss-2.2 Using configuration "default" Please make sure the following is intended (check your CLASSPATH): jndi.pro

RE: [JBoss-user] Datasource lookup

2001-04-17 Thread Tim Taylor
Check your JNDI view and see where the datasource is bound in the java: portion of the tree. I'm surprised it isn't in java:/Falcon20. You should be able to access it inside the JBoss VM (but outside EJBs or servlets) by the JNDI name you find. Within EJBs, it will be bound to a name somethin

Re: [JBoss-user] need JDBCDataSourceLoader example

2001-04-14 Thread Tim Taylor
I just tried initializing the source variable in the no-args constructor. It works, but you also have to add a setPoolName/getPoolName pair to JDBCDataSourceLoader and JDBCDataSourceLoaderMBean. After that, JDBCDataSourceLoader works just like XADataSourceLoader from jboss.jcml. One minor d

RE: [JBoss-user] How to configure compatible DataSource JNDI for WebLogic and JBoss

2001-04-13 Thread Tim Taylor
-Original Message- From: Nguyen Thanh Phong [mailto:[EMAIL PROTECTED]] Sent: Friday, April 13, 2001 1:30 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] How to configure compatible DataSource JNDI for WebLogic and JBoss > What JNDI you use when you create DataSource for WL? jdbc/O

RE: [JBoss-user] How to configure compatible DataSource JNDI for WebLogic and JBoss

2001-04-12 Thread Tim Taylor
I use the following in my weblogic-ejb-jar file. The EJB code is then able to access the datasource using the name java:comp/env/jdbc/OraclePool in both WebLogic and JBoss. Outside the container is another story. If you are outside the container in JBoss, the name is java:/jdbc/OraclePool. If

Re: [JBoss-user] Solving Oracle Connection Pool Hanging

2001-04-10 Thread Tim Taylor
Oracle's DataSources don't do pooling in the sense of maintaining pools of physical connections (nneded for speed). Oracle calls minerva's type of pooling "connection caching" in their documentation for their JDBC 2.0 drivers. Oracle provides an "example" implementation of a cache called Ora

Re: [JBoss-user] Solving Oracle Connection Pool Hanging

2001-04-07 Thread Tim Taylor
I think a call to an XADataSource.getConnection() should get an SQLException when the underlying connection factory (in this case, in the excellent Minerva) gets an SQLException. My $0.02. Tim Taylor Tim Kemp wrote: > I too have suffered from the Oracle Connection Pool hanging JBoss 2.1

[JBoss-user] Propagating JAAS subject

2001-04-07 Thread Tim Taylor
x27;t want to do anything that overlooks some standard approach of which I am unaware. Any thoughts/comments? Tim Taylor ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] JAAS intraserver login/principal

2001-04-05 Thread Tim Taylor
ed to run as some privileged user in order to access secured resources? Tim Taylor ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] JAAS Subjects in EJBs

2001-04-03 Thread Tim Taylor
When using the example JAAS setup and hello statefull bean (from the JBoss site docs), I tried the following in the hello business method of the bean. Subject s = Subject.getSubject(AccessController.getContext()); This returns null. Shouldn't it return a Subject with my principal in its

Re: [JBoss-user] Minerva code

2001-03-31 Thread Tim Taylor
There is one version in the jbosscx module. It is 1.0b3, I think. Guy Rouillier wrote: > I tried searching the archives - that function appears to be broken. In the > process of attempting to answer a question on this mail list, I tried to > find the minerva code. The source snapshot that I a

[JBoss-user] Experience with Oracle cached statements and Minerva

2001-03-30 Thread Tim Taylor
It looks to me like you can't use Oracle's statement caching and Minerva pools together without modifying JBoss and/or Minerva code. Minerva does statement caching itself, but there is no way to control it centrally, either from jboss.jcml or from a hand-written service MBean. The statement

Re: [JBoss-user] Non-XA data source setup

2001-03-30 Thread Tim Taylor
er route or if > it is intended for use with jbosscx JCA implementation. > > David Jencks > > On 2001.03.29 22:27:14 -0500 Tim Taylor wrote: > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] Non-XA data source setup

2001-03-29 Thread Tim Taylor
ut it seems like it shouldn't work. Another alternative I don't like is using Minerva for the XA pool and using OracleConnectionCacheImpl for the other pool. Any help would be appreciated. Tim Taylor ___ JBoss-user mailing list [EMAIL

[JBoss-user] Minerva and prepared statement cache size

2001-03-29 Thread Tim Taylor
Is there a way to set the statement cache size so that all pooled connections use that size? If you just set the size on one connection using org.opentools.minerva.jdbc.xa.wrapper.XAClientConnection.setPSCacheSize(int) it only sets the cache size for that one connection. The very next conne

[JBoss-user] Oracle Statement Caching and Minerva

2001-03-27 Thread Tim Taylor
The directories are all empty in the CVS from sourceforge. Tim Taylor ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Multiple deployment problem

2001-03-27 Thread Tim Taylor
I ran into this too... The code for the deployer (org.jboss.deployment.J2eeDeployer) uses a new URLClassLoader per deployment. The problem is that the URLClassLoader loads classes from its parent classloader _before_ looking in archive (.jar, .war, or .ear) pointed to by its URL. If the bea

Re: [JBoss-user] Minimal JBoss config/Jbuilder debugging...

2001-03-25 Thread Tim Taylor
My bad I think. I just did a bunch of rechecking using the released 2.1 and the latest from CVS. Autodeploy is working fine in both for me. Earlier I must have had a bean class in the system classpath. I thought I checked that, but I guess I should have double-checked. Thanks for looking i

Re: [JBoss-user] Minimal JBoss config/Jbuilder debugging...

2001-03-24 Thread Tim Taylor
Actually, I think the auto-deploy doesn't work -- at least for the simple stateless session beans I am using. You always get the old implementation, even after what appears to be a successful deployment. It isn't a CLASSPATH issue. Even a very simple Hello World bean running in a JBoss with

[JBoss-user] Best practice for source management and build/test cycle

2001-03-21 Thread tim . taylor
We are using a fairly effective approach based on CVS and make. However, I wonder if anyone has posted a "bean/webapp" build/management pattern. For example, how should you structure your repositories and how should developers work through the build/test cycle?

RE: [JBoss-user] PLEASE HELP : How to bind javax.transaction.UserTransaction

2001-03-21 Thread tim . taylor
Check that your ejb-jar.xml file has Bean and that you are looking up "java:comp/UserTransaction" from the bean. It's not bound to javax.transaction.UserTransaction. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kirill Averianov Sent: Wednesday, March

[JBoss-user] Auto-deployment not getting new version of session bean.

2001-03-21 Thread tim . taylor
appreciated. We are trying to reduce the build/test cycle time, and JBoss would have the answer if not for this bug! Thanks, Tim Taylor Here is the code: : Remote Interface package strata.ejb.foo; import java.rmi.*; import javax.ejb.EJBObject; public interface ISSB extends EJBObject {

RE: [JBoss-user] PLEASE HELP : How to bind javax.transaction.UserTransaction

2001-03-21 Thread tim . taylor
Previous discussions indicate that this can't be done in JBoss and that supporting it would be non-standard. I wanted to do this too and ran into the same issue. If you just want to use a UserTransaction from code in the same JVM as JBoss, you have to use a session bean. You can't use the UserT