[JBoss-user] value object challenge

2003-10-06 Thread Frank Morton
Using 3.2.2RC4. Same problem under redhat linux and macos X. Note later I explain that this behaves differently with the client running in the same jvm vs. running in a different jvm. In a value object class (MeetingDateValueObject), I do the following: >MeetingDateValue meetingDateValue = Fact

[JBoss-user] servlet reloading during development

2003-10-06 Thread Matthew Hixson
As far as I can tell from using Google, this is a FAQ, but I have yet to find a definitive answer that states, "Yes, this is what you need to do in order to make Tomcat embedded in JBoss reload servlets when the class file has been updated: " Anyone know how to do that? During development

RE: FW: [JBoss-user] Problem integrating MySql with JBOSS

2003-10-06 Thread Adrian Brock
On Mon, 2003-10-06 at 22:23, Comtois, Pierre wrote: > Default install puts it in ... It's dated June 10/2003 ... > Ok, so you are using 3.2.1? Copy the SQL Properties from the mysql-jdbc2-service.xml into jbossmq-service.xml - replacing the hsqldb sql properties. Where is the difficulty? Ther

Re: [JBoss-user] JNDI Context question

2003-10-06 Thread Matthew Hixson
Disregard the message below. That was user error on my part. I got it working by doing: _context = (Context) new InitialContext().lookup("local"); _contentLocalHome = (ContentLocalHome) _context.lookup("Content"); Thanks again for all the help. -M@ On Monday, October 6, 2003

Re: [JBoss-user] JNDI Context question

2003-10-06 Thread Adrian Brock
On Mon, 2003-10-06 at 23:23, Matthew Hixson wrote: > On Monday, October 6, 2003, at 01:30 PM, Adrian Brock wrote: > >> > >> How would I access that? It looks like it should be "local:/Foo" for > >> the FooBean, but that doesn't look like its working. > > > > The default global bindings are: > > R

RE: FW: [JBoss-user] Problem integrating MySql with JBOSS

2003-10-06 Thread Adrian Brock
You don't need to modify jbossmq-service.xml There should be an original copy in server/all/deploy/jms Regards, Adrian On Mon, 2003-10-06 at 22:34, Comtois, Pierre wrote: > Must be tired ... Got it from the JBOSS archives archives at > > http://www.jboss.org/thread.jsp?forum=48&thread=39416&mess

RE: FW: [JBoss-user] Problem integrating MySql with JBOSS

2003-10-06 Thread Comtois, Pierre
Default install puts it in ... It's dated June 10/2003 ... >Pierre Comtois >Business Acceleration Services, Solutions Consulting >45 O'Connor Street, Suite 500*Ottawa, Ontario K1P 1A4 >Ph: 613-787-4649 * FAX: 613-567-6053 * E-Mail: [EMAIL PROTECTED] > > -Original Message

Re: [JBoss-user] JNDI Context question

2003-10-06 Thread Matthew Hixson
On Monday, October 6, 2003, at 01:30 PM, Adrian Brock wrote: How would I access that? It looks like it should be "local:/Foo" for the FooBean, but that doesn't look like its working. The default global bindings are: Remote: Local: local/ You change them using jboss.xml Many people use a conventi

RE: FW: [JBoss-user] Problem integrating MySql with JBOSS

2003-10-06 Thread Comtois, Pierre
Must be tired ... Got it from the JBOSS archives archives at http://www.jboss.org/thread.jsp?forum=48&thread=39416&message=3803454&q=jbos smq-service.xml#3803454 >Pierre Comtois >Business Acceleration Services, Solutions Consulting >45 O'Connor Street, Suite 500*Ottawa, Ontario K1P 1A4

RE: FW: [JBoss-user] Problem integrating MySql with JBOSS

2003-10-06 Thread Comtois, Pierre
I did use search ... Found the link you refer to and copied the file ... I'm also looking at mysql-jdbc2-services file ... See posting ... Messages are crossing ... >Pierre Comtois >Business Acceleration Services, Solutions Consulting >45 O'Connor Street, Suite 500*Ottawa, Ontario K1P 1A

RE: FW: [JBoss-user] Problem integrating MySql with JBOSS

