[jboss-user] [EJB/JBoss] - Re: Return from session bean takes ~60 seconds

2007-07-18 Thread kratosh
Hi, I will do that maybe for a short time when it happens again. But does anyone have any idea what it can be? did anyone encounter such problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065649#4065649 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [EJB/JBoss] - Re: forever problem! right way to create and deploy bean

2007-07-18 Thread syedtaj
They are just warns, if you dont need log4j just ignore them in the standalone program of yours and the program will still work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065531#4065531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [EJB/JBoss] - Re: Unable to passivate due to ctx lock in JBoss-4.0.4GA

2007-07-18 Thread syedtaj
Just a correction to my earlier message. I understand it is not an error, just a warn - but does hundreds of messages like this indicate a problem that we need to investigate? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065499#4065499 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: Unable to passivate due to ctx lock in JBoss-4.0.4GA

2007-07-18 Thread syedtaj
This topic suggests that this is a warning that will still come for SFSB - Stateful session beans. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=81523 However is this error anyways related to slowness. And why does the error occur? Is it because when the cache is attempting to flus

[jboss-user] [EJB/JBoss] - Re: Return from session bean takes ~60 seconds

2007-07-18 Thread syedtaj
Change the logging to trace and see whats happening. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065484#4065484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065484 _

[jboss-user] [EJB/JBoss] - Re: Exception in deploying ejb with Oracle but works with de

2007-07-18 Thread waynebaylor
what does you persitence.xml look like? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065429#4065429 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065429 ___ jboss-user mail

[jboss-user] [EJB/JBoss] - Re: Accessing data (variables) through XML descriptor?

2007-07-16 Thread BogusException
Perfect! Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064785#4064785 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064785 ___ jboss-user mailing list jboss-user@lis

[jboss-user] [EJB/JBoss] - Re: Accessing data (variables) through XML descriptor?

2007-07-16 Thread waynebaylor
Perhaps you can use environment settings in your ejb-jar.xml? the tag is "" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064686#4064686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064686 _

[jboss-user] [EJB/JBoss] - Re: method-permission being ignored

2007-07-12 Thread spiperoglou
Thanks, that did the trick View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063427#4063427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063427 ___ jboss-user mailing list jbos

[jboss-user] [EJB/JBoss] - Re: How to solve circular dependencies in JBoss 4.0.5GA?

2007-07-12 Thread [EMAIL PROTECTED]
Hey All, I'm having the same issue, I'd really like to use the injection rather than a seperate JNDI lookup. Has anybody solved this? Many Thanks, Greg. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063404#4063404 Reply to the post : http://www.jboss.c

[jboss-user] [EJB/JBoss] - Re: What append when a Session bean timed out?

2007-07-11 Thread buggsbunny101
No one? really. I'm sure that someone know that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063010#4063010 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063010 ___ jbos

[jboss-user] [EJB/JBoss] - Re: CORBA DSI server under JBoss

2007-07-11 Thread lzap
Oh it seems the JMX module is the only way to create services under JBoss. Sorry for my strange posts... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062882#4062882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40628

[jboss-user] [EJB/JBoss] - Re: CORBA DSI server under JBoss

2007-07-11 Thread lzap
I mean enterprise application client instead of EJB stateless session bean. EJB bean cannot include corba services because is created by the client... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062858#4062858 Reply to the post : http://www.jboss.com/inde

[jboss-user] [EJB/JBoss] - Re: CORBA DSI server under JBoss

2007-07-11 Thread lzap
Yes this is very good idea, I would like to reuse JBoss ORB. Ok I will look at the corba naming service but I still have a questions: a) should I develop JMX module or EJB stateless session bean with only one instance allowed? the second option is giving portability to other EJB servers... b)

[jboss-user] [EJB/JBoss] - Re: CORBA DSI server under JBoss

2007-07-11 Thread [EMAIL PROTECTED]
You have mix things up. If you want to create a corba server object using whatever technique (e.g. DSI), the jboss/ejbs/invokers have nothing to do with it. You can just reuse the ORB (i.e. jacorb) that already exists in jboss to create your corba server object, and wrap it with a JMX mbean so

[jboss-user] [EJB/JBoss] - Re: CORBA DSI server under JBoss

2007-07-11 Thread lzap
I have studied JBoss-IIOP but it seems I cant use this JMX module for my purpose. I need to develop a CORBA-SOAP bridge for JBoss using DSI/DII interfaces and I am not sure how to do the CORBA side. Should it be an JMX module or other component? View the original post : http://www.jboss.com/in

