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
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
, 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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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?
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
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 {
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
26 matches
Mail list logo