hi jim,
thank you very much for your effort to help me. really appreciate it. went
throught the site already and so far everything that i need is there. will
go throught it in more detail. There is really no need to apologize. you
guys will really hear a lot from me here. so every little help
Hi,
1. How can I add a connection pool to a new database at runtime ?
2. I saw in the "Howto - Using MS SQL Server with JBoss"
(http://www.jboss.org/documentation/HTML/ch10s17.html) that one of the
vendors they author recommended was "i-net OPTA 2000", supports connection
pool. Does JBoss rely
Hi
I've two questions:
1. I wrote a simple mbean and it works fine. Can I add a mbean to jboss
by deploying a package or is it possible with modifying the jboss.jcml only ?
2. Is it possible to load balance message driven beans amongst several machines?
So I put a large amount of messages into
when i start jboss using run.sh
im getting this error
[EmbeddedTomcat] Starting
[EmbeddedTomcat] Starting EmbeddedTomcat
2001-04-18 01:14:47 - ContextManager: Adding context Ctx( /examples )
2001-04-18 01:14:47 - ContextManager: Adding context Ctx( /admin )
[EmbeddedTomcat] Starting tomcat.
Ok, this one is for me... I was changing jboss.conf in the default dir and I
use the jboss-tomcat integration.
I did the change in the conf/tomcat rep and it worked fine.
I had also to remove the jboss-auto to remove the double logging...
So now, it works...
Thanks for the help
franois
-
Hey,
when i start jboss using run.sh
im getting this error
[EmbeddedTomcat] Starting
[EmbeddedTomcat] Starting EmbeddedTomcat
2001-04-18 01:14:47 - ContextManager: Adding context Ctx( /examples )
2001-04-18 01:14:47 - ContextManager: Adding context Ctx( /admin )
[EmbeddedTomcat]
Hi all,
Im using tomcat embedded in jboss. I`m testing Interest emxample. When I
try to access to Interest EJB from the command line I havent any
problems.But when I try to access it from a servlet I obtain the following
error.
javax.naming.CommunicationException. Root exception is
Hi,
I have problem to connect on a linux jboss server with a windows 2000 jboss client (
This problem doesn't occur when I use a windows 2000 jboss server ). The client try to
connect on the linux server because tcpdump receive informations from the client.
The client have the following
I got the following error when trying to deploy my bean into Jboss 2.2 (with
Tomcat). I'm using the default value/configuration of Jboss/Tomcat.
[Container factory] org.jboss.ejb.DeploymentException: Missing or invalid
Instan
ce Pool (in jboss.xml or standardjboss.xml)
[Container factory] at
It looks like JMS is the way to go. For the moment I may still use RMI
while digesting JMS asap.
Thanks
Ralph
- Original Message -
From: Ken Jenks [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 11:02 AM
Subject: Re: [JBoss-user] EJB calls Java client
At 10:27
Hi,
I'm trying to deploy a Message Driven Bean but the auto deployer fails with
a javax.naming.NameNotFoundException: XAQueueConnectionFactory not bound.
The only place where I see this name is in jbossmq.xml in the
InvocationLayer element. What am I missing?
thanks,
Alexander Jerusalem
At 12:13 PM 4/18/01 +0200, you wrote:
Hi,
I have problem to connect on a linux jboss server with a windows 2000
jboss client ( This problem doesn't occur when I use a windows 2000 jboss
server ). The client try to connect on the linux server because tcpdump
receive informations from the
Hi
Is it possible to get JBoss to show the
generated SQL when I use a CMP method ??
i.e.
cdhome.create ("flemmin");
would cause something like
insert into cd values ("flemmin",..)
/flemming
___
JBoss-user mailing list
Hi all ,
I am using RedHat6.1 , postgresql7.0.1 ,jboss2.1 and jdk.1.3.
Do i need to worry if where start the jboss , i have the error below
:
[Container-Factory]No resource manager found for jdbc/PostgresDS
However , when i called ejb create , the records is inserted in my
table
Thanks for the help. Changing the order so that JbossRealm followed
JDBCRealm did the trick.
Thanks again
Dug
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Scott M
Stark
Sent: 17 April 2001 20:17
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user]
Hello,
Thanks for your answer.
I don't really the exception because I know that the client try to connect on the
remote server because I do a tcpdump and I see trafic from the client...
I try too your command line.
Thanks
Templ
[EMAIL PROTECTED] 18/ 4 13h15
At 12:13 PM 4/18/01 +0200, you
Hi,
I have successfully installed jBoss2.2+Tomcat and have deployed an
application.
I have secured my EJB beans with JAAS.
When I access my beans with a Java client, I can use my ejb beans without any
problem after logging in.
If I try to access my beans from within a jsp (through a bean), I
Hi Scott,
First of all the reason I needed the xerces parser was to be able to use some DOM2
features like importNode as well as some features of XALAN 2.0.1
To specify the xerces parser rather than the crimson I simply changed the run.bat to
specify the new JAXP information:
set
see inline
- Original Message -
From: "John Menke" [EMAIL PROTECTED]
What is the main reason for using embedded Tomcat?
Embedded Tomcat will enable your servlets/jsp to access the ejb container within
the same VM. This means that the invocation of methods will be intra-VM and
I've already mooted this once and it was widely ignored except for one
pooh-pooh.
The open source version of "show me the money" is "show me the code" so I've
built a working prototype of my idea. It isn't ready to use as an IDE, but
only for want of some templates and a bit more work on the
A genuine (if naive) question: Apart from the GUI, why is this better than
(or different to) Ant?
Jim
- Original Message -
From: "Peter Routtier-Wone" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 2:37 PM
Subject: [JBoss-user] EjbStudio
I've already mooted
Thanks Jim,
That clears up allot of questions. The Petstore application uses an .ear
file. Maybe if I break this file down into it's ejb and web components I
can make it work with a separate Tomcat.
As for JNDI, If I had a servlet or JSP page running in a separate Tomcat
the call to
Hi,
can you help me?
Does JBossMQ maintains unique JMSMessage IDs for queues?
It looks that queue is persistent but JMSMessageIDs aren't unique between
different JBoss runs.
Sequence is following under JDK1.3 on empty queue (dat file not exists):
1. Start JBossMQ server
2. Post message in
Ya, Sprinta2000 doesnt support the XADataSource... I had the same problem
and following changes in .jcml file can help u to rock-n-roll...
mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=MSSQL_Sprinta2000"
attribute
How can I get the jBoss server to log "information" events?
jim
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
- Original Message -
From: "John Menke" [EMAIL PROTECTED]
As for JNDI, If I had a servlet or JSP page running in a separate Tomcat
the call to instantiate the JNDI context would have to be changed in what
way?
You have to get the jndi poperties for jBoss into the Tomcat server. This
I'm trying to dynamically register queues on the server from my java code.
I know you can create temoprary queues with
queueSession.createTemporaryQueue. However you have no control over the
name of the temporary queue and it cannot be used by any other
sender/receiver.
We have run it under Optimize It and the objects appear to be cleaning up
properly - in fact, the profiling tool showed us that there was a HUGE number
of objects being used just to do a single transformation (as per the XSLT
implementation)!!
We've thought about the idea of clustering more,
not that this will solve your problem, it may help you fix it.
http://www-106.ibm.com/developerworks/xml/library/x-xslt2/index.html?openl=
bigx-2,t=gr,p=x.saxon
I know that we used to cache the parsed XSL sheet, this way we increased our
performance dramatically, otherwise, the XSLT parser has
Thierry,
make sure that jndi.properties on the client has "correct"
java.naming.provider.url pointing to the server host.
Thierry Templier wrote:
Hello,
I try to use jBoss on a remote server but I don't want to use security to work with
my beans. When my server is started and when I
Thierry Templier wrote:
Hello,
Thanks for your answer.
I don't really the exception because I know that the client try to connect on the
remote server
Nope, it does NOT. And the exception clearly states that
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested
I'm trying to use SQLServer 2000 with the i-net OPTA 2000 driver on
JBoss pre-2.1 and am getting "javax.transaction.xa.XAException: The XID
is
not valid" when I first try to select a row from SQL Server. I've
attached more
details from the log below, in case it's useful.
The support people at
Nevermind. I see now that Information logging *is* turned on by default.
jim
- Original Message -
From: "James Cook" [EMAIL PROTECTED]
To: "jBoss User" [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 10:31 AM
Subject: [JBoss-user] Turning on Information Logging
How can I get the
Hi,
I haven't used JBoss much recently but did play around with JAAS and wrote
a class for authentication and access control using an RDB in version 2.0
(it of course still works in 2.2). I'm now about to look into PKI (Public
Key Infrastructure) and its usage with JBoss and have seen some
Folks,
I just noticed the following behavior and wonder if there are preferred
patterns for dealing with it. I've got an entity bean which can
presumably be accessed by remote client-side code (e.g. in another VM)
or by session beans running in the jboss server VM. Let's say the
entity bean
This could be due to the new glibc 2.2 in Red Hat 7.x, which is known to
not behave according to the assumptions the jdk makes.
I just installed Red Hat 7.1 (from 6.2), and it reccommends installing
glibc 2.1 compatibility libs and executing the following 2 lines before
running java:
export
I using MinervaXADataSourceImpl and happy with it. (i was working on Oracle 816 and
815 )
When i started to work with JBoss I was trying Oracle data sources but i was getting
errors when i was using BLOB fields and Forein Keys.
DD
Darius Davidavicius
Living-Source
Hi,
This may be a very stupid question. I use Auto Increment condition on my ID
column and got the error message.
Is there any function such as nextval in hypersonic to generate the sequence
number?
CREATE TABLE sometable (
name VARCHAR(20) NULL,
ID
Seems like you're fighting the system a bit. My understanding may be
incorrect but with CMP, you're telling the system that whatever you have in
your EJBs needs to be persisted somehow. When it sees the DB out of sync
with the bean, it updates the DB. That's my guess but I'm sure the EJB
toby cabot wrote:
Folks,
I just noticed the following behavior and wonder if there are preferred
patterns for dealing with it. I've got an entity bean which can
presumably be accessed by remote client-side code (e.g. in another VM)
or by session beans running in the jboss server VM.
The behavior you observe is because JBoss defaults to 'Commit option A'
(see the EJB 1.1 spec for a detailed discussion of this). If you have
external (to JBoss) updaters of your database, change your commit-option
to B or C in jboss.xml (or standardjboss.xml to change it globally).
-danch
D I
Hi,
Good to see the new release of JBoss.
I downloaded both the JBoss only package, and the
JBoss + Jetty package. On unzipping, I found that
JBOss only zip file contains JBoss2.2 folder, while
the JBoss+Jetty version has got the old folders
(Jboss-pre-2.1)
(I downloaded both from
Ken Jenks wrote:
You can do this on the command line like this:
java -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
-Djava.naming.provider.url=localhost:1099 -classpath
or give the client a jndi.properties containing the proper URL in the
root of its classpath.
Is it possible to implement a ejbFindBySQLWhere(java.lang.String) in
jboss ? this is finder method is one of the methods that are implemented
in Persistance Powertier, and I am working on porting some code from
there. Well the Wrapers that powertier generates uses this method.
The following
A very good question and one I'm glad you asked.
Make tools assume you've already correctly prepped all of your beans and
descriptors. ejbDoclet goes some way to taking the drudge work out of
constructing the accompanying paraphernalia like various interface classes
and the descriptor.
However,
Hi,
This must be the no. 1 question on the list! :-)
jBoss defaults to commit-option A in standardjboss.xml. Basically this means that
jBoss is supposed to be the only one fooling
around with the datasource. Look in the spec to determine if commit-option B or C is
your preferred choise...
set the debug option in jaws.xml or standardjaws.xml.
Flemming Schmidt Boller wrote:
Hi
Is it possible to get JBoss to show the
generated SQL when I use a CMP method ??
i.e.
cdhome.create ("flemmin");
would cause something like
insert into cd values
I'm not sure this is valid behavior, but I can't find anything that applies explicitly
to the method return values. This EJB 1.1 spec section on argument values clearly
states that passing method arguments by reference is not allowed so I don't
know why returning a reference should be valid:
I have searched the hypersonic web site
http://sourceforge.net/projects/hsql/ and found no documentation at all.
Can anyone tell me where to find the hypserson documentation regarding what
kind the data type and functions it supports?
Thanks
Pifen Ellwood
You can get it from http://wamoz.com/EjbStudio.asp
Or at least you will be able to once the evil thing lets me upload the file.
It keeps unexpectedly closing the connection during transfer.
Peter Routtier-Wone
--
May the source be with you.
Hi!
Has someone already purchase this book ?
That's a good book ?
Thanks
Joel
___
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis,
Yahoo! Messenger : http://fr.messenger.yahoo.com
Hi,
it's a bug in the JDK, should be fixed in 1.3.1
see http://developer.java.sun.com/developer/bugParade/bugs/4346224.html
in the meantime, avoid using char in your bean code
-- Juha
At 10:24 18.4.2001 -0400, you wrote:
Hi,
I have a jar I'm trying to deploy on Solaris 8, jdk 1.3.0.
It
On Wed, Apr 18, 2001 at 08:19:31PM +0800, Russell wrote:
Hi all ,
I am using RedHat6.1 , postgresql7.0.1 ,jboss2.1 and jdk.1.3.
Do i need to worry if where start the jboss , i have the error below
:
[Container-Factory]No resource manager found for jdbc/PostgresDS
Yes.
On Wed, Apr 18, 2001 at 09:40:51AM +0200, Jose Ramon Diaz wrote:
Hi Toby!
Thanks a lot! You were right...
Excellent. I'm responsible for adding some SQLJ to the product at work, so
I'm glad to see it working for other people.
If anybody is interested the code looks like:
FWIW, this is not the way it is set up in the preconfigured JBoss
2.2/Tomcat 3.2.1 distro. Probably worth sticking in bugzilla.
Darrin
"Scott M Stark" [EMAIL PROTECTED] writes:
The JavaPetStore example uses JDBCRealm and JbossRealm successfully. The order
of JDBCRealm and JbossRealm in the
Hi,
I think you could do this by writing a new descendant of
org.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand.
You would need to override getSQL to return the SQL with the modified where
clause and setParameters to do nothing. ( I assume if you want to set the
where clause dynamically you don't
The bundled config uses the org.apache.tomcat.request.SimpleRealm as
there is no meaningful default setup for the org.apache.tomcat.request.JDBCRealm
- Original Message -
From: "root" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 12:16 PM
Subject: Re:
I thought this was provider specific... but then again I have not really
tried to do this (yet). Here is a snippet from the J2EE javadocs on JMS
(read the last paragraph):
snip
public Queue createQueue(java.lang.String queueName)
throws JMSException
Create a queue
Mike Hoolehan [EMAIL PROTECTED] writes:
I'm attempting to use the env-entry tag in my web.xml descriptor of a j2ee app to
define some constants. Like this:
env-entry
descriptionHex code for highlight color/description
env-entry-namehtmlHighlightColor/env-entry-name
Hi,
We have the following problem :
The problem is that we have to deal with direct access to the underlying
database. We absolutely cannot make all accesses go through the EJB
layer (for now that is). While this is the case, we have to find ways to
make JBoss refresh the data from the physical
For binding a subcontext from a remote server you should be able to use the
Context.PROVIDER_URL
to specify the subcontext and so the SubContext attribute should not be necessary. To
create a local alias I would rather create a new NamingAlias mbean that created
LinkRefs:
mbean
[Container-Factory]No resource manager found for jdbc/PostgresDS
Yes. This means that you haven't successfully mapped the bean-local
name,
"java:comp/env/jdbc/PostgresDS" to the global name of the
DataSource you
want.
...
You need to check your jboss.xml to make sure the mapping is
On Wed, Apr 18, 2001 at 04:49:14PM -0400, Deadman, Hal wrote:
[Container-Factory]No resource manager found for jdbc/PostgresDS
Yes. This means that you haven't successfully mapped the bean-local
name,
"java:comp/env/jdbc/PostgresDS" to the global name of the
DataSource you
Thanks for the help everyone. Darrin pinpointed the problem.
The comp/env namespace seemed to work for for env-entries declared in my ejb-jar.xml
file, but i could not access the comp/env entries declared in my web.xml unless that
"empty" jboss-web was also there.
Thanks.
Mike
On
We are having problems connecting to a JBoss EJB from a servlet when running
Tomcat in its own JVM. The error occurs when we try to get an
InitialContext, and we get a org.jnp.interfaces.NamingContextFactory class
not found exception. I believe we have put all the necessary Jboss
libraries
I'll look at adding support for the resource-env-ref when I
fix an existing namespace issue.
If you get time that would be nice. I would rather not have to manage
accessing two different contexts.
--jason
___
JBoss-user mailing list
[EMAIL
Hey,
Hi,
We have the following problem :
The problem is that we have to deal with direct access to the
underlying
database. We absolutely cannot make all accesses go through the EJB
layer (for now that is). While this is the case, we have to
find ways to
make JBoss refresh the data
Hello, everyone;
Any insight would be greatly appreciated.
I'm porting an existing application from jBoss 2.0 FINAL to jBoss 2.2.
FINAL. Here's the exception I'm getting:
Starting tomcat. Check logs/tomcat.log for error messages
No webapps/ directory C:\local\forte4j\temp\tomcat\webapps
Client need to add jbosssx-client.jar in addition to jboss-client to their
classpath in 2.2
- Original Message -
From: "Kevin James Baxter" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 3:34 PM
Subject: [JBoss-user] Help with Exception:
Saw this same problem on Linux w/ Blackdown 1.3. Something about a
"profile" field needs to be added. :-(
Bill Burke wrote:
Has anybody ever gotten JProbe to work with JBoss? Optimizeit seems
to work, but I really hate the UI. JBoss has problems loading CMP
JAWS entity beans with
Hi everyone, I just downloaded JBoss 2.2 with Tomcat and ran through the
first example in the documentation for deploying the InterestBean.
Deployment went fine but when I tried to run the InterestClient I get the
following exception. I am running on WinNT 4.0 with JDK1.3 that comes with
Hi, Scott;
It worked!
Thanx,
-Kevin
Scott M Stark wrote:
032101c0c860$90b26580$364211ac@succubussi">Client need to add jbosssx-client.jar in addition to jboss-client to theirclasspath in 2.2- Original Message -From: "Kevin James Baxter" [EMAIL PROTECTED]To: [EMAIL PROTECTED]Sent:
Hi Toby ,
First of all , I did not deploy the ejb jars with jboss.xml(from
documentation is optional).
And the records are inserted into my table , i can see it in my
database.
Thanks.
Toby Allsopp wrote:
On Wed, Apr 18, 2001 at 08:19:31PM +0800, Russell wrote:
Hi all ,
Yes, the JBossMQ service starts up correctly as I can see at JBoss startup.
I don't know, however, if the name that the MessageBean is obviously
configured to use (XAQueueConnectionFactory) is actually bound. I've been
thinking that it is the job of the JBossMQ service to bind this name. Or is
In my standardjboss.xml, I have this entry " resource-managers /". It
obviously means that my resource manager is not configured.
Please help me.
Thanks.
Nguyen Thanh Phong.
___
JBoss-user mailing list
[EMAIL PROTECTED]
On Thu, Apr 19, 2001 at 09:53:39AM +0800, Russell wrote:
Hi Toby ,
First of all , I did not deploy the ejb jars with jboss.xml(from
documentation is optional).
And the records are inserted into my table , i can see it in my
database.
Actually, looking at the code, it seems that the
Hi
Remember seeing in the mailing list that jboss is
setup a stable branch for 2.2 for bug fixes etc. How do I access
this?
regards
Chiah Tong Kiat
On Thu, Apr 19, 2001 at 08:55:24AM +0700, Nguyen Thanh Phong wrote:
In my standardjboss.xml, I have this entry " resource-managers /". It
obviously means that my resource manager is not configured.
Have you changed standardjboss.xml? If not, then that's not the problem,
because it works for
On Thu, Apr 19, 2001 at 11:08:27AM +0800, Russell wrote:
Hi Toby,
I have did not see any DefaultDS in my jboss.jcml.
And for second question , i did not why it can inserted record into
table even i have the warning from jboss.
Thanks
Below is my jboss.jcml file :
Yep,
No, I haven't touch the standardjboss.xml file.
I put the following into jboss.xml
?xml version="1.0" encoding="Cp1252"?
jboss
resource-managers
resource-manager res-class="org.jboss.ejb.deployment.JDBCResource"
res-nameDefaultDS/res-name
Hi Toby ,
No.
I just called ejbcreate .
I did not understand why it can find my datasource.
below is my ejb-jar.xml and jaws.xml . Maybe you can find something
weird in the xml file
?xml version="1.0" encoding="ISO-8859-1"?
!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD
81 matches
Mail list logo