[jboss-user] [EJB/JBoss] - Re: method-permission being ignored

2007-07-11 Thread [EMAIL PROTECTED]
You most probably need to define a security domain in the jboss specific descriptor. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062830#4062830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062830 _

[jboss-user] [EJB/JBoss] - Re: Exception in calling an Entity Bean from Servlet

2007-07-10 Thread alexg79
Why are you using Toplink Essentials instead of Hibernate? There are no advantages to that, only drawbacks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062670#4062670 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40

[jboss-user] [EJB/JBoss] - Re: forever problem! right way to create and deploy bean

2007-07-10 Thread henry _h
but i don't use a logger in my client or some where else! why i should have a log4.xml or log4.properties, if i don't log any messages and so on in my code? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062640#4062640 Reply to the post : http://www.jbo

[jboss-user] [EJB/JBoss] - Re: CORBA DSI server under JBoss

2007-07-10 Thread lzap
It seems I will have to create my own JMX module with CORBA server... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062522#4062522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062522 _

[jboss-user] [EJB/JBoss] - Re: forever problem! right way to create and deploy bean

2007-07-10 Thread jaikiran
You see those messages because you dont have a log4j.properties or log4j.xml file in the classpath of the client (MyBeanClient). Have a look at http://jaitechwriteups.blogspot.com/2006/07/i-get-log4jwarn-no-appenders-could-be.html for more details. All you have to do is place a log4j.xml or log

[jboss-user] [EJB/JBoss] - Re: forever problem! right way to create and deploy bean

2007-07-10 Thread henry _h
i upgrade to jboss 4.2 and my bean functions, but i become: log4j:WARN No appenders could be found for logger (org.jboss.security.SecurityAssociation). log4j:WARN Please initialize the log4j system properly. I dont no what is the appender and where should i put it? View the original post : htt

[jboss-user] [EJB/JBoss] - Re: Seam 2: EL and anonymous classes

2007-07-07 Thread thatrichard
Apologies. I've posted this to the wrong forum. Is there a way I can move it to JBoss Seam Users? Thanks Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061573#4061573 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=r

[jboss-user] [EJB/JBoss] - Re: ConnectionManager is not releasing connections properly.

2007-07-06 Thread relgames
Hi! Do you have news about this issue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061404#4061404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061404 ___ jboss-user maili

[jboss-user] [EJB/JBoss] - Re: Exception in calling an Entity Bean from Servlet

2007-07-05 Thread ashusri000
Hi All , I am getting this exception after making a call to persist some data . Please can anybody help me out : ERROR [[TestServlet]] Servlet.service() for servlet TestServlet threw exception java.lang.ClassCastException: org.hibernate.ejb.HibernatePersistence at javax.persistence.Persistence.

[jboss-user] [EJB/JBoss] - Re: RMI EJB - Latency and the Atlantic...

2007-07-05 Thread [EMAIL PROTECTED]
You need to test for yourself. A simple thing to do is to use different invokers to access the same EJB and measure the time: - classic rmi invoker - pooled invoker - iiop invoker - http invoker My guess would be that the pooled and iiop invokers would be a bit faster because they can keep the

[jboss-user] [EJB/JBoss] - Re: ejb 3.0 SFSB timeouts

2007-07-05 Thread mark1.szymczak
Correction - Any changes that I make to standardjboss.xml seem to have no effect in so far as the bean is not passivated. Should be Any changes that I make to standardjboss.xml seem to have no effect. I cannot override the settings there. View the original post : http://www.jboss.com/i

