[jboss-user] [EJB/JBoss] - Re: List all connected users

2007-10-04 Thread catania
I have same problem. If I can to list login of all users connected to a JBoss application, I can check and not allow the certain clients use the same account to login.(Ex: A use usename aaa, but If B use username aaa --- he can't login!). have some ideas ? View the original post :

[jboss-user] [EJB/JBoss] - Re: transaction problem

2007-09-29 Thread jaikiran
What transaction attribute have you specified for your addKnowledgeBase method? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4089998#4089998 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4089998

[jboss-user] [EJB/JBoss] - Re: Noob query problem :/ simple select clause.

2007-09-28 Thread Yacho
Yes - i figured that out after posting on Seam's forum. One more thing. Basically Seam always get's me chainded exceptions and its hard to know what's what. - is there a way to print only part of a stack trace wich is directly responsible for exception (all i know i can use is getMesage and

[jboss-user] [EJB/JBoss] - Re: PersistentObjectException - Help me !!!

2007-09-28 Thread waynebaylor
if an entity with that id already exists in the DB then you need to use merge() instead of persist(). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4089913#4089913 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4089913

[jboss-user] [EJB/JBoss] - Re: Noob query problem :/ simple select clause.

2007-09-27 Thread [EMAIL PROTECTED]
http://java.sun.com/javaee/5/docs/api/ As per the API specification, the getSingleResult() method should throw a NoResultException if an entity cannot be found. You are simply seeing the original exception chained. To execute without throwing an exception you will need to use the anonymous

[jboss-user] [EJB/JBoss] - Re: we're going to insert CLOB data in oracle db, using jbos

2007-09-25 Thread patwary_shiva
Hi did you get a solution!!!. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4088583#4088583 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4088583 ___ jboss-user mailing list

[jboss-user] [EJB/JBoss] - Re: we're going to insert CLOB data in oracle db, using jbos

2007-09-25 Thread patwary_shiva
HI we are getting The following first source has a NoClassDefFoundError of jboss/resource/adapter/jdbc/WrappedConnection when we call from plain java class.Did you find any solution??? regards sh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4088586#4088586

[jboss-user] [EJB/JBoss] - Re: Unable to get remote interface for bean[jboss 4.2.1]

2007-09-21 Thread b_rv21
Hi, I have got over this problem(but stuck with another) I copied the Jboss remoting jars(Jboss remoting 2.2.0GA) When I try getting remote interface by .create, ejbCreate is getting called. There is no EOFException on the server side Instead, I am getting this error in server.log 2007-09-21

[jboss-user] [EJB/JBoss] - Re: Unable to get remote interface for bean[jboss 4.2.1]

2007-09-21 Thread b_rv21
I was able to solve this problem My ejb was compiled on jdk1.4 and put in jboss4.2.1 which uses jdk1.5 My client code was compiled on jdk1.4 What I did was... 1) compiled ejb classes on jdk1.5 and deployed into jboss 2) compiled client code on jdk1.5 and invoked the bean IT WORKED!! View the

[jboss-user] [EJB/JBoss] - Re: Clients and JBOSS

2007-09-21 Thread RedHatJboss
Hai, Before running your application set classpath or include in classpath following jar file - %JBOSS_HOME%\client\jbossall-client.jar this jar file consist - org.jboss.naming.Ht­tpNamingContextFacto­ry and org.jnp.interface­s.NamingContextFacto­ry classes. I'm sure your application

[jboss-user] [EJB/JBoss] - Re: Jar is not deployed onJBOSS

2007-09-17 Thread jaikiran
xps2nini wrote : when i run this command jar -tf EILMT.jar.I got following output | | | meta-inf/ | meta-inf/ejb-jar.xml | meta-inf/jboss.xml | The META-INF folder is case sensitive. Change your ant script which generates the jar file, to create the META-INF folder with upper

[jboss-user] [EJB/JBoss] - Re: Jar is not deployed onJBOSS

2007-09-17 Thread xps2nini
Thankx JAIKIRAN.I got it.Thanx a lot View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4084902#4084902 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084902 ___ jboss-user mailing

[jboss-user] [EJB/JBoss] - Re: Calling a remote ejb interface in app1.ear from a servle

2007-09-17 Thread andber
yogendra_g wrote : Hi, | We also have two ear's and both have session beans. | A session bean from one ear gives remote call to the session bean in second ear. And its working fine. | I have set the isolation true. And yes this is set for allowing the use of multiple versions of the third

[jboss-user] [EJB/JBoss] - Re: Jar is not deployed onJBOSS

2007-09-16 Thread xps2nini
It is ejb jar created by ant . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4084872#4084872 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084872 ___ jboss-user mailing list

[jboss-user] [EJB/JBoss] - Re: Jar is not deployed onJBOSS

2007-09-16 Thread vashistvishal
Put yr stack trace from app server and ant to see whats going on without its hard to help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4084875#4084875 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084875

[jboss-user] [EJB/JBoss] - Re: Jar is not deployed onJBOSS

2007-09-16 Thread jaikiran
xps2nini wrote : It is ejb jar created by ant . Can you post the output of the following command: - From the command prompt, go to %JBOSS_HOME%/server//deploy - Run the following command: jar -tf myejbjarfile.jar Replace myejbjarfile with the name of your ejb jar file. This will show us the

[jboss-user] [EJB/JBoss] - Re: Jar is not deployed onJBOSS

2007-09-16 Thread xps2nini
when i run this command jar -tf EILMT.jar.I got following output nidhi:/root/jboss-3.2.5/server/default/deploy # jar -tf EILMT.jar META-INF/ META-INF/MANIFEST.MF alt/ alt/ALTBean.class alt/ALTHomeLocal.class alt/ALTHomeRemote.class alt/ALTLocal.class alt/ALTRemote.class alt/ALT_Debug.class

[jboss-user] [EJB/JBoss] - Re: Jar is not deployed onJBOSS

2007-09-15 Thread jaikiran
Is it an ejb jar or is it just another jar containing some java/utility classes? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4084721#4084721 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084721

[jboss-user] [EJB/JBoss] - Re: create and finder in one transaction

2007-09-14 Thread [EMAIL PROTECTED]
I located the problem. Probably, it is a JBoss Bug, but I was able to bypass it in our code. The problem was the following. Within one transaction we created a new entity in the OrderService: ... | orderEntity = EntityHomeHelper.getOrderHome().create(); // it is important that the

[jboss-user] [EJB/JBoss] - Re: Deploy with two beans have same names inside two package

2007-09-13 Thread waynebaylor
right, which is completely normal. you can't map a JNDI name to two classes. since JBoss does not use the package name as part of the default JNDI name, you will need to override it so your two classes get different JNDI names. View the original post :

[jboss-user] [EJB/JBoss] - Re: How to retrieve remote IP address of EJB clients?

2007-09-13 Thread kevinpauli
Thanks, but what you've done seems to be for http-based communication (i.e. web services). What I'm needing is to log the IP's of remote clients communicating via remote session bean proxies over RMI. View the original post :

[jboss-user] [EJB/JBoss] - Re: How to retrieve remote IP address of EJB clients?

