[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Context in Jboss / Tomcat

2006-06-26 Thread asack
"essimal" wrote : Hi, | | My configuration is: | | Eclipse: Eclipse 3.1.1 (JBossIDE-1.5.1) | JBoss 4.0.4 GA | | I have started developing with JBoss and have the following problem, with Eclipse I create a file .war of my application, and from eclipse I do the deploy in JBoss, and

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - mod_jk/Apache/JBoss redirection issue (localhost vs. hostnam

2006-06-24 Thread asack
I've setup a basic worker with the following properties: worker.list=node1 worker.node1.port=8009 worker.node1.host=acme worker.node1.type=ajp13 acme is the hostname of the JBoss server (its localhost). I have a redirect rule thats basically forced the URL to go to: http://acme/app For some re

[JBoss-user] [Installation, Configuration & Deployment] - log4j within a WAR broke on 4.0.4.GA?

2006-05-30 Thread asack
My war that worked perfectly fine on 4.0.4.CR2 loads but spews the following error on the GA release: 17:00:17,876 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable. 17:00:17,876 ERROR [STDERR] l

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: .war classpath issue in 4.0.3SP1

2006-05-26 Thread asack
Works for me (I add dom4j and jaxen in /lib and now I have XPATH). Is this in just a WAR or a WAR within an EAR? Regardless, JBoss should check your dom4j in WEB-INF/lib before loading the cached boostrap one in the UCL. View the original post : http://www.jboss.com/index.html?module=bb&op=v

[JBoss-user] [EJB 3.0] - Re: EJB3 Specification...

2006-05-14 Thread asack
I'm not sure the exact status of the JSR-220 but I believe the JBoss EJB3 implementation is not finalized. But I agree, annotations should be the same across J2EE platforms. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943400#3943400 Reply to the post : h

[JBoss-user] [EJB 3.0] - Re: javax.annotation.EJB vs javax.ejb.EJB (was Re: @EJB anno

2006-05-02 Thread asack
"rpiaggio" wrote : "rpiaggio" wrote : | | I am having the same problem. Cannot get @EJB to work at all. Deployment works fine and if I do a .lookup also works. Any hints? | | | | Actually, after toying a bit more, I got it to work in some cases. | | But there's a case where it

[JBoss-user] [Installation, Configuration & Deployment] - Re: Anyway to do an unattended install?

2006-05-02 Thread asack
"PeterJ" wrote : Are you trying to install on a non-GUI system? Is so, do what I did. I ran the installer on my desktop and then copied the files to the headless system. (My desktop is Windows and the headless system is SUSE Linux which I access via ssh.) That's what I'm doing as of right n

[JBoss-user] [Installation, Configuration & Deployment] - Re: Anyway to do an unattended install?

2006-05-01 Thread asack
"[EMAIL PROTECTED]" wrote : If you use the .zip distribution, just unzip it and you are set (but not ejb3 preview then). Dimitris, my exact problem! :-)! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940490#3940490 Reply to the post : http://www.jboss.co

[JBoss-user] [Installation, Configuration & Deployment] - Anyway to do an unattended install?

2006-04-30 Thread asack
Check Google, used the Search button, can't find anything...the only clue is that the Wiki mentions a "-c " to the installer but not sure if that has been deprecated. Can you install JBoss without the installer mumbo-jumbo? Thanks! View the original post : http://www.jboss.com/index.html?modu

[JBoss-user] [Installation, Configuration & Deployment] - Re: Deploying application with 3rd Party Libraries

2006-04-30 Thread asack
"BLuz" wrote : Hi. I created a jboss-app.xml file for scoped class loading and put it in /META-INF as described at http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration , but /APP-INF/lib is still getting ignored. I created a jboss.xml file just in case too, even though I don't use

[JBoss-user] [Installation, Configuration & Deployment] - Re: packaging and deployment of ear-files (classcastexceptio

2006-04-25 Thread asack
"andber" wrote : "asack" wrote : | | For example this is what I have in my current project: | | | | EAR isolation turned on (java2Parent delegation is on as well) | | | | deploy: | | my-lib.jar (has global scope across deployments) |

[JBoss-user] [Installation, Configuration & Deployment] - Re: packaging and deployment of ear-files (classcastexceptio

2006-04-21 Thread asack
Absolutely not. With EAR isolation turned off, that means that the first verison of ejb-jar-file will be used for ALL EARs. I'm not sure why you've turned off java2Parent delegation exactly either since you have EAR isolation turned off (as per WIKI, java2Parent delegation is to prevent an EAR

[JBoss-user] [Installation, Configuration & Deployment] - Re: packaging and deployment of ear-files (classcastexceptio

2006-04-20 Thread asack
"andber" wrote : I now see that all other jars than the app1-ejb.jar is shown in the loader-repository for app2.ear.. Why is this? Is EAR isolation turned on or off via the EAR deployer? java2Parent delegation effects if a JAR is first seen (cached) in the UCL, not whether EARs are isolated -

[JBoss-user] [Installation, Configuration & Deployment] - Re: recommended jboss version and jdk version

2006-04-20 Thread asack
"dgiscool" wrote : I'm investigating about jboss 4.0.3 as an appsvr. what version of jdk is recommended to use with that i.e. jdk-1_5_0_06 or any specific one? which version of jboss is most stable out of 4.0.2 and 4.0.3. | | we only intend to use the servlet container in clustered environ

[JBoss-user] [EJB 3.0] - Re: @EJB Annotation

2006-04-20 Thread asack
"mikeeprice" wrote : I can't find the jar file where @EJB is defined. Does anyone know which jar file this is defined in. javax.annotation.EJB; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938439#3938439 Reply to the post : http://www.jboss.com/index.html

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.3SP1 not honoring Extension-List versioning?

2006-04-20 Thread asack
http://jira.jboss.com/jira/browse/JBAS-3131?page=all Just in case anyone wants to track it... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938428#3938428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938428 --

[JBoss-user] [EJB 3.0] - Re: EJB3 Specification...

2006-04-18 Thread asack
"[EMAIL PROTECTED]" wrote : I saw that JBoss uses javax.annotation for @EJB Annotation and glassfish uses javax.ejb package. There are a lot of differences between the two implementation (@DiscrimantorValue ...). | | Who has right ? | | Thanks ! Neither. JSR-220 has not been finalize

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.3SP1 not honoring Extension-List versioning?

2006-04-18 Thread asack
"asack" wrote : So how does JBoss honor Extension-List manifest attributes? Anybody? Someone has to be using this? Or is this just not supported by JBoss? I'm about to go look in source just see if this is a non-issue. View the original post : http://www.jboss.com/index.ht

[JBoss-user] [Installation, Configuration & Deployment] - Re: Anyway to use my own optional libraries with a deployed

2006-04-18 Thread asack
"130g" wrote : I am having the exact same problem. I am trying to upgrade from 4.0.1 to 4.0.3 but this is kinda holding me back. | Anyone has a solution for this? See technically dom4j is a platform required jar and as such this behavior really doesn't violate the J2EE spec. With that said, t

[JBoss-user] [Installation, Configuration & Deployment] - Re: Anyway to use my own optional libraries with a deployed

2006-04-17 Thread asack
Anybody? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937695#3937695 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937695 --- This SF.Net email is sponsored by xP

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.3SP1 not honoring Extension-List versioning?

2006-04-17 Thread asack
So how does JBoss honor Extension-List manifest attributes? Anybody? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937671#3937671 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937671 ---

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss Without Tomcat

2006-04-16 Thread asack
So why don't you remove the pertinent modules then? I don't understand what your really trying to do. If you create stripped down version at install time and add what you need, it should be a cleaner appraoch. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=39

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss Without Tomcat

2006-04-15 Thread asack
"mglause" wrote : I've tried removing it and when I do it breaks everything. I basically just want jboss to run the ejb's. What breaks? (you may have tgo edit a config file for a clean removal) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937555#3937555 R

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.3SP1 not honoring Extension-List versioning?

2006-04-15 Thread asack
At this point, I would like to understand how JBoss treats Extension-List manifest entries (or seems to ignore them). Anybody run into this? This seems like a really serious bug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937543#3937543 Reply to the pos

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss Without Tomcat

2006-04-15 Thread asack
"mglause" wrote : Is it possible to setup jboss to run without apache tomcat? I know the minimal configuration does this but I can't figure out how to deploy my application without hot deployment. Thanks. I'm not sure what you mean. The jbossweb-tomcat.sar is the JMX Service Archive that I bel

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.3SP1 not honoring Extension-List versioning?

2006-04-14 Thread asack
I would lke to add two more things that are confusing: 1) I don't have my.lib in ext/lib of my current JRE. I'm deploying it as a standalone jar file in $JBOSS_HOME/server/default/deploy. 2) I wasn't sure if the Extension-List attribute only causes the ClassLoaders to look in ext/lib or any

[JBoss-user] [Installation, Configuration & Deployment] - JBoss 4.0.3SP1 not honoring Extension-List versioning?

2006-04-14 Thread asack
I have two EARs that were built against a common JAR library that defines the following MANIFEST in my-lib.jar: Extension-Name: my-lib Implementation-Version: 1.0 I then have my.ear with a EJB3 my.jar in it that has the following MANIFEST.MF: Extension-List: my-lib my-lib-Extension-Name: my-

[JBoss-user] [Installation, Configuration & Deployment] - Anyway to use my own optional libraries with a deployed JAR?

2006-04-14 Thread asack
I have jar that is shared across EARs. It uses dom4j with XPath, i.e. needs jaxen. I put Class-Path entries to add my own packaged versions but I believe due to the way the UCL works, it still picking them up from $JBOSS_HOME/lib/dom4j.jar since this jar gets loaded first at startup. Is ther

[JBoss-user] [EJB 3.0] - Re: Accessing an EJB from a Servlet

2006-04-13 Thread asack
"jllavina" wrote : Using this code it seems that the JNDI founds the EJB3 (but crash searching a resource, but this is another story...): | | import org.jboss.annotation.ejb.LocalBinding; | | @Stateless | @Local( { EmployeeSessionLocal.class } ) | @LocalBinding( jndiBinding="Employee

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Custom onMessage routine with return type?

2006-04-12 Thread asack
"[EMAIL PROTECTED]" wrote : Its simple. Look at the javamail message inflow adaptor I did in a few hours. | | http://fisheye.jboss.com/viewrep/JBoss/jbosscx/src/main/org/jboss/resource/adapter/mail | | goto the jca forum for followup help. | Thank you Scott! :-)! View the original

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Custom onMessage routine with return type?

2006-04-11 Thread asack
"[EMAIL PROTECTED]" wrote : A custom message inflow jca adaptor is the answer. Thanks Scott, I was afraid you would say that. That really sucks since implementing a JCA adaptor involves a lot of work (i.e. JCA is one of those specs that seems way uber complicated than it really needs to be but

[JBoss-user] [EJB 3.0] - Accessing custom annotations on an EJB3 bean at runtime?

2006-04-11 Thread asack
I've used the @PostConstruct lifecycle method to pass the bean itself for post processing which seems to contain all the annotations to process via Reflect. But besides that, is there a way to find out what annotations are on an EJB3 bean at runtime? Let's say I have a SLSB with some custom ann

[JBoss-user] [Messaging, JMS & JBossMQ] - Custom onMessage routine with return type?

2006-04-11 Thread asack
Is it possible to have my own message listener interface (basically onMessage with a return type) and still use JMS as my infrastructure? Any insight into this topic would be appreciated! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936674#3936674 Reply to

[JBoss-user] [EJB 3.0] - Re: Accessing an EJB from a Servlet

2006-04-11 Thread asack
"jllavina" wrote : Hello, | | I'm trying to access to an EJB (3.0, defined with annotations) from a Servlet, but the InitialContext doesn't contain the appropiate reference and I obtain a javax.naming.NameNotFoundException. | | Is necessary to define the EJB also into web.xml or jboss-w

[JBoss-user] [Installation, Configuration & Deployment] - Re: Ear deployment ordering and Extension-Name/Extension-Lis

2006-04-10 Thread asack
"bwallis42" wrote : Isn't the contents of "Extension-List" a list of the other extensions that a jar uses? | | Is there no way to define inter ear dependencies? I know I can use a prefix deployment sorter but that is so clunky, I have to rename all the ears/jars/*.xmls when they deployed

[JBoss-user] [Installation, Configuration & Deployment] - Re: Ear deployment ordering and Extension-Name/Extension-Lis

2006-04-10 Thread asack
Isn't Extension-Name and Extension-List mechanisms really meant on a per JAR basis not EAR? I could be wrong but the examples in the spec are geared on a per module basis (check Chap 8). Though, I really believe intra-EAR dependencies should definitely be addressed in the next rev of J2EE (I

[JBoss-user] [Installation, Configuration & Deployment] - Re: sharing library-jar globally in EAR

2006-04-10 Thread asack
http://jira.jboss.com/jira/browse/JBAS-3086 Hope that makes sense Scott. Again this could be pilot error on my part but so far it seems very wrong right now the way MANIFEST Class-Path entries are handled by the EAR deployer. I appologize in advance if I filed the bug incorrectly! :-)! View

[JBoss-user] [Installation, Configuration & Deployment] - Re: Cannot get debugging to work with JBOSS deployment and M

2006-04-10 Thread asack
"Mork" wrote : I'm not sure where this "Debug configuration" is. I went to http://localhost:8080 and saw the items: | | * Tomcat status (full) (XML) | * JMX Console | * JBoss Web Console | | But none of them seemed to have anything about debugging. | | Could you p

[JBoss-user] [Installation, Configuration & Deployment] - Re: sharing library-jar globally in EAR

2006-04-10 Thread asack
"[EMAIL PROTECTED]" wrote : The deployment class loader with the manifest. Still waiting for the jira issue.[/quote | | Alright Scott, I just thought this was pilot error on my part. I will file it today (promise).] View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[JBoss-user] [Installation, Configuration & Deployment] - Re: sharing library-jar globally in EAR

2006-04-09 Thread asack
"[EMAIL PROTECTED]" wrote : Bingo on the last reply, that is indeed the solution. However, this will work for JBoss 4.0 and not for JBoss 3.x. Remember, at the very least to include the version of JBoss that you are using so we can be of better help. | | Weston (or anyone), can you pleas

[JBoss-user] [Installation, Configuration & Deployment] - Re: Cannot get debugging to work with JBOSS deployment and M

2006-04-09 Thread asack
"Mork" wrote : I'm using MyEclipse 4.1.1 (current version) for my JBOSS/J2EE project and cannot get debugging working. | | The problem I'm having is that when I try to set a breakpoint in a JAVA file, I get the error that the debugging information for line numbers needs to be added to the p

[JBoss-user] [Installation, Configuration & Deployment] - Classloading issues (help!)

2006-04-09 Thread asack
When you have an EAR, an EAR isolation is turned on, and you have optional libraries that are referenced in an EJB3 module (JAR) via the Class-Path attribute, what classloader is used for these referenced libraries? It seems to me that they libraries should have scope over the EAR to grab resou

[JBoss-user] [Installation, Configuration & Deployment] - Re: Is this JBoss or an iBatis issue? Classpath issues...

2006-04-07 Thread asack
Has anyone ever used iBatis from within an EAR with EAR isolation on? If so, what was your package layout and where were are your resource files? Any advice would be much apprecaited. I'm going nuts with this one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopi

[JBoss-user] [EJB 3.0] - Re: Adding jars to ejb3-jar file

2006-04-07 Thread asack
"marcwimmer" wrote : Hi, | | what is the correct way to add a jar-file (like utils.jar) to the ejb3-file? | | At the moment I put it in the root of the ejb3...by that the classes in there work. But when I want to transfer simple Pojos between ejb3 and war layer it won't work anymore.

[JBoss-user] [Installation, Configuration & Deployment] - Re: Is this JBoss or an iBatis issue? Classpath issues...

2006-04-07 Thread asack
"asack" wrote : Just to add, the exception I'm getting is: | | java.io.IOException: Could not find resource "com/blah/blah/sqlmapConfig.xml" etc. which is definitely in the my.jar module. Well it seems I can load if I set the current Context ClassLo

[JBoss-user] [Installation, Configuration & Deployment] - Re: Is this JBoss or an iBatis issue? Classpath issues...

2006-04-07 Thread asack
Just to add, the exception I'm getting is: java.io.IOException: Could not find resource "com/blah/blah/sqlmapConfig.xml" etc. which is definitely in the my.jar module. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935811#3935811 Reply to the post : http:/

[JBoss-user] [Installation, Configuration & Deployment] - Is this JBoss or an iBatis issue? Classpath issues...

2006-04-07 Thread asack
Alright, I'm using 404CR2 with EAR isolation on. I have the following EAR: my.ear META-INF/application.xml my.jar lib/ibatis-common-2.jar lib/ibatis-sqlmap-2.jar lib/ibatis-dao-2.jar my.jar META-INF/MANIFEST.MF com/blah/blah/conifg/sql-map-config.xml The my.jar MANIFEST.MF file has Class-Path e

[JBoss-user] [EJB 3.0] - Re: Why doesn't the name() attribute of the @Stateless annot

2006-04-06 Thread asack
"[EMAIL PROTECTED]" wrote : Send comments to: [EMAIL PROTECTED], [EMAIL PROTECTED] Scott, is that a serious suggestion or a "stop whining, call the phone company" type answer? :-)! Well at least EAR/lib is going to exist in J2EE 5 (that's a no brainer). View the original post : http://www.j

[JBoss-user] [Installation, Configuration & Deployment] - Re: EAR packaging issue with classpaths and optional librari

2006-04-06 Thread asack
"asack" wrote : "asack" wrote : This works now in 404CR2 though I'm having a rollback issue with iBatis (I'm debugging now). It definitely does not work on 403SP1. I can't believe I'm the only one running into thismaybe I'm doing somet

[JBoss-user] [Installation, Configuration & Deployment] - Re: EAR packaging issue with classpaths and optional librari

2006-04-06 Thread asack
"asack" wrote : This works now in 404CR2 though I'm having a rollback issue with iBatis (I'm debugging now). It definitely does not work on 403SP1. I can't believe I'm the only one running into thismaybe I'm doing something wrong though my example is s

[JBoss-user] [Installation, Configuration & Deployment] - Re: EAR packaging issue with classpaths and optional librari

2006-04-06 Thread asack
This works now in 404CR2 though I'm having a rollback issue with iBatis (I'm debugging now). It definitely does not work on 403SP1. I can't believe I'm the only one running into thismaybe I'm doing something wrong though my example is simple enough... View the original post : http://www.

[JBoss-user] [EJB 3.0] - Re: Why doesn't the name() attribute of the @Stateless annot

2006-04-06 Thread asack
"elkner" wrote : How about @Service + @Management and putting the "init my app" stuff into the start() method (having that in the spec would be really cool)? | | OK, there is still the permission issue wrt. @RunAs, but AFAIK it is already fixed in CVS (but not in CR2 :-(()... Sure but its

[JBoss-user] [EJB 3.0] - Re: Why doesn't the name() attribute of the @Stateless annot

2006-04-06 Thread asack
"[EMAIL PROTECTED]" wrote : I totally agree that this ENC/global JNDI stuff needs to be standardized in the next rev of the spec. In fact, there are MANY non-persistence-related items that we had on our wishlist that we simply ran out of time to do in this release. | | Yea! I have anothe

[JBoss-user] [EJB 3.0] - Re: Why doesn't the name() attribute of the @Stateless annot

2006-04-06 Thread asack
"bdecoste" wrote : jndi bindings are not standardized in the spec, so each vendor will likely have their own policy. With all due respect to the EJB3 group which I think have done a fantastic job of making EJBs more accessible, little things like this should not go unnoticed. Why is it archi

[JBoss-user] [Installation, Configuration & Deployment] - Re: EJB Deploy, Lookup Problem

2006-04-06 Thread asack
Please post your JNDI space by using the JMX console and looking at the JNDI service (invoke the list() function). My guess is in all cases, it doesn't exist: My guess would be is you are using @RemoteBinding ( jndiBinding ="HelloWorld"), that means your bean is located at HelloWorld not Hello

[JBoss-user] [Installation, Configuration & Deployment] - Re: EAR packaging issue with classpaths and optional librari

2006-04-05 Thread asack
"[EMAIL PROTECTED]" wrote : There is a testcase for this so create a jira issue with the last version of the ear with the jars referenced by the my.jar manifest. | | http://jira.jboss.com/jira/browse/JBAS Scott, thanks. I'm going bald and I already don't have a lot of hair... I will try t

[JBoss-user] [Installation, Configuration & Deployment] - Re: EAR packaging issue with classpaths and optional librari

2006-04-05 Thread asack
Another update, no matter where I put my Map and/or Config.xml file within my.jar, I can't see it and its not on my runtime classpath. Has anyone experienced this before? After reading Chapter 8 more closely of the J2EE spec, putting the lib/ibatis* entries in the Class-Path MANFEST attribute

[JBoss-user] [Installation, Configuration & Deployment] - Re: EAR packaging issue with classpaths and optional librari

2006-04-05 Thread asack
Whoops, no my my.jar MANIFEST file has the reference to ibatis libaries. But either way doesn't work (I tried the first way for S&G's and that doesn't even find them). This is so weird...I'm using 404RC1... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935

[JBoss-user] [Installation, Configuration & Deployment] - Re: EAR packaging issue with classpaths and optional librari

2006-04-05 Thread asack
I would like to add taht yes, I checked, the map files are there and the correct path is specified. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935265#3935265 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935265

[JBoss-user] [Installation, Configuration & Deployment] - EAR packaging issue with classpaths and optional libraries (

2006-04-05 Thread asack
I have an EAR file packaged like this: my.ear: my.ear/META-INF/MANIFEST.MF my.ear/META_INF/application.xml my.ear/lib/ibatis-common-2.jar my.ear/lib/ibatis-sqlmap-2.jar my.ear/lib/ibatis-map-2.jar my.ear/my.jar my.jar: my.jar/com/blah/blah my.jar/META-INF/MANIFEST.MF my.ear's MANIFEST file has a

[JBoss-user] [EJB 3.0] - Re: Why doesn't the name() attribute of the @Stateless annot

2006-04-05 Thread asack
"bdecoste" wrote : If you want to explicitly specify the jndi binding, use the RemoteBinding and the LocalBinding annotations. The name attribute of Stateless sets the EJB name for the bean. Without A RemoteBinding or LocalBinding annotation, the default binding is earName/ejbName. | | The

[JBoss-user] [EJB 3.0] - Why doesn't the name() attribute of the @Stateless annotatio

2006-04-05 Thread asack
If I have an EAR named foobar.ear and I have stateless session bean marked: @Stateless ( name = "/somwhereelse/foobar" ) public class foobar...etc. The JNDI binding becomes foobar/somwherelese/foobar/local which IMO seems wrong. The name() attribute should provide a mechnism to specify the glob

[JBoss-user] [EJB 3.0] - Re: Why aren't EJB3 Naming Contexts removed after undeployme

2006-04-05 Thread asack
"bdecoste" wrote : The NamingContext should no longer be bound. I have opened a JIRA task for this issue. | | http://jira.jboss.com/jira/browse/EJBTHREE-507 Thank you...I have a follow questionregarding JNDI bindings... View the original post : http://www.jboss.com/index.html?module=b

[JBoss-user] [EJB 3.0] - Why aren't EJB3 Naming Contexts removed after undeployment?

2006-04-04 Thread asack
Question says it all. Currently I have a bunch of STSBs all with a @Stateless ( name = "blah" ) which generates a blah/local in my JNDI namespace. When I undeploy the jar file, the NamingContext is still bound. Why is this? View the original post : http://www.jboss.com/index.html?module=bb&o

[JBoss-user] [EJB 3.0] - Re: Custom annotations on an EJB3 problem

2006-04-03 Thread asack
"asack" wrote : Hi, I'm pretty sure I had a piece of code that looked up an EJB3 STSB and looked for a custom annotation (on top of a class) outside the EJB3 spec namespace. This worked on 4.0.3SP1. But in 4.0.4RC1, I can't seem to process any custom annotations on my be

[JBoss-user] [EJB 3.0] - Custom annotations on an EJB3 problem

2006-04-03 Thread asack
Hi, I'm pretty sure I had a piece of code that looked up an EJB3 STSB and looked for a custom annotation (on top of a class) outside the EJB3 spec namespace. This worked on 4.0.3SP1. But in 4.0.4RC1, I can't seem to process any custom annotations on my bean. Both I believe we running EJB3RC5

[JBoss-user] [EJB 3.0] - Re: Deployment order ejb3 / war

2006-03-31 Thread asack
Wow, this is helpful, I was having similar issues. I think this is a real outtage in the spec that there aren't deployment primitives that allow this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934117#3934117 Reply to the post : http://www.jboss.com/ind

[JBoss-user] [EJB 3.0] - Re: JMX and EJB3 compatibility

2006-03-30 Thread asack
Yeah sorry, I'm doing that now as we speak. I don't mean to waste people's time, its just I'm new to both EJB3 and JMX and have some preimplementation nervousness that I'm not on the path to righteousness. Thanks...hope this turns out right... View the original post : http://www.jboss.com/in

[JBoss-user] [EJB 3.0] - Re: JMX and EJB3 compatibility

2006-03-27 Thread asack
A shameless bump! :-)! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932876#3932876 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932876 --- This SF.Net email is

[JBoss-user] [EJB 3.0] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2006-03-27 Thread asack
"sony3002" wrote : hello, | | thank you for the reply | i done as you said and found this | | +- UserLoginBean (class: org.jnp.interfaces.NamingContext) | | | +- remote (proxy: $Proxy49 implements interface com.amlaki.cbmega.ejb.user.UserLoginRemote,interface org.jboss.ejb

[JBoss-user] [EJB 3.0] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2006-03-27 Thread asack
"sony3002" wrote : hello | i checked my JMX-Console and found this | | MBean Name: Domain Name: jboss.j2ee | service: EJB3 | name: UserLoginBean | jar: EJBModule.jar | MBean Java Class: org.jboss.ejb3.ServiceDelegateWrapper | | | is this ok ??? | | i am new t

[JBoss-user] [EJB 3.0] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2006-03-26 Thread asack
Check JNDI space via the JMX-Console but you probably want something like UserLoginBean/remote...usually a NamingContext cast exception is a wrong lookup. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932692#3932692 Reply to the post : http://www.jboss.com/

[JBoss-user] [EJB 3.0] - Re: JMX and EJB3 compatibility

2006-03-26 Thread asack
"[EMAIL PROTECTED]" wrote : lifecycle in JMX is a jboss specific addition. I'm not following...(you mean JBoss Services and their design pattern?) "bill" wrote : Since you already want to use jboss specific extensions, why not @Service? | | Add a start/stop method to your @Service's @Mana

[JBoss-user] [EJB 3.0] - Re: compiling

2006-03-25 Thread asack
Your default CLASSPATH and obviously the ejb3 jars from the EJB3 deployer (under your deploy directory). Have you looked at the JBoss IDE for Eclipse? I've used that with a lot of success (great project) and provides already configured EJB3/AOP libraries for you to use to include in your proje

[JBoss-user] [EJB 3.0] - Re: JMX and EJB3 compatibility

2006-03-25 Thread asack
"[EMAIL PROTECTED]" wrote : No, they have no relation. You can create an mbean that interacts with an ejb3 component and visa-versa, but it makes no sense to expose an ejb3 bean via jmx because the lifecycles do not match. Scott, first off, thanks for the response. I would like to explore this

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: How do you handle chunked HttpServletRequests?

2006-03-24 Thread asack
A follow, I'm using 4.0.4RC1 behind a Apache 2.055. When a mobile client sends a chunked POST, everytime I try to read it via HttpServletRequest.getReader() or getInputStream(), it just hangs! It looks from a tcpdump/network monitoring tool that all the chunks have not been received by JBoss/T

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - How do you handle chunked HttpServletRequests?

2006-03-23 Thread asack
I have a mobile client that is chunking its request to my servlet. Is there an API that I can use to get access to each chunk easily or do I really have to parse it manually as a ServletInputStream? Right now Tomcat seems to aggregate the chunks under one Body with each section separated by a

[JBoss-user] [EJB 3.0] - Re: configuring spring to wire in ejb3 stateless session bea

2006-03-23 Thread asack
Have you tried to use the JBoss Spring deployer that allows you to inject EJB's via the @Spring notation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932109#3932109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932

[JBoss-user] [EJB 3.0] - Re: How to pass object of web tier to slsb in ejb tier

2006-03-23 Thread asack
Post code/example and exceptoin...might want to post JNDI namespace as well.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932106#3932106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932106 ---

[JBoss-user] [EJB 3.0] - Re: Runtime change of @Where clause

2006-03-22 Thread asack
"lcoetzee" wrote : Hi, | | Is it possible to change the @Where clause at runtime, thus implementing some kind of polymorphic query on my collection ? | | As an example I have the following: | | | @OneToMany(mappedBy = "service") | | @MapKey(name="id") | | @

[JBoss-user] [EJB 3.0] - Re: @EJB annotation not working in Java Bean

2006-03-21 Thread asack
Hold on. @EJB works fromwithin another EJB not just a regular JavaBean. The @EJB annotations are picked up by the EJB3 deployer and processed accordingly (AOP based). If you are using @EJB from a regular JavaBean, that's not going to work and from my understaning never intended to work that w

[JBoss-user] [EJB 3.0] - Re: @EJB annotation not working in Java Bean

2006-03-21 Thread asack
"adver11" wrote : In EJB 3.0 RC5 | javabean code: | public class Examples { | | @EJB | | MyStateless mystateless; | | | | public void process() { | |System.out.println(mystateless.getString()); | | } | | } | | another java bea

[JBoss-user] [EJB 3.0] - Re: @EJB annotation not working in web tier

2006-03-21 Thread asack
"treespace" wrote : Trying to use variable "server" throws a null pointer exception. | | | | public class Client | | { | |@EJB Server server; | | | |execute(String operation) | |{ | | server.execute(operation); | |} | | } | |

[JBoss-user] [EJB 3.0] - Re: Packaging Issue

2006-03-21 Thread asack
"Cybernd" wrote : Hi, | | Given: | test.ear/test.ejb3/my/SomeBdb.class | | This MDB is a simple hello world mdb, trying to create an instance of class Dummy based on the message content. It simply contains "new Dummy();" inside the onMessage() Method. | | Whats the best suitable

[JBoss-user] [EJB 3.0] - Re: JMX and EJB3 compatibility

2006-03-20 Thread asack
Has anyone tried this? :-)! I'm going to attempt tonight but I would really appreciate any input regarding these two technologies and how they relate. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931466#3931466 Reply to the post : http://www.jboss.com/i

[JBoss-user] [EJB 3.0] - Re: JNDI Lookup Failure, ClassCastException, 4.0.4RC1

2006-03-20 Thread asack
"tromanowski" wrote : | elkner: | Thanks for your reply--that implies that JBoss is in fact compliant with the J2EE spec regarding ears, contrary (depending on the version) to what asack has mentioned. Which version are you using? I know I asked if anyone had this working with

[JBoss-user] [EJB 3.0] - Re: JNDI Lookup Failure, ClassCastException, 4.0.4RC1

2006-03-20 Thread asack
"tromanowski" wrote : | The latest JBoss documentation (including forum postings & wiki) suggest that an ear containing a war file and ejb 3.0 entities in a separate jar file should work, as long as the ejb3.0 jar file has a proper persistence.xml file in its MAN-INF directory. Is this still

[JBoss-user] [EJB 3.0] - JMX and EJB3 compatibility

2006-03-20 Thread asack
Can I register an EJB3 with a JMX server and perform custom lifecycle operations on my bean? If so, are there any known limitations or gotchas doing this? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931332#3931332 Reply to the post : http://www

[JBoss-user] [EJB 3.0] - Re: Rebinding EJB3 JNDI namespace

2006-03-16 Thread asack
"[EMAIL PROTECTED]" wrote : a SFSB gets removed from JNDI at undeployment. If it didn't redeploy would never work. I don't think it cleans up the Context dirs though. Bill, I will double check for ya but so far my experience has been if I rebind an EJB3 and then remove the jar, i.e. undeploy,

[JBoss-user] [EJB 3.0] - Rebinding EJB3 JNDI namespace

2006-03-16 Thread asack
I'm experimenting and I want to know if rebinding an EJB3's JNDI location a bad thing? I want to manage my EJB3 proactively and one of the issues is JNDI namespace collisions (foreign deployments interacting with my stuff that have similar names). I have some code that rebinds a STSB EJB3's JN

[JBoss-user] [EJB 3.0] - Re: EJB3, iBatis, and CGLIB

2006-03-16 Thread asack
"asack" wrote : Thanks Max for the CGLIB explanation. | | Update: | Well, if I use CGLIB 2.1 it works. Its only with the latest CGLIB it fails. This has to be an iBatis bug...sorry... In case anyone was wondering, you have to turn off the lazy loader in iBatis for it to wor

[JBoss-user] [EJB 3.0] - Re: @PreDestory callback behavior for Stateless beans

2006-03-15 Thread asack
"[EMAIL PROTECTED]" wrote : by default, beans are pooled in a threadlocal and never destroyed. Bill, no offense, but that doesn't seem very spec compliant to me. It makes the @PreDestory callback meaningless right or am I misunderstanding you? Thanks! -aps View the original post : http://w

[JBoss-user] [EJB 3.0] - @PreDestory callback behavior for Stateless beans

2006-03-15 Thread asack
Is there any way to cause a @PreDestory callback to be executed programmactically? I thought if I undeploy the jar file in which EJB3 Stateless beans are defined, any @PreDestroy callbacks defined would be called. That doesn't seem to be the case and it maybe my misunderstanding of an EJB3 li

[JBoss-user] [EJB 3.0] - Re: EJB3, iBatis, and CGLIB

2006-03-13 Thread asack
Thanks Max for the CGLIB explanation. Update: Well, if I use CGLIB 2.1 it works. Its only with the latest CGLIB it fails. This has to be an iBatis bug...sorry... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929815#3929815 Reply to the post : http://www

[JBoss-user] [EJB 3.0] - Re: EJB3, iBatis, and CGLIB

2006-03-12 Thread asack
BUMP and at least can someone explain to me the ramifications of removing cglib or replace it with respect to the EJB3 deployer? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929651#3929651 Reply to the post : http://www.jboss.com/index.html?module

[JBoss-user] [JBoss AOP] - Re: Can you use AOP to force an object as an EJB3 object?

2006-03-12 Thread asack
"[EMAIL PROTECTED]" wrote : Not really, the EJB container does a lot of extra stuff like binding into JNDI, pooling etc. You can apply some of the transactions and security functionality though. Thanks Kabir, I came to that conclusion looking at the code too. Btw, I think this would be a very

[JBoss-user] [JBoss AOP] - Can you use AOP to force an object as an EJB3 object?

2006-03-11 Thread asack
I'm looking at AOP for architecting a new project and I was wondering if its possible to force a simple POJO to be an EJB3 and have it managed by the EJB3 containers via a Mixin or some other mechanism? (there is a similar post with no response about taking a POJO and trying to make it an Entit

[JBoss-user] [EJB 3.0] - Re: JBoss WebTier Injection

2006-03-10 Thread asack
As far as the spec goes, I believe Servlet 2.5 adds annotations to inject objects from the enterprise tier. If you read carefully the EJB3 documentation and trailblazers, I believe JBoss currently does not support direct injection and still requires a JNDI lookup like substance. View the origi

[JBoss-user] [EJB 3.0] - Re: EJB3, iBatis, and CGLIB

2006-03-10 Thread asack
Anybody? :-)! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929395#3929395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929395 --- This SF.Net email is sponsored

[JBoss-user] [EJB 3.0] - EJB3, iBatis, and CGLIB

2006-03-09 Thread asack
Hi, I'm working on a big project that is going to be completely EJB3/JBoss based (great work guys) and I'm running into an odd problem that the Wiki/FAQ and numerous Search tries are not resolving. I'm using JBoss 4.0.3SP1-EJB3RC5, JDK1.5_06 and iBatis 2.1.7-597 (latest). My issue is that I'

  1   2   >