[jboss-user] [EJB/JBoss] - Re: Could not activate; failed to recover session (session h

2007-07-04 Thread vardhan
i too get this same error i have a demo to be show to the VPs in another 1 hr , Some body please help I realy...realy...realy...realy... NEED HELP Please View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060643#4060643 Reply to the post : http://www.jboss.com

[jboss-user] [EJB/JBoss] - Re: IIOP deployment problems

2007-07-02 Thread jstelzer
As a follow up, this was caused by problems with dependencies that caused classloader problems that resulted in no orb instance being found from within the app. jboss-iiop.jar was being incorrectly included in the ear. So, the classname to use was in jndi, but the factory returned null. Fixin

[jboss-user] [EJB/JBoss] - Re: SessionBeans and Files/Inputstream

2007-07-02 Thread [EMAIL PROTECTED]
thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059702#4059702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059702 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [EJB/JBoss] - Re: Pre-loading a number of Stateless EJB instances

2007-07-02 Thread dtauzell
For now I've just added some code to a servlet's init() method to make some EJB calls. I suspect I could use JMX, too. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059640#4059640 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mod

[jboss-user] [EJB/JBoss] - Re: SessionBeans and Files/Inputstream

2007-07-02 Thread [EMAIL PROTECTED]
You could pass around URLs served either by apache httpd or jboss-web. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059541#4059541 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059541

[jboss-user] [EJB/JBoss] - Re: What append when a Session bean timed out?

2007-06-29 Thread buggsbunny101
No one know something bout that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059065#4059065 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059065 ___ jboss-user mailing lis

[jboss-user] [EJB/JBoss] - Re: Enum parameter for EJB, Bug or simply not supported?

2007-06-28 Thread [EMAIL PROTECTED]
You'd have to check what the spec says. For j2ee it's most probably not supported. I don't know if this has changed for JavaEE 5. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058691#4058691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=p

[jboss-user] [EJB/JBoss] - Re: How to deploy on JBoss a CMP bean that uses a composite

2007-06-25 Thread lafr
Add "@ejb.pk-field" to getPartNumber and getRevision in your EB. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057506#4057506 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057506 __

[jboss-user] [EJB/JBoss] - Re: How to deploy on JBoss a CMP bean that uses a composite

2007-06-25 Thread waynebaylor
Check out @EmbeddedId and @IdClass View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057410#4057410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057410 ___ jboss-user mailing l

[jboss-user] [EJB/JBoss] - Re: Invoking EJB from a servlet

2007-06-25 Thread jaikiran
See if this helps: http://wiki.jboss.org/wiki/Wiki.jsp?page=InvalidPackagingError View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057407#4057407 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057407 ___

[jboss-user] [EJB/JBoss] - Re: Calling native C++ legacy program from Message Driven Be

2007-06-25 Thread [EMAIL PROTECTED]
How you define "will support"? There is no much difference if you use JNI in a standalone application or inside an application server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057283#4057283 Reply to the post : http://www.jboss.com/index.html?module=bb

[jboss-user] [EJB/JBoss] - Re: Calling native C++ legacy program from Message Driven Be

2007-06-25 Thread waikhom
You mean JBoss will support calling JNI native C++ program? What is your opinion in this kind of scenarion? I am looking for an architectural solution. Thanks, Waikhom View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057277#4057277 Reply to the post : http://

[jboss-user] [EJB/JBoss] - Re: Calling native C++ legacy program from Message Driven Be

2007-06-25 Thread [EMAIL PROTECTED]
JBoss will know nothing if you use JNI, so it's really up to you. The risk of JNI is that you can always screw up the whole JVM if you are not carefull. JBoss itself, doesn't use JNI, except for the embedded JBoss Web that has optional native connectors. View the original post : http://www.jbo

[jboss-user] [EJB/JBoss] - Re: Primary key for created instance is null...

2007-06-21 Thread muralidharanr
I am getting the same issue. Any solution to this issue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056718#4056718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056718 __

[jboss-user] [EJB/JBoss] - Re: error

2007-06-20 Thread beto_sach
Hello someone, I´ve just installed eclipse and I am trying installed jbpm, but display this mistake: org.jbpm.gd.jpdl.feature (3.0.12) requires plug-in "org.apache.xerces". Could Anyone help me to resolve this. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewto

[jboss-user] [EJB/JBoss] - Re: error

2007-06-20 Thread beto_sach
org.jbpm.gd.jpdl.feature (3.0.12) requires plug-in "org.apache.xerces". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056230#4056230 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056230 ___

[jboss-user] [EJB/JBoss] - Re: Stateful session bean Serlization

2007-06-19 Thread tst
anybody please HELP View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055731#4055731 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055731 ___ jboss-user mailing list jbo

[jboss-user] [EJB/JBoss] - Re: Stateful session reference problem while upgrading to Jb

2007-06-12 Thread saifi27
Can somebody post something over here. Anything that can help? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053578#4053578 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053578

[jboss-user] [EJB/JBoss] - Re: Transaction TransactionImpl time out ?

2007-06-10 Thread alchemista
"jaap" wrote : I got the same errors after upgrading to 4.0.2 (from 3.2.6). It happens when a process it too slow and it exceeds the time-out of 5 minutes set in JBoss for transactions. | The result is indeed very disturbing, JBoss sort of crashes, it will only serve error pages and sends thou

[jboss-user] [EJB/JBoss] - Re: Regarding jboss4.0.5/ejb3

2007-06-09 Thread waynebaylor
It does, except in the web tier. For example, the @EJB annotation will not work if used in a servlet/JSP. But you can use JNDI lookups to achieve the same results. Most importantly, to get the EJB3 version you have to use the JEMS installer :) View the original post : http://www.jboss.com/inde

