[JBoss-user] [JBossCache] - Re: 1.3.0CR1, does it work?

2006-03-27 Thread mnewcomb
Yep. I don't know what is disabled on my company controlled laptop (damn network nazis), but I took it to a network which I control and got it to work. Thanks, Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932833#3932833 Reply to the post :

[JBoss-user] [JBossCache] - 1.3.0CR1, does it work?

2006-03-22 Thread mnewcomb
1. Downloaded 1.3.0CR1 2. cd examples\PojoCache\annotated50 3. build run.aop.example Buildfile: build.xml | | init: | | compile: | [copy] Copying 1 file to C:\Program Files\Java\JBossCache-1.3.0.CR1\example | s\PojoCache\annotated50\output\etc\META-INF | |

[JBoss-user] [EJB 3.0] - Re: @Embedded objects require @AttributeOverrides? WTF!?

2006-03-09 Thread mnewcomb
To get this behavior, do the following: In the properties of the persistence unit in the persistence.xml file: properties | property name=hibernate.ejb.naming_strategy value=org.hibernate.cfg.DefaultComponentSafeNamingStrategy/ | /properties This should be the default naming strategy.

[JBoss-user] [EJB 3.0] - @Embedded objects require @AttributeOverrides? WTF!?

2006-03-08 Thread mnewcomb
JDK 1.5.0_06 JBoss 4.0.4RC1 @Embeddable | class Vector3f | { | double getX() | double getY() | double getZ() | } | | @Entity | class Foo | { | @Embedded | Vector3f getVelocity(); | @Embedded | Vector3f getOrientation(); | } I get some errors from

[JBoss-user] [EJB 3.0] - Re: @Embedded objects require @AttributeOverrides? WTF!?

2006-03-08 Thread mnewcomb
Give me a general direction to look in the code and I'll try to patch it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3928841#3928841 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3928841

[JBoss-user] [EJB 3.0] - Re: @Embedded objects require @AttributeOverrides? WTF!?

2006-03-08 Thread mnewcomb
http://opensource2.atlassian.com/projects/hibernate/browse/ANN-279 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3928844#3928844 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3928844

[JBoss-user] [Beginners Corner] - mysql-connector.jar in EAR file

2006-03-06 Thread mnewcomb
I was able to do this in older JBoss versions, but now, I can't seem to get it to work. It only works if I have the mysql-connector.jar file already in the deploy or lib directories. How do I get it so that this file is added to the applications 'classpath' first so that my included -ds.xml

[JBoss-user] [EJB 3.0] - @EJB == 'dependency' injection?

2006-03-06 Thread mnewcomb
@Service() class TestMBean { @EJB protected SomeSession ss; } Both this MBean and SomeSession session bean are in the same jar file. So, why do I get an exception that it can't find SomeSession? Isn't that the whole point of @EJB? Thanks, Michael View the original post :

[JBoss-user] [EJB 3.0] - Re: Service POJO with EJB3 Session Beans

2006-03-06 Thread mnewcomb
Can you explain why you have to use @Depends and @EJB? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3928289#3928289 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3928289

[JBoss-user] [EJB 3.0] - JMX-Session Bean-Entity Bean in one Jar file... dependency

2006-02-24 Thread mnewcomb
MyService.java: @Service(...) | class MyService | { | @EJB | MySession ms; | } MyStateless.java: @Stateless | class MyStateless | { | @PersistenceUnit(...) | EntityManager em; | } MyEntity.java: @Entity | class MyEntity | { | } | Now, it starts to deploy the

[JBoss-user] [EJB 3.0] - Re: @persistencecontext: name or unitName?

2006-02-23 Thread mnewcomb
Did this change in the latest PFD? I ask because the EJB3 trail I have has the entity-manager tag inside the persistence.xml file, not a persistence-unit tag. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925820#3925820 Reply to the post :

[JBoss-user] [EJB 3.0] - Parent-Child relationship in same class

2006-02-23 Thread mnewcomb
JBoss 4.0.3SP1. I have a class: class Person | { | protected Person parent; | protected SetPerson children; | | @ManyToOne | public Person getParent() ... | | @OneToMany(mappedBy = parent) | public SetPerson getChildren() ... | } Everything deploys fine.

[JBoss-user] [EJB 3.0] - @persistencecontext: name or unitName?

2006-02-22 Thread mnewcomb
From EJB 3.0 spec: anonymous wrote : The name element refers to the name by which the EntityManager and its persistence unit are to be known in the environment referencing context, and is not needed when dependency injection is used. | | The unitName element refers to the name of the