2003-10-06 Thread Comtois, Pierre
I've also copied mysql-jdbc2-service.xml from the examples to the deploy/jms folder and deleted the hsql version. I'm still getting an error: 16:41:14,011 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss-3.2.2RC4/server/default/deploy/jms/jbossmq-service.xml 16:41:14,322 INFO

RE: FW: [JBoss-user] Problem integrating MySql with JBOSS

2003-10-06 Thread Adrian Brock
I'll point you at last week's thread instead. Make sure you check the other comments. You can use search just as easily as I can. http://www.mail-archive.com/[EMAIL PROTECTED]/msg32527.html Regards, Adrian On Mon, 2003-10-06 at 21:13, Comtois, Pierre wrote: > I deleted hsqldb-ds.xml and changed

RE: FW: [JBoss-user] Problem integrating MySql with JBOSS

2003-10-06 Thread Adrian Brock
Where did you get jbossmq-service.xml from? The persistence manager has been removed from that file. It is now in x-jdbc2-service.xml Supposedly to make it easier to drop in a different implementation like you are trying :-) Regards, Adrian On Mon, 2003-10-06 at 21:47, Comtois, Pierre wrote: >

Re: [JBoss-user] JNDI Context question

2003-10-06 Thread Adrian Brock
On Mon, 2003-10-06 at 21:19, Matthew Hixson wrote: > On Monday, October 6, 2003, at 01:05 PM, Adrian Brock wrote: > > > On Mon, 2003-10-06 at 20:40, Matthew Hixson wrote: > >> I'm doing this in my session locator. The only place that the > >> java:comp/env context is used is right here in this s

RE: [JBoss-user] JNDI Context question

2003-10-06 Thread Steven Harris
Did you try local/foo? -Original Message- From: Matthew Hixson [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 4:19 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JNDI Context question On Monday, October 6, 2003, at 01:05 PM, Adrian Brock wrote: > On Mon, 2003-10-06 at 20:

Re: [JBoss-user] org.jboss.mq.pm.jdbc2.PersistenceManager, Postgres and BLOBs

2003-10-06 Thread Bruce Ashton
Thanks, When I compared the two files I saw the line, CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, \ DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \ MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) ) So you can edit the sql directly, I

Re: [JBoss-user] JNDI Context question

2003-10-06 Thread Matthew Hixson
On Monday, October 6, 2003, at 01:05 PM, Adrian Brock wrote: On Mon, 2003-10-06 at 20:40, Matthew Hixson wrote: I'm doing this in my session locator. The only place that the java:comp/env context is used is right here in this static block. static{ try{ _context = (Context) new In

RE: FW: [JBoss-user] Problem integrating MySql with JBOSS

2003-10-06 Thread Comtois, Pierre
I deleted hsqldb-ds.xml and changed jndi name. I'm looking at what I'd need to change ... My install didn't have any reference to persistence in jbossmq-service.xmlso copied the one I found at http://www.jboss.org/thread.jsp?forum=48&thread=39416&message=3803454&q=jbos smq-service.xml#3803454 and

Re: [JBoss-user] JNDI Context question

2003-10-06 Thread Adrian Brock
On Mon, 2003-10-06 at 20:40, Matthew Hixson wrote: > I'm doing this in my session locator. The only place that the > java:comp/env context is used is right here in this static block. > >static{ > try{ >_context = (Context) new InitialContext().lookup("java:comp/env"); >_

Re: [JBoss-user] JNDI Context question

2003-10-06 Thread Matthew Hixson
I was thinking of doing this same thing with a servlet that would load-on-startup. -M@ On Monday, October 6, 2003, at 12:40 PM, Steven Harris wrote: To get around all these ejb-refs I thought I could use an MBean that at startup triggers static intialization of a class that caches stateless s

RE: [JBoss-user] JNDI Context question

2003-10-06 Thread Steven Harris
To get around all these ejb-refs I thought I could use an MBean that at startup triggers static intialization of a class that caches stateless session bean and local entity bean homes. This would require using global locators. These homes would be the same for every client, so is there a problem?

Re: [JBoss-user] JNDI Context question