[jboss-user] [EJB/JBoss] - Re: Way to implement a removeAll() method?

2007-06-08 Thread seansawyer
Except, unfortunately, that the project in question does not use Hibernate. It seems that there is no way to accomplish this through EJB: http://forum.java.sun.com/thread.jspa?threadID=5174100&messageID=9671593 The impetus for this post was that, with a sufficiently large number of entities, I e

[jboss-user] [EJB/JBoss] - Re: Way to implement a removeAll() method?

2007-06-07 Thread khkachn
Can't you do something like: int deletedEntities = entityManager.createQuery("delete from Customer"); if you want to remove all records from a customer table? I have not tried this yet, but it works in Hibernate based on their documentation: http://www.hibernate.org/hib_docs/entitymanager/refer

[jboss-user] [EJB/JBoss] - Re: Problem looking up EJB session bean (Name not bound)

2007-06-06 Thread McGerman1
Hi the correct Lookup when deploying in an ear file must be: Object authenRef = _intialCtx.lookup("/AuthenticatorBean/remote"); in your case: Object authenRef = _intialCtx.lookup("test/AuthenticatorBean/remote"); I had the same problem like you before ;-)) Greedings McGerman View the origina

[jboss-user] [EJB/JBoss] - Re: message driven bean error

2007-06-04 Thread jaikiran
Here's a very simple topic configuration: | jboss.mq:service=DestinationManager | | | Replace the "YourTopicName" above with whatever is the name of your topic. Add the above mbean configuration to the already existing list of topic/queue in jbossmq-destinations-service.xm

[jboss-user] [EJB/JBoss] - Re: message driven bean error

2007-06-03 Thread subratjyetki
your 3rd option is correct but how to do it in View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050791#4050791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050791 ___ jboss-u

[jboss-user] [EJB/JBoss] - Re: tx attributte - supports doesn't work as expected

2007-06-03 Thread adamzrk
I know what all transaction attributes mean and I do not want the REQUIRED attribute. According to specification jboss have implemented tx support not very well. Regards Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050762#4050762 Reply to the po

[jboss-user] [EJB/JBoss] - Re: tx attributte - supports doesn't work as expected

2007-06-03 Thread jaikiran
anonymous wrote : EntityManager must be access within a transaction Which means that when you are accessing the entity manager in your createAirport method, there should be an active transaction. As you already correctly mentioned: anonymous wrote : | As you can see I configured it with SUPPO

[jboss-user] [EJB/JBoss] - Re: message driven bean error

2007-06-02 Thread jaikiran
anonymous wrote : WebRuleExportTopic anonymous wrote : 23:26:46,068 WARN [JMSContainerInvoker] destination not found: topic/WebRuleImportTopic reason: javax.naming.NameNotFoundExc | eption: WebRuleImportTopic not bound We need more details: 1) When does this WARN message come up? Is it durin

[jboss-user] [EJB/JBoss] - Re: No ClassLoaders found

2007-06-02 Thread jaikiran
anonymous wrote : net.jjs.adviser.LocalAdviserHome Are you sure this class is present in your application package? net.jjs.ejb.adviser.AdviserHome | net.jjs.ejb.adviser.Adviser | net.jjs.adviser.LocalAdviserHome | net.jjs.adviser.LocalAdviser | net.jjs.ejb.adviser.AdviserBean Going by th

[jboss-user] [EJB/JBoss] - Re: No ClassLoaders found

2007-06-02 Thread jijisv
Hi, I'm also facing the same issue with JBoss 5.0. I started getting this error wen i configured both remote and local interface in the diployment descrptor... the error | jboss.j2ee:jndiName=AdviserBean,service=EJB -> java.lang.ClassNotFoundException: No ClassLoaders found for: net.jjs.ad

[jboss-user] [EJB/JBoss] - Re: debug ejb