[JBoss-user] [JBossCache] - Demos fail to see each other... no firewall running.

2005-12-14 Thread mnewcomb
Windowx XP java 1.5.0_06 I have 2 consoles opened (on the same machine), both in the following directory: JBossCache-1.2.4\examples\aop\non-annotated I run build.bat run.aop.demo in both windows. Window 1: run.aop.demo: [java] ---

[JBoss-user] [JBossCache] - Re: is it possible to use treecacheaop as the second level c

2005-10-12 Thread mnewcomb
It seems like these limitations might not apply because Hibernate breaks down the objects to the field level and puts them in the cache. Also, the data being stored is probably at the primitive level. Is that an appropriate interpretation? View the original post :

[JBoss-user] Hypersonic hangs at shutdown

2003-07-01 Thread MNewcomb
Anyone else seeing this? Friday jboss-head jdk 1.4.1_02 RedHat 8.0 Michael --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to

RE: [JBoss-user] JBoss: Not Ready For Prime Time

2003-03-28 Thread MNewcomb
Quoting Sacha Labourey [EMAIL PROTECTED]: So don't use it. I'm no longer using it. Ed Brown So get the hell off the list. It *is* the 'jboss-user' list. Michael --- This SF.net email is sponsored by: The Definitive IT and

[JBoss-user] startup hangs

2003-03-26 Thread MNewcomb
My admin just moved me behind *another* firewall... Now, my jboss-head, that was working fine, hangs on startup... Last line in boot.log (no server.log gets created): DEBUG [J2EEServer] postRegister(), parent: jboss.management.local:j2eeType=J2EEDomain,name=Manager My admin did screw around

RE: [JBoss-user] startup hangs

2003-03-26 Thread MNewcomb
Disregard... Problem solved. Configuration error. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 1:04 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] startup hangs My admin just moved me behind *another* firewall... Now,

[JBoss-user] jetty and filters

2003-03-17 Thread MNewcomb
I have my filter set up with a mapping of /*. I see my print out in 'init' but nothing comes out in 'doFilter'. What's up with that? RedHat 7.2 jdk 1.4.1 fairly recent jboss-head Any clues? --- This SF.net email is sponsored by:Crypto

[JBoss-user] Velocity, Servlets, and Local EJBs

2003-03-06 Thread MNewcomb
I want to use Velocity. I would like my Servlet to simply place my Local EJBs inside of the Velocity template's context and then the template call methods on the EJB. That's the simplest way, but I know that each call to getXXX() would most likely require a new transaction. So, is it better to

RE: [JBoss-user] couple of JBoss and xdoclet questions

2003-03-03 Thread MNewcomb
I've noticed that in my bean class if I specify a method like: /** * @ejb.interface-method * @ejb.persistence * * @return String */ public abstract String getState(); The resulting output in jbosscmp-jdbc.xml looks like: cmp-field

RE: [JBoss-user] Can two separate client threads make simultaneous calls?

2003-01-22 Thread MNewcomb
I might have missed this, but what version of JBoss? -Original Message- From: Beau Cronin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 2:45 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Can two separate client threads make simultaneous calls? There are two

RE: [JBoss-user] Oracle / DataSource Deployment Problem with 3.0.5

2003-01-17 Thread MNewcomb
Do you have loader-repository in your jboss-app.xml file for you EAR? I am getting this same error with jboss-head (1/16/03, 9:30am-ish EST) using a mySQL datasource that was fine in jboss-head from 11/26/02. Everything deploys fine when I use the default loader-repository. -Original

RE: [JBoss-user] Oracle / DataSource Deployment Problem with 3.0. 5

2003-01-17 Thread MNewcomb
I've traced the problem to DriverManager. In my case, I'm using mySQL, and DriverManager has the Driver class loaded, but it skips it because it tries to load the class from the callers ClassLoader, and class doesn't match the class that was already loaded, so, it skips it. So, either the

RE: [JBoss-user] classloading from WAR

2003-01-16 Thread MNewcomb
-Original Message- From: Scott M Stark [mailto:[EMAIL PROTECTED]] Subject: Re: [JBoss-user] classloading from WAR The contents of wars is not treated as deployable unless you happen to be using an snapshot from and old version of main. Yep. I had to baseline HEAD, around

RE: [JBoss-user] jbossmq-service deployment takes a LONG time in 3.2.0RC1