2003-10-06 Thread Matthew Hixson
I'm doing this in my session locator. The only place that the java:comp/env context is used is right here in this static block. static{ try{ _context = (Context) new InitialContext().lookup("java:comp/env"); _bean1Home= (Bean1LocalHome)_context.lookup("Bean1"); _b

Re: [JBoss-user] org.jboss.mq.pm.jdbc2.PersistenceManager, Postgres and BLOBs

2003-10-06 Thread Adrian Brock
Compare your sql properties with this: http://cvs.sourceforge.net/viewcvs.py/jboss/jbossmq/src/etc/server/examples/deploy/postgres-jdbc2-service.xml?annotate=1.3 One obvious problem is MESSAGEBLOB should be a BYTEA for Postgres. I recently fixed a problem for older versions of Postgres where it di

[JBoss-user] soft-locking and Value-Objects - correct behavior?

2003-10-06 Thread Darren Hartford
Hi all, I'm using Jboss 3.2.2RC3 for development, and came across a scenario I would like to make sure I understand correctly. I have an entity bean setup with soft-locking: * @ejb:bean *type="CMP" *cmp-version="2.x" *name="MyStuff" *view-type="local" *transaction-type=

Re: [JBoss-user] JNDI Context question

2003-10-06 Thread Adrian Brock
Are you caching the java:comp/env context? If so, your locator is using the ENC (Enterpise Naming Context) from the first application to use it. Some j2ee implementations re-resolve it to the application's ENC on every lookup. JBoss (and at least Tomcat standalone as well) resolves it when you

[JBoss-user] org.jboss.mq.pm.jdbc2.PersistenceManager, Postgres and BLOBs

2003-10-06 Thread Bruce Ashton
Hi all, I've been lurking on this list for a while now, but I have a question now which I haven't been able to answer elsewhere. I have been trying to use Postgres version 7.3 as the default data source for JBoss version 3.2.1. I'm not the first person to do this I know. I removed the original

[JBoss-user] servlet load-on-startup

2003-10-06 Thread Matthew Hixson
Using Tomcat embedded in JBoss 3.2.1. If I declare a servlet as load-on-startup does the web container call the servlet's init() method and wait for it to finish before the web app is marked as available for access from incoming HTTP requests? I have a servlet that I would like to have init()

[JBoss-user] JNDI Context question

2003-10-06 Thread Matthew Hixson
We currently have an EJB app that we've migrated from Resin. We have a SessionLocator class that looks up all of the session beans and caches references to their local homes in a static initializer. This worked great under Resin, but under JBoss this fails if the first call to SessionLocator

RE: [JBoss-user] Pre compile jsps on jboss server

2003-10-06 Thread Rod Macpherson
Ironically nobody on our team would consider using weblogic for development because it is far too slow. Individual jars cannot be hot deployed and the EJB compile stage add several micro-eons to the development process. Letting weblogic compile the EJBs for you does not help since it is even slower

RE: FW: [JBoss-user] Problem integrating MySql with JBOSS

2003-10-06 Thread Adrian Brock
If you want it to be the default db you should remove hsqldb-ds.xml change the jndi name in your mysql-ds.xml to DefaultDS You will also need to modify the sql properties in jms/jbossmq-service.xml as discussed last week on this list. Regards, Adrian On Mon, 2003-10-06 at 19:15, Comtois, Pierre

RE: FW: [JBoss-user] Problem integrating MySql with JBOSS

2003-10-06 Thread Comtois, Pierre
Thx. I can load JBOSS without error using the sample file modified for my settings, but I still cannot set MySQL as the default DB for JBOSS nor do I see my 3.0.8 driver in the connection list in the Hypersonic->File-Connect dropdown. Maybe I misunderstand the expected result from http://www.dodtec

Re: [JBoss-user] JBoss-IDE 1.2.1 released

2003-10-06 Thread Meyer-Willner, Bernhard
Unfortunaly I don't see the JBoss-IDE under "Other". What am I doing wrong? -Ursprüngliche Nachricht- Von: Francisco Figueiredo Jr. [mailto:[EMAIL PROTECTED] Gesendet: Montag, 6. Oktober 2003 18:30 An: [EMAIL PROTECTED] Betreff: Re: [JBoss-user] JBoss-IDE 1.2.1 released Meyer-Willner, Be