2007-06-01 Thread rshedde
The other things I have tried to debug this problem is : - Review the conf/standardjboss.xml - Run ethereal/wirshark to read the data at the wire level, but could not comprehend it. Any suggestions are welcome. thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[jboss-user] [EJB/JBoss] - Re: how change reploy Jar in Ear

2007-05-31 Thread jaikiran
I am not sure whether its possible to just redeploy the jar which belongs to the ear. You can however redeploy the entire ear. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050355#4050355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=post

[jboss-user] [EJB/JBoss] - Re: EJB not work with Jboss listening port 8180

2007-05-31 Thread jaikiran
anonymous wrote : The EJB would have to use port 1199 !!! You mean you had changed the JNP port in jboss-service.xml to 1199? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050354#4050354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posti

[jboss-user] [EJB/JBoss] - Re: EJB2.1:UserTransaction with CMT- possible bug?

2007-05-22 Thread mskonda
anonymous wrote : The execution of a method of an enterprise bean with container-managed transaction demarcation | for which the value of the transaction attribute is NOT_SUPPORTED, NEVER, or SUPPORTS. However Wayne, I am able to use UT from a REQUIRED method too, which I think the above qu

[jboss-user] [EJB/JBoss] - Re: Row-locking enhancement for ejbLoad invoked outside of a

2007-05-21 Thread ScottMarlow
I created JBAS-4433 to track this and noted that active transactions are recommended when accessing entity beans. JBAS-4433 is about ignoring the row-lock flag if there is no active transaction. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047412#404741

[jboss-user] [EJB/JBoss] - Re: EJB2.1:UserTransaction with CMT- possible bug?

2007-05-21 Thread waynebaylor
I just checked out the EJB3 Spec and found the following: Section 13.6.5 Handling of Methods that Run with "an unspecified transaction context" anonymous wrote : | The term ?an unspecified transaction context? is used in the EJB specification to refer to the cases in | which the EJB archit

[jboss-user] [EJB/JBoss] - Re: EJB2.1:UserTransaction with CMT- possible bug?

2007-05-21 Thread mskonda
Thanks for your answer Wayne. Irrespective of the attrubute type, the use of UT is prohibited. So my point is - the use of UT in CMT is not allowed according to EJB Spec but looks like we have a way to get around this restriction (if I am not missing something obvious :) ) Whenever my method o

[jboss-user] [EJB/JBoss] - Re: EJB2.1:UserTransaction with CMT- possible bug?

2007-05-21 Thread waynebaylor
Why the call to tm.suspend()? By marking the method with TransactionAttributeType.NEVER you're stating that there will not be a transaction in progress when the method is called. Maybe try using TransactionAttributeType.NOT_SUPPORTED instead of NEVER. That way, if the caller has an associated

[jboss-user] [EJB/JBoss] - Re: Row-locking enhancement for ejbLoad invoked outside of a

2007-05-21 Thread [EMAIL PROTECTED]
In theory that sounds ok. But we do not recommend accessing entity beans w/o a transaction in our implementation. Some code relies on an active transaction. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047226#4047226 Reply to the post : http://www.jboss.co

[jboss-user] [EJB/JBoss] - Re: NullPointerException at doSecondPass

2007-05-20 Thread waynebaylor
I know this doesn't really help, but others are having a similar problem: http://forum.hibernate.org/viewtopic.php?p=2350718&sid=8c4b32a343a769aecfed0f398d79ee4f View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047091#4047091 Reply to the post : http://www.jbo

[jboss-user] [EJB/JBoss] - Re: Row-locking enhancement for ejbLoad invoked outside of a

2007-05-17 Thread ScottMarlow
Just to give more information about the use case. The target ejb2 cmp bean method is performing a read-only batch operation on many rows in the database (get application user group membership list). This method is marked with "@ejb.transaction type=NotSupported" and the bean has row-locking=tr

[jboss-user] [EJB/JBoss] - Re: EJB3.0 with Jboss4.0.5

2007-05-16 Thread kalyanbikkani
Thanks for reply What r the jar files needed to do this, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046192#4046192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046192

[jboss-user] [EJB/JBoss] - Re: EJB3.0 with Jboss4.0.5

2007-05-16 Thread delkant
with ejb3 the deployment descriptor (ejb-jar.xml) is not required,but of course you can use it if you want. here you have some help: http://docs.jboss.org/ejb3/app-server/tutorial/index.html and the specific example for your case: http://docs.jboss.org/ejb3/app-server/tutorial/stateless_deploy