2003-01-16 Thread MNewcomb
On first startup or on sequential startups ? Depending on how hard You populated the DefaultDS Hypersonic backend, I am guessing - Hypersonic on a sequential startup is rebuilding tables and populating data while the jbossmq component idle's, since it is dependent on DefaultDS to be

[JBoss-user] classloading from WAR

2003-01-15 Thread MNewcomb
I have a WAR file with an applet. The applet requires some old classes that conflict with those required by JSPs/Servlets in the WAR file. The classes for the applet are in a jar file, applet_only_classes.jar. When I deploy my WAR, JBoss creates a UCL for this jar file, even though it is only

[JBoss-user] java.lang.VerifyError on EAR redeploy

2002-11-21 Thread MNewcomb
jdk 1.4.1 jboss-head ~Nov 20th, noon EAR structure: thirdparty.jar // thirdparty library util.jar // util classes that inherit/utilize thirdparty classes ejb.jar// beans and classes that inherit/utilize util and thirdparty classes META-INF/application.xml META-INF/jboss-app.xml I

[JBoss-user] QueuedPessimisticEJBLock bug?

2002-11-12 Thread MNewcomb
Red Hat 7.2 JDK 1.4.1-b21 jboss-head from ~2pm EST 10/29/2002 Scenario: Session bean which gets some data from some EntityBeans. Session bean is tied to a client GUI in which the user can 'click' a button and the client calls a method on the Session bean to retrieve some data. Problem: We are

RE: [JBoss-user] transaction question

2002-11-01 Thread MNewcomb
DJ This is pretty strange. You should be getting this DJ consistently (if you are really using 2 resource managers DJ in one transaction, one of them being only local tx DJ capable) or never (if there is only one, for instance your DJ only datasource). I didn't think to mention my datasources.

RE: [JBoss-user] transaction question

2002-11-01 Thread MNewcomb
DS Was this checked before or after my massive check in DS yesterday? I know you wrote the 29th, but I want to DS be sure as I messed with most of the interceptors. 10/29/2002 around 2pm EST. Michael --- This sf.net email is sponsored by:

[JBoss-user] setting SecurityManager causes security exception in hybrid JBoss/RMI application

2002-11-01 Thread MNewcomb
We have a large, distributed, legacy application that uses RMI. This code always checks System.getSecurityManager() and sets it to a new RMISecurityManager() if the system one is null. Now, we've rewritten some of the legacy guis to utilize some J2EE components, but they still rely on some legacy

[JBoss-user] transaction question

2002-10-31 Thread MNewcomb
JDK 1.4.1 JBoss HEAD 10/29/2002 I have a session bean (A) in one EJB JAR that calls another session bean (B) in another EJB JAR which calls another session bean (C) in another EJB JAR. I get these warning when A calls B, then when B calls C (2 warnings). It happens intermittently but when it

RE: [JBoss-user] XDoclet and dependent value classes

2002-09-09 Thread MNewcomb
-Original Message- From: Jon Haugsand [mailto:[EMAIL PROTECTED]] Has anyone done anything to get dependent value classes by using XDoclet? 1. Add @jboss.dvc-property tags to your getXXX() methods inside your dependent value class. public class Point3d { /** *

RE: [JBoss-user] long table names

2002-08-14 Thread MNewcomb
This is specific to each JDBC driver you use. When you deploy an application in JBoss, JBossCMP gets a Connection to the DataSource the entity was deployed on and calls Connection.getMetaData().getMaxTableNameLength() to determine the maximum table name length. If its too short, it mangles it

[JBoss-user] resource-ref VS resource-env-ref

2002-05-31 Thread MNewcomb
Could someone check my understanding of these two elements? And then fill in the holes... 'resource-ref': according to the spec, ... the Bean Provider must declare all the resource manager connection factory references in the deployment descriptor using the resource-ref elements. So, in here,

[JBoss-user] intermittent associateConnection error

2002-04-26 Thread MNewcomb
(this didn't make it through to my mailbox, so if it made it through to yours, I'm sorry for the repeat...) I have a session bean with several different methods that look up a datasource, create a connection, and execute some queries. My client keeps getting this exception: [java]

[JBoss-user] intermittent associateConnection error

2002-04-25 Thread MNewcomb
I have a session bean with several different methods that look up a datasource, create a connection, and execute some queries. My client keeps getting this exception: [java] Exception in thread main java.lang.reflect.UndeclaredThrowableException: javax.resource.ResourceException: