costin [mailto:[EMAIL PROTECTED] wrote:
P.S. btw, except the payed docs can you recommend something else?
We haven't found anything else that's even remotely adequate.
P.P.S how important are the payed docs? (on a scale from 1 to 10)?
10 for us.
Benjamin Geer
Misys Intl. Banking Systems
I'm trying to use Apache Axis with JBoss; the goal is to have a web
service implemented by an MBean. (I'm not using JBoss.NET, because I
have no EJBs.)
When my MBean starts up, I'd like it to deploy itself as a web service,
by invoking the Axis AdminServlet (using the Axis AdminClient class).
It
Try this:
MBeanServer myMBeanServer =
(MBeanServer)MBeanServerFactory.findMBeanServer(null).get(0);
There's a lot of code like that in JBoss
itself.
Benjamin
-Original Message-From: Brian McSweeney
[mailto:[EMAIL PROTECTED]]Sent: 19 February 2003
16:03To: [EMAIL
Haslbeck, Jörg [mailto:[EMAIL PROTECTED]] wrote:
What happens is that the database department shuts down
Oracle, runs the backup, and brings the database server back on-line.
Now, JBoss does not re-connect and the application is dead.
I asked about this here last year, and David Jencks
Brian McSweeney [mailto:[EMAIL PROTECTED]] wrote:
For example - in loads of standard web applications if you register
with a site and give your email address then a mail is sent
to you and once you reply, you then have your account.
How could this be handled in J2EE? Anyone?
I think the
James Ward [mailto:[EMAIL PROTECTED]] wrote:
This might be a very dumb question, but I can't figure it out.
I have a blah.jar file which contains a blahMBean
I have a blah-service.xml which uses the blahMBean
When I drop both files into the deploy dir at the same time, JBoss
always tries to
Camus Chan [mailto:[EMAIL PROTECTED]] wrote:
Or any configurations need to change to cater
Hong Kong extended Big 5 characters ?
Are you specifying Big5-HKSCS in the contentType attribute of the
page directive in your JSP pages?
See Localized Content in JSP Pages, in:
Guy Rouillier [mailto:[EMAIL PROTECTED]] wrote:
Just store areference to a location in the filesystem, and keep the
binary files in the filesystem. You can back up your filesystem
as easily as you can back up your Oracle logs.
I tried this for a content management system I worked on once.
To: Geer, Benjamin; [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Character encoding questions
Yes, I do.
-Original Message-
From: Geer, Benjamin [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 5:48 PM
To: '[EMAIL PROTECTED]'
Cc: 'Camus Chan'
Subject: RE: [JBoss-user
Camus Chan [mailto:[EMAIL PROTECTED]] wrote:
1. First as said, I can read them using SQL*plus or by
another application server. I don't think it is database related.
However, it still might be a problem with the configuration of your JDBC
driver (which isn't part of the database). I think
Edgar Silva [mailto:[EMAIL PROTECTED]]
I am with a big problem using JBoss-3.0.0 With TomCat4,
I have a war file, and when I just deploy this war file,
The console show me the message:
file not found WEB-INF/web.xml
It means what it says. Your WAR file apparently doesn't contain
Darren Hartford [mailto:[EMAIL PROTECTED]] wrote:
Outside of JBoss, with Content Management Systems, the most
common problem is how to handle large amounts of data,
That's what RDBMSs are designed to do well. There are plenty of
databases out there that contain terabytes of data in tables.
Danilo Luiz Rheinheimer [mailto:[EMAIL PROTECTED]]
The solution for this is write a JCA adaptor for a file based
persistent store, as already pointed on this thread.
With this the file store will support transactions too.
Hmm, a file-based, transactional, persistent store... I think
Meyer-Willner, Bernhard wrote:
Are there any other ways to get a list of active
users from the JAAS LoginContext?
Why not create the list yourself as users log in?
Benjamin
---
This SF.NET email is sponsored by:
SourceForge Enterprise
You could modify the script so it sets JAVA_HOME.
Benjamin
-Original Message-From: Mike Lecza
[mailto:[EMAIL PROTECTED]]Sent: 18 December 2002
14:40To: [EMAIL PROTECTED]Subject: RE:
[JBoss-user] Start JBoss 3 upon Linux Reboot
Yeah - that is what
we use - but we set
Eric Kaplan wrote:
It spawns threads, so can it be in the ejb tier?
No, that would violate the EJB spec.
I suggest you turn it into an MBean. This has nothing to do with the
J2EE spec,
but it works wonderfully in JBoss. We're porting one of our
applications, which
has previously run as a
Eric Kaplan wrote:
What's my best resource for understanding how to turn this
thing into an mbean and then have the mbean accessed via slsb's?
One easy approach:
1. Write an MBean interface for your component, extending
org.jboss.system.ServiceMBean.
2. Write the implementation of your MBean,
http://marc.theaimsgroup.com/?l=jboss-userr=1w=2
-Original Message-
From: Eric Klimas [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2002 14:55
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Using a JBOSS DataSource Outside of JBOSS
Which brings up another question that I've been
João Clemente wrote:
However I'm not able to launch rmiregistry in a machine
already running JBoss because JBoss opens the ports used by
the rmiregistry to place the jndi naming service.
This seems to be related to my question about whether you can use JBoss
itself as an RMI registry:
Alternatively, you can change the port JBoss uses for its JNDI service
from 1099 to something else; see
$JBOSS_HOME/server/default/conf/jboss-service.xml. Or you can run
rmiregistry on a different port (see the documentation for rmiregistry).
Benjamin
-Original Message-
From: Joao
I have an MBean that runs within JBoss, and extends
java.rmi.server.UnicastRemoteObject. I'd like to make it available to
RMI clients outside JBoss. I haven't found anything specifically about
this in the JBoss documentation, but the Administration and Development
Guide gives me the impression
Arijit Ghosh wrote:
However, in case of simultaneous access, the application fails and
JBOSS throws CONCURRENCY error.
I think you'll need to be much more specific than this in order to get
help. You should explain exactly what your application is doing when it
fails, and provide a full stack
Arijit Ghosh wrote:
Any pointers for concurrency related issues ?
The J2EE specifications contain lots of information about
concurrency-related issues.
Perhaps you have a more specific question?
Benjamin
---
This sf.net email is sponsored
This appears to be something like JBoss's JCA adapter for JDBC drivers;
I'm wondering if it would be a good idea for JBoss to use it instead of
having its own adapter.
Benjamin
Original Message
Subject: [JDBC] JDBC Connector Early Access Release
Date: Thu, 24 Oct 2002 15:00:23
It sounds as if you haven't put your MBean implementation class in a
place where JBoss can find it, e.g. in a JAR file in
default/server/lib.
Benjamin
-Original Message-From: Kazandjian Erik
[mailto:[EMAIL PROTECTED]]Sent: 25 October 2002
08:13To: jboss-user@lists.
Is there a techncial reason why you're using JBoss 2.4 instead of JBoss
3.0? You'll probably find it easier to get support if you use JBoss
3.
Benjamin
-Original Message-From: Kazandjian Erik
[mailto:[EMAIL PROTECTED]]Sent: 25 October 2002
08:59To: jboss-user@lists.
Kazandjian Erik wrote:
I'v installed JBoss 3.0.2 and tried to connect to poret 8082
to have access to the JMX agent, but I get no response. Does
anybody know what I might do wrong ?
http://localhost:8080/jmx-console/
Benjamin
---
This
rahul ganjoo wrote:
Yes Ofcourse the EJB spec doesnt recommend threading
in EJBs...
Section 24.1.2 of the EJB 2.0 spec says:
An enterprise Bean must not use thread synchronization primitives to
synchronize execution of
multiple instances.
rahul ganjoo wrote:
Yes Ofcourse the EJB spec doesnt recommend threading
in EJBs...
It specifically *prohibits* threading. Section 24.1.2 of the EJB 2.0
spec says:
The enterprise bean must not attempt to manage threads. The enterprise
bean must not attempt
to start, stop, suspend, or resume
David Jencks wrote:
You could try using 3.2 and setting the TrackConnectionByTx attribute
to
true: this will prevent trying to do suspend/resume calls.
Where can I set this attribute, and what is the syntax for setting it?
Benjamin
---
Bekkum, Odd Rune wrote:
When I deploy an MDB I get the following error:
Did you test MQSeries using JMS in JBoss without any message-driven
beans? You can do this by making a little JBoss MBean service which
just tests MQSeries using the JMS API. This would help you find out
whether the
Dhiraj Ramakrishnan wrote:
For the above line if i give use the following options
it gives me the following error
a) ByContainerAndApplication -
org.jboss.util.NestedSQLException: Need non-null subject for subject/cri
based pooling; - nested
Gangadhar wrote:
I found in some of the sites/forums that we need to add some info in
JBOSS.JCML
file which i could not find in my JBOSS installed directory which i
have downloaded
from www.jboss.org. (jboss-3.0.0_tomcat-4.0.3)
jboss.jcml is not used in JBoss 3; it was used in older versions
Jon Haugsand wrote:
Thanks a lot, we are now looking into it. However, we are uncertain
if this is enough to activate automatically a message driven bean? Is
it?
I don't know, because I'm not using message-driven beans. I'd suggest
looking for information about setting up message-driven
Here's a little HOWTO that I wrote for the project I'm currently working
on.
Using JBoss with MQSeries JMS
=
This information is up to date for JBoss 3.0.1.
You'll need the MQSeries classes for Java.
To put MQSeries JMS queues into the JBoss JNDI namespace, you
Pete Beck wrote:
That's an easy one. Using web-servers enables you to use the benefits
of a well-established infrastructure.
It means that you can present you services to clients without
having to
worry about firewalls etc.
This is a typical example of corporate thinking. We've installed
David Ward wrote:
I know this is more of a tomcat/mod_jk problem than jboss',
but thought
I'd give it a shot in this list, as I haven't gotten a
response from the Tomcat forum at JGuru:
Please post your request on the Tomcat User Mailing List at
jakarta.apache.org:
Vittorio Ballestra wrote:
Second : I'm tring to attach OptimizeIt to jboss-3.0.2 as I was
suggested, to track memory leaks. I followed the instruction on Optit
site but the result is a jvm crash on startup (not resolver symbol).
Please post a more detailed description of exactly what you are
Jon Haugsand wrote:
It looks like the mbean is registrated, but I get error message that
complain with no ocijdbc8 in java.library.path
The OCI driver comes with a native library (probably called ocijdbc8.dll
on Windows, or libocijdbc8.so on Unix), which the Java executable needs
to be able to
Vittorio Ballestra wrote:
I'm experiencing memory leakings problems with jboss.3.0.2 (j2sdk1.4.0
from sun).
Our server works fine for serveral days but as new entities
are created
I see memory occupation rising until there's an OutOfMemory exception.
Is this behaviour a known bug of
Jon Brisbin wrote:
I'm worried that having only
one object to handle any and all requests will be limiting.
Is this a problem?
In principle, as long as your object doesn't hold any locks (i.e.
doesn't use synchronization), having one object handling lots of
requests is a good thing for
Alwyn Schoeman wrote:
Its like this fellow on the JBoss forums who upon someone asking an
xdoclet question had the time to go and make a remark along
the lines of
'Yes you're wrong. Go ask the question on the xdoclet site'. He
obviously knew the answer, and although he obviously had the
Eric Kaplan wrote:
I was humming along and got the following in my jboss cmd console:
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at
PC=0x6D3B6F55
Looks like a JVM bug to me. You could report it here:
http://developer.java.sun.com/developer/bugParade/
Benjamin
I need information on how many users (possibly concurrent
users) on what
hardware spec... you know know what I mean...
It depends on what your application does. If it only does stateless
calculations in memory, you'll need a less powerful machine than if it
connects to 6 databases at the
Sobkowiak Krzysztof wrote:
Can I find anywhere JSP (Servlet, EJB) manual?
http://java.sun.com/j2ee/docs.html
Benjamin
---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
See the section Specifying Service Dependencies on page 54 of the
JBoss 3.0.1 Administration and Development book.
Benjamin
-Original Message-
From: Alan Yost [mailto:[EMAIL PROTECTED]]
Sent: 20 August 2002 13:45
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] MySql with Jboss 3.0.1
Replying to myself:
I've got this working now.
Having committed a UserTransaction, if I then begin a new
UserTransaction in the same thread, using the same JMS objects
(QueueSession, etc.), MQSeries complains
It seems that a new QueueSession must be created for each transaction.
Starting a
Can someone post an update on the effect of the following Sun JVM bugs
on JBoss 3.0.1?
http://developer.java.sun.com/developer/bugParade/bugs/4670071.html
http://developer.java.sun.com/developer/bugParade/bugs/4699981.html
The JBoss book for 3.0.1 says that, for 3.0.0:
The default class
Burns, Jamie wrote:
It seems clear that JBoss is finding
com.microsoft.jdbcx.sqlserver.SQLServerDataSource. If it couldnt find
it l would
expect a ClassNotFoundException. It also seems clear that it should be
able to
be cast it to javax.sql.XADataSource since the super class implements
Server 2000 Driver for JDBC Users Guide
and Reference.
Thanks
-Original Message-
From: Geer, Benjamin [SMTP:[EMAIL PROTECTED]]
Sent: Friday, July 19, 2002 5:30 PM
To: '[EMAIL PROTECTED]'
Cc: 'Burns, Jamie'
Subject:MS SQL XA driver (was: You are not getting
David, here's a clarification from Sun, regarding the question we had
about whether a tx manager could use any connection to commit any
transaction. (They say it can.)
Benjamin
-Original Message-
From: Ram Jeyaraman [mailto:[EMAIL PROTECTED]]
Sent: 13 July 2002 01:04
To: Geer, Benjamin
We're developing an application using JBoss, and we have a client who
wants to be able to shut down the database, restart it, and have our
application automatically reconnect.
Our experience with JDBC is that this is very difficult to do, mainly
because there's no database-independent way to
David Jencks wrote:
If you are intentionally shutting down the db and restarting,
it should not
be that hard to also stop and (re)start the connection pools.
Which jboss
are you using?
We're using 3.0.0 now; we intend to keep upgrading to the latest stable
versions as they become
Here's a mssql-xa-server.xml, for using Microsoft SQL Server 2000 with
Microsoft's JDBC driver.
?xml version=1.0 encoding=UTF-8?
!--
=
--
!--
--
!-- JBoss Server Configuration
--
!--
--
!--
David Jencks wrote:
However, my opinion is that what I think you meant is allowed, and
that the
connections are (as far as tx/xid go) stateless.
I just noticed this passage in the JTA spec (3.4.6):
'To initiate the transaction commit process, the transaction manager is
allowed to use any of
I'm trying to get XA transactions to work in JBoss 3.0.0 with Oracle 9i.
I've tried the oracle-service.xml provided with JBoss in
docs/examples/jca (which uses LocalTxConnectionManager), and it works
fine. I modified it to make an oracle-xa-service.xml (attached), using
XATxConnectionManager,
Suppose an application uses connections to two resources, resource-A and
resource-B. There are two connection pools, both with a maximum size of
2. There are 4 threads.
Imagine this scenario:
Threads 1, 2, 3 and 4 begin transactions.
Threads 1 and 2 request connections from the resource-A
David Jencks wrote:
The connection can be used for many open transactions
sequentially.
OK, that makes sense.
When the txs commit, the tx manager is free to choose either
connection from each pool to commit either of the transactions.
This comes as a surprise to me. Does this mean that
Sorry, my example was garbled. Here's the scenario whose validity I'm
trying to confirm:
Say we have a pool of two connections to database MyDB (XAResource
objects xares1 and xares2). We start two transactions (Xid objects xid1
and xid2). The tx manager can make the following calls:
//
I've got a non-EJB Java app (it makes its own threads, etc.) which needs
to be able to perform distributed transactions, i.e. transactions across
multiple databases and other XA-compliant resources. I'd like to plug
in a standalone JTA implementation for this purpose. Would it be
possible to
60 matches
Mail list logo