[jboss-user] [EJB/JBoss] - Re: TimerService and Timer

2007-05-10 Thread gardon
i have found the problem. it was related with persistence of the timers. when a timer is created, it is stored (using DefaultDS) and reloaded at each jboss start. my solution is to cancel all the bean related timers befoare i create a new one: | public void createTimer() { |

[jboss-user] [EJB/JBoss] - Re: Jboss mbean and CORBA clients

2007-05-09 Thread mdwallis
I am running into the exact same issue and I do have the JBOSS_HOME environment variable set. Any other suggestions? I know this response is coming some time after the original post but I am stuck with the same problem and could use some help on this one. Thanks, Michael View the original po

[jboss-user] [EJB/JBoss] - Re: Jboss Classloader isolation not working

2007-05-09 Thread jaikiran
anonymous wrote : I set the below things for Jboss class loader isolation In order to achieve classloader isolation, you dont have to change those files. Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration, to see how this can be done View the original post : ht

[jboss-user] [EJB/JBoss] - Re: No ClassLoaders found

2007-05-07 Thread m.shinde
I resolved this problem by defining components.xml file in JAR. But I don't know this is the perfect way to do. I have not defined anything into that ... Might be Seam looking for this file and defining the classes... View the original post : http://www.jboss.com/index.html?module=bb&op=vi

[jboss-user] [EJB/JBoss] - Re: lookup NoClassDefFoundError

2007-05-07 Thread m.shinde
Have u defined @Remote Annotation into ur Stateless bean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043699#4043699 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043699 _

[jboss-user] [EJB/JBoss] - Re: Statefull session bean and exception

2007-05-04 Thread vkaushik_610
I am getting the same issue. can anybody help me out if this is possible. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043408#4043408 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043408

[jboss-user] [EJB/JBoss] - Re: How to call a EJB method at deploy time

2007-05-04 Thread [EMAIL PROTECTED]
An mbean or a servlet that will call your EJB at deployment time. I don't think there is something declarative you could just re-use. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043147#4043147 Reply to the post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [EJB/JBoss] - Re: i had a problem when i'm using Jboss 4.0.2+ the system c

2007-05-03 Thread [EMAIL PROTECTED]
You're probably encountering: http://jira.jboss.com/jira/browse/JBAS-4056 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042739#4042739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042739 _

[jboss-user] [EJB/JBoss] - Re: No ClassLoaders found

2007-05-03 Thread m.shinde
Yes ManageOrders file present there. I am not able to understand why this error is coming. Please suggest!. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042724#4042724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4

[jboss-user] [EJB/JBoss] - Re: No ClassLoaders found

2007-05-02 Thread jaikiran
anonymous wrote : java.lang.ClassNotFoundException: No ClassLoaders found for: de.bonprix.orderstarter.service.ManageOrders Did you check whether this class is present in your deployed application? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042441#404244

[jboss-user] [EJB/JBoss] - Re: Another NullPointerException in JBoss 4.0.5GA

2007-04-26 Thread sashaxiv
I also have the same problem? Is this related witn OneToOne annotations? Please someone can help us? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041271#4041271 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=404

[jboss-user] [EJB/JBoss] - Re: Problems calling methods in session beans on second JBos

2007-04-26 Thread smeier
Hi dr-dive, I've tried it out and ran into the same problem. The reason for the problem might be, that I have a jndi.properties in my classpath, with the line java.naming.provider.url=localhost | in it. The API doc for javax.naming.InitialContext http://java.sun.com/j2se/1.4.2/docs/api/java

[jboss-user] [EJB/JBoss] - Re: Deploy EJB 2 app in JBoss 4.0.4

2007-04-25 Thread aeguzmanv
Hi, and thanks... Is there any guide, tutorial, example or web site that teach me how could I migrate my app ?? Alejandro. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040788#4040788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=postin

[jboss-user] [EJB/JBoss] - Re: Deploy EJB 2 app in JBoss 4.0.4

2007-04-25 Thread jaikiran
The answers to both your questions is yes. You can run Hibernate 2 and EJB 2 applications on JBoss 4.0.4. The changes that are required for porting from 3.2.3 to 4.0.4 may vary depending on your application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040

[jboss-user] [EJB/JBoss] - Re: Cannot join transaction - Mixing CMT and BMT

2007-04-24 Thread rfoyle
Not sure when to use/not use, but: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory seemed to do the trick for me. -R View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040273#4040273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [EJB/JBoss] - Re: java.lang.ClassCastException

2007-04-22 Thread jaikiran
Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions. Specifically, the jmx-console method mentioned over there View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039692#4039692 Reply to the post : http://www.jboss.com/index.html?module=bb

[jboss-user] [EJB/JBoss] - Re: Accessing properties from jboss

2007-04-19 Thread veeseekay
I could finally access the props specified in jboss-service.xml through an MBean, initially I had mentioned that I did not want to do it through MBean, but now due to a change, I have to do this, and here is an FYI on how to do it : 1) specify your key-value pairs in jboss-service.xml Ex :

