RE: Re[2]: [JBoss-user] help with bounding entity bean

2003-02-26 Thread Geer, Benjamin
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

[JBoss-user] Delay an MBean's deployment until a WAR has been deployed?

2003-02-26 Thread Geer, Benjamin
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

RE: [JBoss-user] Basic JMX question

2003-02-19 Thread Geer, Benjamin
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

RE: [JBoss-user] jboss backup management: howto?

2003-02-07 Thread Geer, Benjamin
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

RE: [JBoss-user] Sending and receiving Emails

2003-02-04 Thread Geer, Benjamin
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

RE: [JBoss-user] blah-service.xml deployment problem

2003-01-14 Thread Geer, Benjamin
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

RE: [JBoss-user] Character encoding questions

2003-01-13 Thread Geer, Benjamin
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:

RE: [JBoss-user] Store large pdfs with JBoss

2003-01-13 Thread Geer, Benjamin
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.

RE: [JBoss-user] Character encoding questions

2003-01-13 Thread Geer, Benjamin
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

RE: [JBoss-user] Character encoding questions

2003-01-13 Thread Geer, Benjamin
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

RE: [JBoss-user] Problems with Servlet and TomCat with JBoss

2003-01-13 Thread Geer, Benjamin
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

RE: [JBoss-user] Store large pdfs with JBoss

2003-01-13 Thread Geer, Benjamin
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.

RE: Re[2]: [JBoss-user] Store large pdfs with JBoss

2003-01-13 Thread Geer, Benjamin
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

RE: [JBoss-user] List of active users logged in thru JAAS

2003-01-09 Thread Geer, Benjamin
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

RE: [JBoss-user] Start JBoss 3 upon Linux Reboot

2002-12-18 Thread Geer, Benjamin
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

RE: [JBoss-user] J2ee spec thoughts

2002-12-10 Thread Geer, Benjamin
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

RE: [JBoss-user] J2ee spec thoughts

2002-12-10 Thread Geer, Benjamin
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,

RE: [JBoss-user] Using a JBOSS DataSource Outside of JBOSS

2002-12-04 Thread Geer, Benjamin
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

RE: [JBoss-user] How to use JBoss and rmiregistry simultaneously? (Ecperf related)

2002-12-02 Thread Geer, Benjamin
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:

RE: [JBoss-user] How to use JBoss and rmiregistry simultaneously? (Ecperf related)

2002-12-02 Thread Geer, Benjamin
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

[JBoss-user] how to export an MBean via RMI?

2002-11-26 Thread Geer, Benjamin
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

RE: [JBoss-user] Re: Re: Concurrency problem

2002-10-30 Thread Geer, Benjamin
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

RE: [JBoss-user] Concurrency problem

2002-10-29 Thread Geer, Benjamin
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

[JBoss-user] Fwd: [JDBC] JDBC Connector Early Access Release

2002-10-25 Thread Geer, Benjamin
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

RE: [JBoss-user] ModelMBean class not found

2002-10-25 Thread Geer, Benjamin
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.

RE: [JBoss-user] ModelMbeans help please

2002-10-25 Thread Geer, Benjamin
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.

RE: [JBoss-user] Port 8082

2002-10-24 Thread Geer, Benjamin
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

RE: [JBoss-user] Strange Problem on Linux

2002-10-16 Thread Geer, Benjamin
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.

RE: [JBoss-user] Strange Problem on Linux

2002-10-16 Thread Geer, Benjamin
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

RE: [JBoss-user] Does anybody work with XA driver for MS SQL Server?

2002-10-14 Thread Geer, Benjamin
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 ---

RE: [JBoss-user] Jboss and MQSeries.

2002-10-08 Thread Geer, 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

RE: [JBoss-user] Configuring Jboss with MSSqlServer2000

2002-10-08 Thread Geer, Benjamin
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

RE: [JBoss-user] Problem in connecting to oracle in JBOSS with Tomcat

2002-10-07 Thread Geer, Benjamin
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

RE: [JBoss-user] MQ Series messages to JBoss message beans?

2002-10-04 Thread Geer, Benjamin
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

RE: [JBoss-user] MQ Series messages to JBoss message beans?

2002-10-02 Thread Geer, Benjamin
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

RE: [JBoss-user] Gosling has Web Services right...

2002-09-30 Thread Geer, Benjamin
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

RE: [JBoss-user] mod_jk error

2002-09-27 Thread Geer, Benjamin
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:

RE: [JBoss-user] JBOSS-3.0.2 memory leaks

2002-09-24 Thread Geer, Benjamin
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

RE: [JBoss-user] JBoss 3.0.1 and Oracle-XA

2002-09-23 Thread Geer, Benjamin
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

RE: [JBoss-user] JBOSS3.0.2 memory leakings ?

2002-09-20 Thread Geer, Benjamin
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

RE: [JBoss-user] Scalability of JBoss JMX-enabled web components

2002-09-17 Thread Geer, Benjamin
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

RE: [JBoss-user] Hardware spec.

2002-09-09 Thread Geer, Benjamin
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

RE: [JBoss-user] nasty error

2002-09-09 Thread Geer, Benjamin
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

RE: [JBoss-user] Hardware spec.

2002-09-06 Thread Geer, 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

RE: [JBoss-user] J2EE Manual

2002-09-05 Thread Geer, Benjamin
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!

RE: [JBoss-user] MySql with Jboss 3.0.1

2002-08-20 Thread Geer, Benjamin
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

RE: [JBoss-user] transaction and pooling problems with MQSeries

2002-08-09 Thread Geer, Benjamin
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

[JBoss-user] update on ClassCircularityError issues?

2002-08-09 Thread Geer, Benjamin
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

RE: [JBoss-user] RE: MS SQL XA driver (was: You are not getting the semantics you expect warning)

2002-07-25 Thread Geer, Benjamin
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

RE: [JBoss-user] RE: MS SQL XA driver (was: You are not getting the semantics you expect warning)

2002-07-23 Thread Geer, Benjamin
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

[JBoss-user] FW: request for clarification: must resources be stateless?

2002-07-15 Thread Geer, Benjamin
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

[JBoss-user] reconnecting after a database failure?

2002-07-11 Thread 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

RE: [JBoss-user] reconnecting after a database failure?

2002-07-11 Thread Geer, Benjamin
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

[JBoss-user] here's an XA config file for MS SQL Server

2002-06-18 Thread Geer, Benjamin
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 -- !-- -- !--

RE: [JBoss-user] Is deadlock possible with multiple connection po ols?

2002-06-14 Thread Geer, Benjamin
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

[JBoss-user] XATxConnectionManager with Oracle?

2002-06-14 Thread Geer, Benjamin
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,

[JBoss-user] Is deadlock possible with multiple connection pools?

2002-06-13 Thread Geer, Benjamin
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

RE: [JBoss-user] Is deadlock possible with multiple connection pools?

2002-06-13 Thread Geer, Benjamin
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

RE: [JBoss-user] Is deadlock possible with multiple connection po ols?

2002-06-13 Thread Geer, Benjamin
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: //

[JBoss-user] Can JBossTX be used in a non-EJB app?

2002-06-06 Thread Geer, Benjamin
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