Re: [JBoss-user] JBoss-IDE 1.2.1 released

2003-10-06 Thread Francisco Figueiredo Jr.
Meyer-Willner, Bernhard wrote: I downloaded JBossIDE and extracted it into my plugins dir but I can't see it in Eclipse. What do I have to do to see and configure it? Go to window->ShowView->Other. A jboss-ide folder will be present where you can select the server manager view. I hope it helps.

Re: [JBoss-user] JBoss-IDE 1.2.1 released

2003-10-06 Thread Meyer-Willner, Bernhard
I downloaded JBossIDE and extracted it into my plugins dir but I can't see it in Eclipse. What do I have to do to see and configure it? -Ursprüngliche Nachricht- Von: Laurent Etiemble [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 5. Oktober 2003 14:35 An: Jboss-User; Jboss-Development Betre

Re: [JBoss-user] Problem allocating large amount of memory

2003-10-06 Thread Adrian Brock
Search is your friend. http://www.mail-archive.com/cgi-bin/htsearch?method=and&format=short&config=jboss-user_lists_sourceforge_net&restrict=&exclude=&words=boot.ini Regards, Adrian On Mon, 2003-10-06 at 16:54, [EMAIL PROTECTED] wrote: > Hello, > I am trying to run JBoss (4.0.0DR2) on a Windows 2

[JBoss-user] Problem allocating large amount of memory

2003-10-06 Thread loic . lefevre
Hello, I am trying to run JBoss (4.0.0DR2) on a Windows 2000 Advanced server SP3 with the SUN JVM 1.4.2_01. The server is an octo-processor (8 cpus) with 3Gb physical memory. However, I get the following message: === . J

[JBoss-user] multiple instances in one jboss

2003-10-06 Thread Stefan Groschupf
Hi , i wish to run multible instances of my ejb-servlet application in one jboss. Is this possible - what i have to do? I confused since multiple instances means that the ejbs use multiple databases and need to have seperated jndi access. Any ideas how to do that? Thanks Stefan -

RE: FW: [JBoss-user] Problem integrating MySql with JBOSS

2003-10-06 Thread Marco.Mistroni
Hi, i am able to connect successfully to MySQL usign JBoss. Here are the steps that u shoud follow: 1) copy the .xml file from examples and rename it mysql-ds.xml Here is my data 4 example MySqlDS jdbc:mysql://localhost:3306/menagerie org.gjt.mm.mysql.Driver

Re: [JBoss-user] Pre compile jsps on jboss server

2003-10-06 Thread Konstadinis Euaggelos
This is true, In our company, it's the first time we use JBOSS (Web-Logic is too fast), If you make a change in jsp, the JBoss is to slow in compilation of that jsp . false I have made this changes to jboss-service.xml of Tomcat in order to keep the compiled jsp in work directory and not in tmp.

Re: FW: [JBoss-user] Problem integrating MySql with JBOSS

2003-10-06 Thread Adrian Brock
Please keep discussions on jboss-user. Re-read what I wrote last time. You can find an example mysql-ds.xml in ${jboss.home}/docs/examples/jca Regards, Adrian On Mon, 2003-10-06 at 14:27, Comtois, Pierre wrote: > Thx for fielding my question. > > I did as you suggested and renamed the mysql-se

Re: [JBoss-user] login-config.xml and ErrorHandlers

2003-10-06 Thread Brian Wallis
On Mon, 6 Oct 2003 16:20, Scott M Stark wrote: > Just use the org.jboss.metadata.XmlFileLoader.getDocument(InputStream is, > String inPath) which installs an error handler and an entity resolver for > the JBoss dtds. but, for my original example in XMLLoginConfigImpl, it has its own entity resolv

RE: [JBoss-user] Pre compile jsps on jboss server

2003-10-06 Thread Danny . Yates
In WebLogic, there's a setting to make the container compile all the JSPs as they are deployed (rather than when they are first hit). Could a simple setting like this be introducted in JBoss? Rgds, Dan. -- Danny Yates -Original Message- From: Rod Macpherson [mailto:[EMAIL PROTECTED]