[jboss-user] [EJB/JBoss] - Re: Invoking equals() on EJB

2007-04-19 Thread fastbob
I'm certainly not an expert in the spec, so I wouldn't know where to start. It sounds like I should probably file a bug report. Bob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038937#4038937 Reply to the post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [EJB/JBoss] - Re: Invoking equals() on EJB

2007-04-19 Thread [EMAIL PROTECTED]
What the spec says about that? Looks like bug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038847#4038847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038847 ___ jboss-us

[jboss-user] [EJB/JBoss] - Re: ClassLoading problems, JBoss ClassLoading Strategy might

2007-04-17 Thread jaikiran
These wiki links mention how to configure JBoss classloading http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037908#4037908

[jboss-user] [EJB/JBoss] - Re: EJB 3 deployment on JBoss 4.0.3

2007-04-13 Thread [EMAIL PROTECTED]
You should ask on one of the ejb3 forums, but my suggestion would be to look for a later jbossAS/ejb3 combination View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037272#4037272 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl

[jboss-user] [EJB/JBoss] - Re: Dependency injection @EJB throws NullPointerException

2007-04-13 Thread Jay Baus
I found http://forum.java.sun.com/thread.jspa?threadID=5148205&tstart=135 which pointed to http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/injection/ which says they don't do dependency injection in servlets, only EJBs. However, there is a JBoss issue at http://jira.jboss.com/

[jboss-user] [EJB/JBoss] - Re: Dependency injection @EJB throws NullPointerException

2007-04-13 Thread Jay Baus
Right, is this supposed to work? public class SomeServlet extends HttpServlet { @EJB TravelAgentLocal agent; @PersistenceContext(unitName="titan") EntityManager em; ... } Both are null by doGet(). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037164#4

[jboss-user] [EJB/JBoss] - Re: Dependency injection @EJB throws NullPointerException

2007-04-13 Thread timony
nobody knows? Damn :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037011#4037011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037011 ___ jboss-user mailing list [EMAIL P

[jboss-user] [EJB/JBoss] - Re: Accessing properties from jboss

2007-04-12 Thread [EMAIL PROTECTED]
I only had to google for properties-service.xml to come up with this: http://wiki.jboss.org/wiki/Wiki.jsp?page=PropertiesService View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036663#4036663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=pos

[jboss-user] [EJB/JBoss] - Re: Accessing properties from jboss

2007-04-12 Thread veeseekay
could you please explain in detail(probably with an example?) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036660#4036660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036660 _

[jboss-user] [EJB/JBoss] - Re: Getting ClassCastException during remote EJB call

2007-04-12 Thread AbhayaJha
Hi, I am calling ejb from a web application which is inside second.ear and ejb related files are in .war/WEB-INF/lib directory. I also tried by changing deploy/ear-deployer.xml and conf/jboss-service.xml as callByValue value as true. But still same problem is coming. View the original post :

[jboss-user] [EJB/JBoss] - Re: Accessing properties from jboss

2007-04-12 Thread [EMAIL PROTECTED]
see server/xxx/deploy/properties-services.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036621#4036621 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036621 ___ jboss-use

[jboss-user] [EJB/JBoss] - Re: Can you change the Transaction Timeout dynamically?

2007-04-09 Thread kvbisme
Missed that Wiki page ... I had previously tried the BMT suggestion with no luck, still not 100% what I was looking for but far better than my current solution. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035724#4035724 Reply to the post : http:

[jboss-user] [EJB/JBoss] - Re: Can you change the Transaction Timeout dynamically?

2007-04-09 Thread jaikiran
Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=TransactionTimeout View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035717#4035717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035717 ___

<    4   5   6   7   8   9   10   11   12   13   >