2007-09-12 Thread [EMAIL PROTECTED]
I figured this one out: | @In | private FacesContext facesContext; | | ... | | public String someButton() { | Object reqOb = facesContext.getExternalContext().getRequest(); | if (reqOb instanceof HttpServletRequest) { | HttpServletRequest req =

[jboss-user] [EJB/JBoss] - Re: Deploy with two beans have same names inside two package

2007-09-11 Thread waynebaylor
what is the fully qualified class name of BeanA in both clients? i think the lookup is returning one version and you are casting it to the other version. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083071#4083071 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: How to retrieve remote IP address of EJB clients?

2007-09-11 Thread kevinpauli
Bump View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083139#4083139 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083139 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [EJB/JBoss] - Re: How to retrieve remote IP address of EJB clients?

2007-09-11 Thread [EMAIL PROTECTED]
I'd like the answer to this one as well... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083176#4083176 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083176 ___ jboss-user

[jboss-user] [EJB/JBoss] - Re: Deploy with two beans have same names inside two package

2007-09-11 Thread changemylife
Hi ! The first client: my.com.BeanA The second client: john.com.BeanA I were tried: InitialContext ctx = new InitialContext(); | my.com.BeanA bean = (my.com.BeanA)ctx.lookup(BeanABean/remote); | bean.hello(); --- Ok! but: InitialContext ctx1 = new InitialContext(); |

[jboss-user] [EJB/JBoss] - Re: Query over two tables causes 'Transaction is not active.

2007-09-10 Thread pete.b.
Maybe some more snippets of my code should be beneficial. The DB schema: /* category */ | create table category | ( | categoryID int not null primary key auto_increment, | image varchar(50) | ) type = innodb; | | /* categorytree */ | create table categorytree | ( |

[jboss-user] [EJB/JBoss] - Re: Issues with EJB 3.0/ JBoss 4.0.5

2007-09-10 Thread jaikiran
Lets continue the discussion in your other post at http://www.jboss.com/index.html?module=bbop=viewtopict=118240 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082611#4082611 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: Deploy with two beans have same names inside two package

2007-09-10 Thread waynebaylor
if they have different package names, then they are considered different classes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082609#4082609 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082609

[jboss-user] [EJB/JBoss] - Re: Deploy with two beans have same names inside two package

2007-09-10 Thread changemylife
Hi! Assume that both of clients call lookup method: BeanA bean = (BeanA)context.lookup(BeanABean/remote); | bean.add(1,2); The first of client is ok, but the second of client is fail and received some errors: .anonymous wrote : Exception in thread main java.lang.ClassCastException:

[jboss-user] [EJB/JBoss] - Re: SSL EJB 3.0 invocation

2007-09-07 Thread paul_da_programmer
Answering my own post...does that count as talking to yourself ?!? Ok, I've made a bit of progress with this. This post was of immense help: http://www.jboss.org/index.html?module=bbop=viewtopict=74475 By incorporating the suggested changes into deploy\ejb.deployer\META-INF\jboss-service.xml,

[jboss-user] [EJB/JBoss] - Re: error accessing session stateless ejb in separate server

2007-09-05 Thread jaikiran
Do you have the it.aztech.signer.AZTECH_SignerRemoteHome class on the second JBoss from where you are looking up the bean? In general, you should have the remote/local and remote-home/local-home interfaces in the classpath of the client which is invoking the EJBs (in this case, the client is

[jboss-user] [EJB/JBoss] - Re: error accessing session stateless ejb in separate server

2007-09-05 Thread jboss251268
You got it! I've moved the interface of the AZTECH_SignerBean in a new project and putted this in each .ear and now all works fine! Great! Thank you so much View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081334#4081334 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: problem connecting to EJB3

2007-09-04 Thread alexsbe
I found someone how have exaclty the same problem. here is the link : http://jira.jboss.com/jira/browse/EJBTHREE-823 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080727#4080727 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: ClassCastException in JDBCMySQLCreateCommand

2007-09-01 Thread boniek
Same stuff here. JBossAS 4.2.1 JBM 1.4.0.CR2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080210#4080210 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080210 ___ jboss-user

[jboss-user] [EJB/JBoss] - Re: Thread.getContextClassLoader() and scoped classloading

2007-08-31 Thread be326814
Found my own answer. I did use local ejb-refs, when I switched to remote it worked ok. Man, somethimes the cause can be so far from the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079947#4079947 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: how to exclude a caller in interceptor

2007-08-31 Thread [EMAIL PROTECTED]
waynebaylor wrote : you could try something like: | | | | typedef | | name=intercept_this | | expr=class(my.package.*)/ | | | | typedef | | name=dont_intercept | | expr=class([EMAIL PROTECTED])/ | | | | pointcut

[jboss-user] [EJB/JBoss] - Re: how to exclude a caller in interceptor

2007-08-31 Thread waynebaylor
here's a link for docs: http://docs.jboss.org/aop/1.3/aspect-framework/ here's a link for the xml descriptor (it's under Reference Guide in the above link): http://docs.jboss.org/aop/1.3/aspect-framework/reference/en/html_single/index.html#xml View the original post :

[jboss-user] [EJB/JBoss] - Re: how to exclude a caller in interceptor

2007-08-30 Thread waynebaylor
you could try something like: | typedef | name=intercept_this | expr=class(my.package.*)/ | | typedef | name=dont_intercept | expr=class([EMAIL PROTECTED])/ | | pointcut name=myPointcut | expr=execution(public * $typedef{intercept_this}-*(..)) |

[jboss-user] [EJB/JBoss] - Re: instance variables and a SLSB returning to JBoss instanc

2007-08-30 Thread waynebaylor
if the slsb is added back to the pool its fields are probably unchanged. the spec just says that you shouldn't depend on a slsb's fields being consistent over multiple client calls (since the client is not guaranteed to have the same slsb execute each request). if you need to store a value

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

2007-08-29 Thread edwiles
Thanks for the replies. For the scheduler we ended up using a Service POJO bean which is always a singleton. Then we used our existing web service bean simply as an interface into that. Seems to work! See http://docs.jboss.org/ejb3/app-server/tutorial/service/service.html View the original

[jboss-user] [EJB/JBoss] - Re: java.lang.IllegalStateException: Underlying collection h

2007-08-28 Thread Filot
Sorry, maybe one precision: the exception is raised precisely at this instruction: | | String instName = pss.instantiateProject(test33); | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4078604#4078604 Reply to the post :

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

2007-08-28 Thread darretta
How can we get the bean to initialize when JBoss starts up? This may be a non-standard means to doing this, but we added a few servlets on our persistence layer to automatically start up and initialize timer tasks. Maybe this could solve your issue? View the original post :

[jboss-user] [EJB/JBoss] - Re: java.lang.IllegalStateException: Underlying collection h

2007-08-28 Thread waynebaylor
looks like you're modifying a collection indirectly. any idea what collection that might be? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4078961#4078961 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4078961

[jboss-user] [EJB/JBoss] - Re: createBeanClassInstanceCommand == null

2007-08-28 Thread darretta
This ended up being a corrupted database. There is no issue with EJBs or JBoss. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4078962#4078962 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4078962

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

2007-08-27 Thread mcayci
Hi, I was able to fix the issue. It turns out that I needed to access the SLSB as follows in the client: ReadCrimeReport readCrimeReport = (ReadCrimeReport)context.lookup(ReadCrimeReport/remote); Please note .../remote in the lookup. Thanks, Mustafa View the original post :

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

2007-08-25 Thread jaikiran
edwiles wrote : | 1. How can we get the bean to initialize when JBoss starts up? As far as i know, there isnt a direct way of doing this. Have you checked this section in the JBoss guide which mentions about scheduling tasks using JMX

[jboss-user] [EJB/JBoss] - Re: Flushing CMP 2.0 EntityBean updates before end of transa

2007-08-25 Thread srikap2007
Hi Ram, Entity Bean is in memory, so you are seeing your updates. And JDBC is reading from database so you are not seeing your updates. EJBFind is returning reference to the bean in memory. Anyway, if you want to see the results from session bean, then you should force entity bean

[jboss-user] [EJB/JBoss] - Re: Configuring ejb with jboss 4.0.3 with oracle10g

2007-08-25 Thread srikap2007
Your ejb-jar.xml is not right. With in enterprise-beans tag swap the values for the tags res-ref-name and jndi-name View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4078031#4078031 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: Basic EJB3 with JBOSS

2007-08-24 Thread gasper_k
I think you need to add jnp-client.jar to class path when you run the client. The file is located in jboss-home/client. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4077721#4077721 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: Basic EJB3 with JBOSS

2007-08-24 Thread ghosh007
Thanks! That worked. It needs actually a bunch of other jars too . .http://javacio.us/ came to the rescue. If you have a google account, you can join this service, which given a class name, will tell you what .jar it belongs to. Anyway, thanks again. Everything is working now View the

[jboss-user] [EJB/JBoss] - Re: JBoss 3.2.6 BMP Caching Question

2007-08-21 Thread Nisarg
Hi Adryden, We are having a similar issue. In our case EntityBean is a readonly entityBean, so we create an entitybean, from the client, which get persisted in our database through an external service. But does not happen immediately. The problem is we depend on entitybean being in cache, and

[jboss-user] [EJB/JBoss] - Re: which class is used ? Classloader ?

2007-08-19 Thread marcelvanvelzen
Thanks for the links, I have read them, but still have a question. The ejb3 file I deploy have a .ejb3 extension and not .ear as stated in the references. Is it still possible to have class isolation for .ejb3 files ? View the original post :

[jboss-user] [EJB/JBoss] - Re: which class is used ? Classloader ?

2007-08-18 Thread jaikiran
See if these are of any help: 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=bbop=viewtopicp=4075494#4075494 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: which class is used ? Classloader ?

2007-08-17 Thread marcelvanvelzen
Can it have something to do with the parameter java2ParentDelegation ? To state my problem again, in each deployed .ejb3 file some normal classes have the same name. Each .ejb3 is generated specific and deployed to some criteria of a customer. Future insight might be the cause of changing the

[jboss-user] [EJB/JBoss] - Re: Dynamically add persistence units

2007-08-16 Thread waynebaylor
when you say dynamically add, do you mean that the database drivers, etc. already exist on the end-user's system or are those dynamically added also? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074842#4074842 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: Dynamically add persistence units

2007-08-16 Thread calidoggg
waynebaylor wrote : when you say dynamically add, do you mean that the database drivers, etc. already exist on the end-user's system or are those dynamically added also? Hi Wayne, The database drivers are dynamically added also by the end-user. Thanks. View the original post :

[jboss-user] [EJB/JBoss] - Re: Dynamically add persistence units

2007-08-16 Thread waynebaylor
I imagine you could auto-generate the xml datasource based on the provided info and deploy it. But you might have to restart JBoss so that it could load the JDBC driver jar(which you would noramally put in .../server/default/lib). There is an off chance you could hot deploy the driver jar in

[jboss-user] [EJB/JBoss] - Re: Dynamically add persistence units

2007-08-16 Thread calidoggg
waynebaylor wrote : I imagine you could auto-generate the xml datasource based on the provided info and deploy it. But you might have to restart JBoss so that it could load the JDBC driver jar(which you would noramally put in .../server/default/lib). There is an off chance you could hot deploy

[jboss-user] [EJB/JBoss] - Re: Dynamically add persistence units

2007-08-16 Thread waynebaylor
if you wanted to modify a persistence.xml which has already been deployed you would have to undeploy it, unpack the ear/jar, modify the file, re-jar it, and deploy it. if, however, you just want to point the datasource name in the persistence.xml to another datasource you could try undeploying

[jboss-user] [EJB/JBoss] - Re: Dynamically add persistence units

2007-08-16 Thread calidoggg
Yeah I thought of doing the changing the DB inside of one datasource, but then inside of my application itself, the user has the ability to choose which DB they want to use from a current list of DBs, and so that doesn't work because we just changed the datasource to be pointing to the

[jboss-user] [EJB/JBoss] - Re: Dynamically add persistence units

2007-08-16 Thread waynebaylor
do you only support a given selection of DBs? if so, you could try specifying multiple datasources in your persistence.xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074954#4074954 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: Dynamically add persistence units

2007-08-16 Thread calidoggg
That's the thing. The selection of DBs can always change, based on the dynamic nature of the user creating a new one (which is in a separate application all together), so I would have to keep updating the persistence.xml with new units everytime I create a new datasource. View the original

[jboss-user] [EJB/JBoss] - Re: Remoting over https; where to put NoThrowOnError=true

2007-08-15 Thread itsme
hi all, we are having the same problem. Possibly the configuration of the servlet connectors should be the rigth place to configure that. Is there anybody else, who could give us a hint to solve this issue. /sandor/ View the original post :

[jboss-user] [EJB/JBoss] - Re: Dynamic addition of persistence units

2007-08-15 Thread calidoggg
??? ?? ??My application is set up on a system where the user can dynamically add or remove databases and

[jboss-user] [EJB/JBoss] - Re: How to trace remote calls client-side

2007-08-14 Thread waynebaylor
I'm not 100% sure about this, but you might be able to add an interceptor to the remote interfaces and do logging there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074016#4074016 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: How to trace remote calls client-side

2007-08-14 Thread alessandro_rizzi
waynebaylor wrote : I'm not 100% sure about this, but you might be able to add an interceptor to the remote interfaces and do logging there. Thanks. I knew this was possible ... but I'm far away from knowing how. Anyone has do something similar, or has any suggestion? I know only that I shoud

[jboss-user] [EJB/JBoss] - Re: How to trace remote calls client-side

2007-08-14 Thread alessandro_rizzi
Found it ... it was quite easy. If anyone needs, I'll explain: The file to modify is standardjboss.xml under the conf folder. Find the lines like this: interceptor call-by-value=falseorg.jboss.invocation.InvokerInterceptor and change the class with some class made by you which extends the

[jboss-user] [EJB/JBoss] - Re: Roll back not happening

2007-08-13 Thread ALRubinger
Couple of things to check: * Are you using a transaction-aware table type in MySQL? For instance, MyISAM is not, InnoDB is. * Is MySQL set to auto-commit? Must not be. Hope one of these might help you out. S, ALR View the original post :

[jboss-user] [EJB/JBoss] - Re: Using an EJB from an remote app client does not work

2007-08-13 Thread ALRubinger
Looks like the client is obtaining the Proxy from the remote server, but the Proxy is attempting to invoke upon localhost (127.0.0.1). ...Proxy Obtained: anonymous wrote : at $Proxy0.getUser(Unknown Source) ...Invoking on localhost: anonymous wrote : Can not get connection to server. Problem

[jboss-user] [EJB/JBoss] - Re: UserTransaction JNDI name

2007-08-10 Thread waynebaylor
check the global namesapce, that's where i see it listed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073035#4073035 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073035 ___

[jboss-user] [EJB/JBoss] - Re: org.jnp.interfaces.NamingContext throwing java.lang.NoSu

2007-08-09 Thread titone95
I've updated log4j (1.2.14) and it works. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072604#4072604 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4072604 ___ jboss-user

[jboss-user] [EJB/JBoss] - Re: ejbTimeout called when Timer.cancel is called

2007-08-03 Thread icruz
Hello, I have the same problem with JBoss 4.2.1GA. I have a @Service EJB, in start() method I create a EJB timer, and it works. The first problem is when I shutdown jboss, in the stop() method of the Service EJB I call the method timer.cancel(), and it throws an exception with the message

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

2007-08-02 Thread veeseekay
sorry , My bad! my xml configuration in jboss-service.xml was incorrect. false xx:service=yy mySchedulableMethod() MM/dd/ kk:mm:ss 08/01/2007 23:59:00 1 1 I had used attribute SchedulableClass instead of SchedulableBean. silly

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

2007-08-02 Thread veeseekay
oops, it doesnt dissplay the xml snippet properly...here goes again mbean code=org.jboss.varia.scheduler.Scheduler name=jboss:service=MyClassScheduler attribute name=StartAtStartupfalse/attribute attribute name=SchedulableMBeanxx:service=yy/attribute attribute

[jboss-user] [EJB/JBoss] - Re: Using an EJB from an remote app client does not work

2007-08-02 Thread Hauptlorenz
Hi, I found out, that the JBOSS Server must be started with the -b 0.0.0.0 param to enable the server on all interfaces. I get now these Exceptions: C:\Dokumente und Einstellungen\haupt_f\Desktop\dist\buildjava -jar sImplex-app- client.jar Exception in thread AWT-EventQueue-0

[jboss-user] [EJB/JBoss] - Re: sessionContext and getInvokedBusinessInterface

2007-08-02 Thread buggsbunny101
No one in the JBOSS team can answer me? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070129#4070129 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4070129 ___ jboss-user mailing

[jboss-user] [EJB/JBoss] - Re: Roll back not happening

2007-08-02 Thread vphagura
Sorry forgot to mention that, I'm running JBoss 4.0.5 and JDK5 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070282#4070282 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4070282

[jboss-user] [EJB/JBoss] - Re: jbos-4.0.5.GA error

2007-08-01 Thread jaikiran
See if this helps: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069498#4069498 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069498

[jboss-user] [EJB/JBoss] - Re: How to completely undeploy an EJB?

2007-08-01 Thread Dalzhim
I am looking for a solution for the same exact problem. It would be very appreciated if anyone could point us to some documentation on the subject or provide any insightful information. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069699#4069699 Reply to

[jboss-user] [EJB/JBoss] - Re: EAR does not correctly deploy EJB3 MDB

2007-07-30 Thread tnine
Just for a follow up, it does work with my 2.0 descriptions. Am I missing something with my 3.0 annotations? ejb-jar.xml | ?xml version=1.0 encoding=UTF-8? | !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN | http://java.sun.com/dtd/ejb-jar_2_0.dtd;

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

2007-07-27 Thread syedtaj
Unknown Host exception is the problem. You have to make an entry in the IP host table Depending upon your platform Solaris:- add an entry in the /etc/hosts file # Internet host table | # | 127.0.0.1 localhost | ipaddress chambers since chambers is the unknown host. Windows:-

[jboss-user] [EJB/JBoss] - Re: HELP: Logger incompatatible version for client with 4.2.

2007-07-26 Thread [EMAIL PROTECTED]
You are using an older version of log4j on the client side. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067714#4067714 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067714 ___

[jboss-user] [EJB/JBoss] - Re: org.hibernate.LazyInitializationException

2007-07-26 Thread waynebaylor
here's an older link that contains some good info: http://www.theserverside.com/discussions/thread.tss?thread_id=11031 i think the suggestion of using Message Driven Beans is a good one. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067938#4067938 Reply to

[jboss-user] [EJB/JBoss] - Re: Fail to lookup entity bean inside a stateless session be

2007-07-26 Thread waynebaylor
what's the code in the servlet that does the lookup for the first session bean? and is the NamingException from StaffUtil or from the servlet? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067937#4067937 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: how to destroy connection to jboss app server

2007-07-26 Thread hquang
Sorry, i want to re-post my question: hi, i am getting java.lang.OutOfMemoryError: unable to create new native thread in server.log, these are some causes that I can think of, pls give your comment and advise how to resolve this problem: 1. The java.lang.OutOfMemoryError is caused by excessive

[jboss-user] [EJB/JBoss] - Re: org.jnp.interfaces.NamingContext throwing java.lang.NoSu

2007-07-25 Thread [EMAIL PROTECTED]
Have you somehow mixed libraries from a previous JBoss or EJB3 version? What's your exact usecase? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067315#4067315 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067315

[jboss-user] [EJB/JBoss] - Re: Fail to lookup entity bean inside a stateless session be

2007-07-25 Thread waynebaylor
what's the lookup code look like? you should be able to use: @EJB | MyBeanLocal bean; | to inject the slsb. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067398#4067398 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: org.hibernate.LazyInitializationException

2007-07-25 Thread waynebaylor
if you're running within an application server, you shouldn't be creating your own threads. the AS performs thread management for you. your exception is probably because you've started a new thread but haven't properly associated a session with it. View the original post :

[jboss-user] [EJB/JBoss] - Re: org.jnp.interfaces.NamingContext throwing java.lang.NoSu

2007-07-25 Thread tonylmai
I am upgrading from JBoss 4.0.5GA to 4.2.1.GA. I am also using Seam 1.2.1GA. The server came up fine. It's the client that I am trying to bring up that threw this exception. My client references all the jar files reside in the jboss-4.2.1.GA\client directory. Perhaps these jars conflict with

[jboss-user] [EJB/JBoss] - Re: org.jnp.interfaces.NamingContext throwing java.lang.NoSu

2007-07-25 Thread tonylmai
I still run into the same exception when my client referenced only jbossall-client.jar. Help please. Thanks -tony View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067507#4067507 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: org.jnp.interfaces.NamingContext throwing java.lang.NoSu

2007-07-25 Thread tonylmai
I think someone else also had this problem. http://www.jboss.com/index.html?module=bbop=viewtopicp=4049229#4049229 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067512#4067512 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: HELP: Logger incompatatible version for client with 4.2.

2007-07-25 Thread tonylmai
BTW, the exception is as followed: anonymous wrote : java.lang.NoSuchFieldError: TRACE And the stacktrace where the exception occurred: anonymous wrote : Log4jLoggerPlugin.isTraceEnabled() line: 85 | Logger.isTraceEnabled() line: 122 | NamingContext.lookup(Name) line: 622 |

[jboss-user] [EJB/JBoss] - Re: org.hibernate.LazyInitializationException

2007-07-25 Thread veeseekay
hmmm...i am surprised to knw that I am not supposed to create my own threads within the AS... My situation is that I have to perform some job over the ntw and it cannot be done serially, i need multi threading to speed up the job. View the original post :

[jboss-user] [EJB/JBoss] - Re: Fail to lookup entity bean inside a stateless session be

2007-07-25 Thread calsonli
Thanks a lot for your reply, Waynebaylor. My lookup code is as follows, which is generated from XDoclet. | /** | * Utility class for Staff. | * @xdoclet-generated at ${TODAY} | * @copyright The XDoclet Team | * @author XDoclet | * @version ${version} | */ | public class

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

2007-07-24 Thread waynebaylor
looks like you don't have write permission on the boot.log file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067002#4067002 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067002

[jboss-user] [EJB/JBoss] - Re: JUnit exception thrown when doing a context.lookup

2007-07-24 Thread tonylmai
I traced it down to a NamingContext within JBoss using the wrong Logger. I am posting a new posting for this question. Thanks -tony View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067285#4067285 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: trying to access a webservice via SOAP

2007-07-23 Thread [EMAIL PROTECTED]
You need to use the web services user forums. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=406#406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=406 ___ jboss-user

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

2007-07-19 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=bbop=viewtopicp=4065649#4065649 Reply to the post :

[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=bbop=viewtopicp=4065429#4065429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065429 ___ jboss-user mailing

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