[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi
The entry you found in the jmx-console was not for the EJB, but rather for the mbean that was automatically created for the EJB. To look at the JNDI namespace, in the jmx-console, click on the service=JNDIView entry under the jboss namespace, then click on the Invoke button under the list() operation. According to the console output, you should use the name "SimpleSession" to look up the EJB. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956774#3956774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956774 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Interceptors not fired on methods called from within bea
"PeterJ" wrote : Interceptors only work if you call the method via a bean reference (i.e., one you got from JNDI). By calling the method via a bean reference, the server has a chance to determine that an interceptor exists and can deflect the method call to the interceptor. But, within the bean, if you call another method dicrectly, that all gets compiled into the class file and the server does not have any chance to intercept the method call. Interesting. I was under the impression that is was implemented via byte code instrumentation by the underlying provider in the classloader, in the case of JBossAS, jboss-aop. Thus, there should be no real technical restrictions on when the method can be intercepted. The spec may have additional restrictions though. Is this bean reference restriction stuff mentioned in the spec? I didn't see anything like this under the Interceptors section. "PeterJ" wrote : To get the behavior you want, you need to investigate AOP, most likely AspectJ. (The comments above are based on my suppositions on how this feature works, not on knowledge of the actual implementation, so I could be wrong.) Thanks for the reply. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956769#3956769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956769 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi
yes and the problem comes from application.xml fail it contains : http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"; version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee";> SimpleSessionBean SimpleSessionBean.jar what i must put in the ear file for EJB 3.0 EAR. ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956764#3956764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956764 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi
yep and the problem comes from application.xml.. witch JDeveloper is generate http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"; version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee";> SimpleSessionBean SimpleSessionBean.jar what must be contained in the ear fail with jar fail ? for EJB 3.0 ear. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956761#3956761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956761 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi
jar tf ear fail META-INF/application.xml SimpleSessionBean.jar jar tf jar fail beans/SimpleSession.class beans/SimpleSessionBean.class When i deploy i see : 23:28:12,296 INFO [EARDeployer] Undeploying J2EE application, destroy step: fil e:/G:/jboss-4.0.4.GA/server/default/deploy/SimpleSessionBean.ear 23:28:12,296 INFO [EARDeployer] Undeployed J2EE application: file:/G:/jboss-4.0 .4.GA/server/default/deploy/SimpleSessionBean.ear 23:28:12,296 INFO [EARDeployer] Init J2EE application: file:/G:/jboss-4.0.4.GA/ server/default/deploy/SimpleSessionBean.ear 23:28:12,375 INFO [Ejb3Deployment] EJB3 deployment time took: 16 23:28:12,390 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=Simpl eSessionBean.ear,jar=SimpleSessionBean.jar,name=SimpleSession,service=EJB3 with dependencies: 23:28:12,406 INFO [EJBContainer] STARTED EJB: beans.SimpleSessionBean ejbName: SimpleSession 23:28:12,421 INFO [EJB3Deployer] Deployed: file:/G:/jboss-4.0.4.GA/server/defau lt/tmp/deploy/tmp25139SimpleSessionBean.ear-contents/SimpleSessionBean.jar 23:28:12,421 INFO [EARDeployer] Started J2EE application: file:/G:/jboss-4.0.4. GA/server/default/deploy/SimpleSessionBean.ear lol SOMETHINK STRANGE in JMX console i see SimpleSessionBean but in j2ee apps : jboss.j2ee ear=SimpleSessionBean.ear,jar=SimpleSessionBean.jar,name=SimpleSession,service=EJB3 module=SimpleSessionBean.jar,service=EJB3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956754#3956754 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956754 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi
Deploying an ear file is fine, that is how I usually deploy my ejbs. What are the contents of your ear file? Run "jar tf ear-file-name" and post the results. If the ear file contains a jar file (or a war file), repeat the "jar tf" for those files (you will have to unpack the ear first). You can see what EJBs are deployed by looking at the console output., You should see something like this: 13:13:06,866 INFO [Ejb3Deployment] EJB3 deployment time took: 31 | 13:13:06,882 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=calc2-ejb-1.0.jar,name=StatefulCalculator,service=EJB3 with dependencies: | 13:13:06,913 INFO [EJBContainer] STARTED EJB: peter.ejb3.calc2.StatefulCalculator ejbName: StatefulCalculator | 13:13:06,960 INFO [EJB3Deployer] Deployed: file:/D:/apps/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/default/deploy/calc2-ejb-1.0.jar | Using jmx-console, and using JNDIView mbean to look at the global namespace, I see: +- StatefulCalculator (class: org.jnp.interfaces.NamingContext) | | +- remote (class: java.lang.Object) | | +- remoteStatefulProxyFactory (proxy: $Proxy71 implements interface org.jboss.ejb3.ProxyFactory) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956744#3956744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956744 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi
I delpoy EAR file with EJB is there a chance JBOSS to expect (need) JAR instead of EAR ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956734#3956734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956734 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi
the code is the same : public static void main(String[] args) { InitialContext ctx; try { ctx = new InitialContext(); ctx.addToEnvironment("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); ctx.addToEnvironment("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces"); ctx.addToEnvironment(Context.PROVIDER_URL, "jnp://localhost:1099"); SimpleSession simpleSession = (SimpleSession)ctx.lookup(SimpleSession.class.getName()); System.out.println(simpleSession.sayHello("EJB3")); } catch (NamingException e) { e.printStackTrace(); } stack : javax.naming.NameNotFoundException: beans.SimpleSession not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:296) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja when i try java:comp/env/beans/SimpleSession for name not SimpleSession.class.getName() i get javax.naming.NameNotFoundException: comp not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:267) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956732#3956732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956732 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi
i have included all the jboss\client jars to my classpath becouse if i dont include them at that line : ctx.addToEnvironment("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces"); it throws error cant find org.jboss.naming .. .etc. btw i have installed JBoss AGAIN 4.0.4- PATCH 1. now my web consoile dont work but when i deploy the same EJB and run the SAME client i get : javax.naming.NameNotFoundException: beans.SimpleSession not bound witch is step forward but i dont know why the EJB is not delpoyed how can i check what EJBs are deployed and what not ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956729#3956729 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956729 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Interceptors not fired on methods called from within bea
Interceptors only work if you call the method via a bean reference (i.e., one you got from JNDI). By calling the method via a bean reference, the server has a chance to determine that an interceptor exists and can deflect the method call to the interceptor. But, within the bean, if you call another method dicrectly, that all gets compiled into the class file and the server does not have any chance to intercept the method call. To get the behavior you want, you need to investigate AOP, most likely AspectJ. (The comments above are based on my suppositions on how this feature works, not on knowledge of the actual implementation, so I could be wrong.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956714#3956714 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956714 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi
Looking at the original post again, I see that you have a standalone client app from which you are attempting to look up the EJB. When you run that client app, are you providing the necessary jar files in the classpath? I thought I had a script file that ran an EJB3 client, but I cannot seem to find it (it's probably at home on my laptop). As a guess, include jbossall-client.jar, jboss-ejb3-client.jar and jboss-ejb3x.jar, all from the client directory, in your client's classpath. Also, look at the EJB3Trail: http://trailblazer.demo.jboss.com/EJB3Trail/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956710#3956710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956710 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Interceptors not fired on methods called from within bea
Ok, I looked at the spec again, and it says it intercepts *business* methods (which are public, among other things I think). However, if I make the internal methods public, it still does not intercept them when they are called internally. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956709#3956709 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956709 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi
another strange problem when i deploy EJB3 with ejb3 enabled ( i mean installed jbos from installer.jar and check the EJB3 support ) . So.. when i open web-console i and go to ear of the EJB and click on it nothink happened .. i cant see the EJB name like when it is EJB 2.1 i cant see how match instances are created and etc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956703#3956703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956703 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi
Windows XP SP2. No Firewall its off. JBoss 4.0.4 and 4.0.3 result is the same ejb3 enabled when i install FULL (ALL) installation of JBOss 4.0.4 EJB 2.1 works fine EJB 3.0 dont deploy i think that it search for descriptors then and the error then is no bound "EJbName" . But with ejb3 enable and EJB the problem is this i test it on 2 pc's result is the same am i wrong somewhere ? How can i change this port ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956701#3956701 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956701 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: SocketException with an MDPOJO
I put more research into it - it seems that this one is not deadly. I can send 1000 messages, close the ProducerManager, get the Exception and then can just send the next 1000 messages (with a new ProducerManager). If it's true, that the Exception means that the client is not reading messages from the server, then my DLQ will not be happy about it. So it's possibly more than just a cosmetic problem ... Malte View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956637#3956637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956637 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: transactions and distributed transactions in ejb3
remove @TransactionManagement(value = TransactionManagementType.BEAN) in most case you don't want to handle tx management yourself View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956549#3956549 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956549 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Relationships destroyed at ManyToMany merge on owning si
you don't give enough information. But hibernate does not destroy relationships :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956548#3956548 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956548 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Javassist throws SecurityException on new 4.0.4GA
change the java command line and add -Dhibernate.bytecode.provider cglib View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956551#3956551 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956551 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi
Did you, by any chance, change the JNDI port? What operating system are you running on? Are you running a firewall and have your configured it properly? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956606#3956606 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956606 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: java.lang.ClassNotFoundException: No ClassLoadres found
Please post the contents of your ejb jar file by entering this command: jar tf jar-file-name My guess is that the class file is not in the correct location. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956604#3956604 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956604 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: TrialBlazer is not working!
How did you install JBoss? To use EJB3, you must either use the installer jar file, and select EJB3 from the installation options, or download the source package (tar.gz file) and compile it with a 5.0 JVM (it builds both the standrad distribution and the EJB3 distribution). The EJB3 components are not part of the binary zip file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956601#3956601 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956601 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Javassist throws SecurityException on new 4.0.4GA
thanks for the reply i found the same solution in the source of the Environment class where it stated that it has this parameter and accept the value "javassist" and "cglib". Couldn't find this in any documentation though.. It solved my problem, so i'm happy :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956580#3956580 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956580 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Bug? Transaction timeout....
Hi Peter, No that hasn't solved it for me. Please let me know if you find a solution to this problem. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956572#3956572 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956572 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: transactions and distributed transactions in ejb3
ok thanks u're rigth it works but what can i do when i wont work with multiple database ? i think that i need to xml datasourse file (for example : oracle-xa-ds.xml and postgres-ds.xml) both of them configured corectly : oracle ds file : | | | XAOracleDS | | false oracle.jdbc.xa.client.OracleXADataSource | jdbc:oracle:thin:@192.9.200.177:1521:devnbtwo | paata | 1982226 org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter | | | Oracle9i | | | | jboss:service=TransactionManager | | | and postgres ds file: | | | PostgresDS |jdbc:postgresql://localhost:5432/Test | org.postgresql.Driver | postgres | 1982226 | select 1 | | PostgreSQL 7.2 | | | | and i want do operation wich inserts into one db and then into second db in one transaction how i can do it ? :( plz F1 :) [EMAIL PROTECTED] told me about JBossJCA but i didn't find any sample about it ... is there any simple example about distributed transactions ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956565#3956565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956565 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Relationships destroyed at ManyToMany merge on owning si
I have a user with id 1 and name "A" and a group with id 24 and name "B". They're in a relationship with an entry in the Join-table. Then i update "A" by doing | User u = new User(); | u.setId(1); | u.setName("Z"); | manager.merge(u); | and after that the entry in the join-table is gone. I can change the group like this without destroying the relationship, though. fundamental mistake on my side? :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956554#3956554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956554 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: transactions and distributed transactions in ejb3
[EMAIL PROTECTED] did u mean "JBoss Transactions API" named ArjunaTA ? i removed this code from my program | manager.getTransaction().begin(); | manager.getTransaction().commit(); | manager.getTransaction().rollback(); | but i get en error again :( error | javax.persistence.TransactionRequiredException: EntityManager must be access within a transaction | 23:19:47,281 ERROR [STDERR] at org.jboss.ejb3.entity.ManagedEntityManagerFactory.verifyInTx(ManagedEntityManagerFactory.java:149) | 23:19:47,281 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManager.persist(TransactionScopedEntityManager.java:174) | my bean looks like : | import [...] | @TransactionManagement(value = TransactionManagementType.BEAN) | @Remote(StudentFasade.class) | public @Stateless | class StudentFasadeBean implements StudentFasade { | | @PersistenceContext | private EntityManager manager; | | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) | public Long addStudent(Student stbean) | throws MagtiException { | try { | System.out.println("= Adding Student ="); | manager.persist(stbean); | return _student.getId(); | | } catch (Exception e) { | e.printStackTrace(); | return 0L; | } | } | } | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956517#3956517 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956517 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Entity Bean behaves strangely with @OneToMany
you cannot have more than one @OneToMany with EAGER fetching in a bean -> change to LAZY. in JB4.0.4 GA you will not be able to deploy that anymore (deployment error). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956494#3956494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956494 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Interceptors not fired on methods called from within bea
this is correct behavior. it IS in the spec - don't ask me exactly where. there have been posts here already related to that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956493#3956493 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956493 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Javassist throws SecurityException on new 4.0.4GA
i noticed the following in my log : 08:01:35,948 INFO [Environment] Hibernate 3.2 cr2 08:01:35,957 INFO [Environment] hibernate.properties not found 08:01:35,980 INFO [Environment] Bytecode provider name : javassist is there any way to disable javassist or to switch it back to CGLib maybe ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956484#3956484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956484 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB 3.0 RC8 Preview - FD Released
Hey guys for the problem of missing 3 client side jars.. follow this link... some one has already fixed this issue http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956392#3956392 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956394#3956394 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956394 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Timer event is always handled by a new instance?
Hi, The problem is that the Timer ID generator may generate dupplicate Timer ID's after a server crash: http://jira.jboss.com/jira/browse/JBAS-3379 Regards, Matthias View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956393#3956393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956393 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB 3.0 RC8 Preview - FD Released
Did any one solved the problem of missing all the 3 client side jars jboss-ejb3-client.jar jboss-annotations-ejb3.jar hibernate-client.jar this is the problem of most of the open source projects View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956392#3956392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956392 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: transactions and distributed transactions in ejb3
thanks ... i will try it . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956385#3956385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956385 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Embedded EJB3: NO TX DATASOURCE setup
Nope. I also tried to do it myself starting from source, but it was too difficult for my skills. I want to share my experience: my application (same .jar) can run either (1) on thick client (container embedded), or (2) distributed server (Tomcat + container embedded), or (3) company servers (Tomcat + jboss as + ejb3). Ejb3 makes it possible! I decided not to use multiple datasources (or databases) within solution 1 & 2. This is not a workaround because every table can hosted by the same database as there are not scalability or performance issues. Doing so I get also a better manageability. Where I need multiple database is within the third solution, where there will be lots of records. I'm using mysql, so myisam performance gains are visible only within the third solution. So, just think on what you really need. In every case the original question is still open. bye F View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956263#3956263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956263 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Injecting EntityManager with an interceptor
Are you sure you are interested in having the EntityManager created the first time the factory (singleton) is created? And then using that EM instance? I don't think EM is thread safe. I had the same decision to take some time ago, and I preferred to pass EM as parameter to DAO class when calling static method. Doing so, I'm sure to pass the EM private to current thread. More: I create a bunch of EM in my interceptors and I store them in threadlocal variables so to get visibility both in other interceptors and bean. Every piece of code gets what it needs and passes it to DAO. It's useful to put jboss classes on debug level in log4j conf. Doing that you could have a look at EM lifecycle. Tell me what you think. bye F View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956252#3956252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956252 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: transactions and distributed transactions in ejb3
Hi, your English is just fine! The issue is you are trying to acquire a transaction in a component that manages transactions for you. Remove the | | manager.getTransaction().begin(); | manager.getTransaction().commit(); | | and the associated rollback. For the distributed (multi DB) transaction you just need two XA datasources. Please see http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCA to learn how to set up XA datasources. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956219#3956219 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956219 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Injecting EntityManager with an interceptor
Yet again answering myself... See http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953596 But seriously, like the original poster in that thread, why must I create a separate remote endpoint interface for the interceptor to be called? It shouldn't be necessary. --Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956192#3956192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956192 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ActiveMQ Integration
http://jira.jboss.com/jira/browse/EJBTHREE-389 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956175#3956175 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956175 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Javassist throws SecurityException on new 4.0.4GA
ok, thanks for the help i post my question there View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956081#3956081 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956081 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Avoiding multiple Hibernate deploys
Sorry all, disregard this question. Apparently, my IDEA build settings were accidentally including referenced dependent modules (e.g. the entities, and some shared core EJB code) in the packaging. :/ --Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955977#3955977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955977 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Bug? Transaction timeout....
Any change if you add the @TransactionTimeout to the method instead of the class? I have experienced the same problems you describe but ended up changing the default timeout... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955944#3955944 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955944 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Embedded EJB3: NO TX DATASOURCE setup
Have you resolved this issue? I'm having the same problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955941#3955941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955941 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ClassLoader problems while deploying a EJB3
Things can be so easy - that fixed it ! many thanx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955901#3955901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955901 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ClassLoader problems while deploying a EJB3
Several problems here ... First off, you should be using the .jar extension instead of the .ejb3 extension for deploying EJB3s. We support .ejb3 but this is not the standard extension. Second, you have packaged the .ejb3 file as a web deployment (.war), not an EJB deployment. Please see any of the examples on how to package a .jar file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955896#3955896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955896 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Creating Autoincrement PK for CMP
any one there to help me ??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955847#3955847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955847 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Problem with EJB3StandaloneBootstrap.shutdown() in ALPHA
Spoke too soon... Of course ALPHA7 still has the @javax.annotation.EJB so that causes problems where i have updated to the @javax.ejb.EJB annotation. Is anyone using ALPHA8 with any success? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955846#3955846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955846 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Problem with EJB3StandaloneBootstrap.shutdown() in ALPHA
I reverted back to ALPHA7 and things are working again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955845#3955845 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955845 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Problem with EJB3StandaloneBootstrap.shutdown() in ALPHA
Upon furthur investigation it seems that this is not a problem unique to my test code. The mdb-standalone example in the emdedded-tutorials also fails to shutdown properly throwing the warning | [java] WARN 06-07 08:09:59,992 (ServiceMBeanSupport.java:stop:210) -Error in stop jboss.mq:service=StateManager | [java] javax.management.InstanceNotFoundException: jboss.system:service=ServiceController | [java] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010) | [java] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:804) | [java] at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784) | [java] at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:204) | [java] at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) | [java] at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;J)Ljava.lang.Object;(Unknown Source) | [java] at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55) | [java] at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:107) | [java] at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) | [java] at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:100) | [java] at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.uninstallAction(KernelControllerContextActions.java:604) | [java] at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.uninstall(KernelControllerContextActions.java:219) | [java] at org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(AbstractControllerContextActions.java:58) | [java] at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:236) | [java] at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:605) | [java] at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:575) | [java] at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:510) | [java] at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:194) | [java] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.undeployBean(AbstractKernelDeployer.java:367) | [java] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.undeployBeans(AbstractKernelDeployer.java:346) | [java] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.undeploy(AbstractKernelDeployer.java:149) | [java] at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.shutdown(EJB3StandaloneBootstrap.java:332) | [java] at org.jboss.tutorial.mdbstandalone.Main.main(Main.java:60) | The problem only seems to occur when trying to use jms with the embedded server. I don't see any mention of this problem on Jira. Is this a known bug? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955822#3955822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955822 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ClassLoader problems while deploying a EJB3
To make sure that it's not the missing ejb-jar.xml I added this: MsgConsumerBean MsgConsumerLocal MsgConsumerRemote de.s2i.service.tools.MsgConsumerBean Container Auto-acknowledge javax.jms.Queue queue/mdpojo It made no difference ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955802#3955802 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955802 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ClassLoader problems while deploying a EJB3
Here you are: $ jar -tf Tools.ejb3 META-INF/ META-INF/MANIFEST.MF WEB-INF/ WEB-INF/classes/ WEB-INF/classes/de/ WEB-INF/classes/de/s2i/ WEB-INF/classes/de/s2i/service/ WEB-INF/classes/de/s2i/service/tools/ WEB-INF/lib/ WEB-INF/classes/de/s2i/service/tools/MsgConsumerBean.class WEB-INF/classes/de/s2i/service/tools/MsgConsumerLocal.class WEB-INF/classes/de/s2i/service/tools/MsgConsumerRemote.class WEB-INF/classes/de/s2i/service/tools/Sender.class WEB-INF/classes/de/s2i/service/tools/Test$log.class WEB-INF/classes/de/s2i/service/tools/Test.class WEB-INF/jboss-web.xml WEB-INF/lib/activation-1.1.jar WEB-INF/lib/annotation-ejb3-3.0.jar WEB-INF/lib/aop-1.5.jar WEB-INF/lib/aspect-library-1.5.jar WEB-INF/lib/classworlds-1.1-alpha-2.jar WEB-INF/lib/ejb3-3.0.jar WEB-INF/lib/ejb3x-3.0.jar WEB-INF/lib/jboss-client-4.0.2.jar WEB-INF/lib/jboss-common-4.0.2.jar WEB-INF/lib/jboss-jmx-4.0.2.jar WEB-INF/lib/jbossmq-client-4.0.2.jar WEB-INF/lib/jnp-client-4.0.2.jar WEB-INF/lib/mail-1.4.jar WEB-INF/lib/maven-archiver-2.0.1.jar WEB-INF/lib/maven-artifact-2.0.1.jar WEB-INF/lib/maven-artifact-manager-2.0.1.jar WEB-INF/lib/maven-ear-plugin-2.1.jar WEB-INF/lib/maven-model-2.0.1.jar WEB-INF/lib/maven-plugin-api-2.0.1.jar WEB-INF/lib/maven-profile-2.0.1.jar WEB-INF/lib/maven-project-2.0.1.jar WEB-INF/lib/maven-repository-metadata-2.0.1.jar WEB-INF/lib/plexus-archiver-1.0-alpha-4.jar WEB-INF/lib/plexus-container-default-1.0-alpha-9.jar WEB-INF/lib/plexus-utils-1.0.5.jar WEB-INF/lib/wagon-provider-api-1.0-alpha-5.jar WEB-INF/lib/webdavlib-2.0.jar WEB-INF/lib/xercesImpl-2.6.2.jar WEB-INF/web.xml META-INF/maven/ META-INF/maven/de.s2i.service.tools/ META-INF/maven/de.s2i.service.tools/ToolService/ META-INF/maven/de.s2i.service.tools/ToolService/pom.xml META-INF/maven/de.s2i.service.tools/ToolService/pom.properties As you can see, there is no ejb-jar.xml - I always had the impression, that if you use annotations you can do without .xml ... is that wrong? greetings Malte View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955747#3955747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955747 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Javassist throws SecurityException on new 4.0.4GA
As of yet, I haven't got a clue. Please try a post in the Javassist user forum, maybe they can help out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955739#3955739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955739 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Oracle10g dialect
Merci beaucoup! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955715#3955715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955715 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB 3.0 Interceptors not Firing
Okay, I finally figured out a solution. Apparently, I had slightly older jboss-ejb3x.jar and jboss-ejb3.jar file versions. They referenced javax/ejb/InvocationContext. Thus, the annotations that I referenced in my compiled source were never located when the container was instead (apparently) trying to find javax/interceptors/InvocationContext. So, my interceptors never fired. The solution is easy. Make sure you have the 4.0.4-GA app server jar's listed above in your CLASSPATH for your IDE. - Saish View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955696#3955696 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955696 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: How to specify default values for attributes in service
I'm interested in this as well, but so far I haven't found a way. The JBoss J2EE deployment descriptor XSD which includes the POJO Service deployement descriptor does not seem to allow for arbitrary management properties, however. I also tried the using a -service.xml file as describe in this thread, but there was no magic - I ended up w/ a ordinary MBean, but the EJB didn't get deployed. Seems like this is needed. I really like how this ties together the actual service w/ the mgmt interface, but without the attributes I can't use it in a lot of places. Shall I put in a request via JIRA or is there something we're not seeing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955676#3955676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955676 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: detect changes into an ejb3 exploded jar
bdecoste, thanks for your comment, when i mean "it doesnt work" i mean the approach does not work for the application requirements. I've seen some posts like this one: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=83952 (see 3 entry), you can see: "I had a good look at Ejb3Configuration (and its source code) prior to posting the question, but came to the conclusion that I could not use it in conjunction with the container's services to scan the jars for entity beans to deploy, parse the annotations etc. However, I can see that using addAnnotatedClass(...) explicitely may do the trick. " They mention something about using the containers's services to scan the jars for entity beans to deploy. I can see there is a service "DeploymentScanner", that you can configure in the standardjboss.xml file, but this does not provide the functionality a need. My question is, if the guy is referencing to any other kind of service that can be used to work around this issue ?. thanks again for your time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955672#3955672 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955672 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: detect changes into an ejb3 exploded jar
When you say "it doesn't work", do you mean that the redeploy does not work at all or are you saying that a complete undeploy/redeploy does not work for your application requirements? Currently, touching/modifying the primary deployment descriptor in an exploded archive will always perform a full undeploy/redeploy. We are looking into just depoying/redeploying the deltas, but that is not currently available. When you depoy a new bean, you can always deploy it in a new jar. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955651#3955651 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955651 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ClassLoader problems while deploying a EJB3
Could you post the contents of your ejb jar file? Enter the following command: jar tf jar-file-name and post the results. I suspect that your class file is not where it should be. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955620#3955620 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955620 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ejbActivate signature error
ya, thanks. That's going to be odd to remember, since I work in IDEA. And IDEA adds the throws clauses to the signature whenever you implement the SessionBean interface. I know we don't have to do that with EJB3 annotations. But it's still something to remember if we're working the "old-fashioned" way. ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955477#3955477 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955477 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Javassist throws SecurityException on new 4.0.4GA
thank you very much for replying! yes all the client libs (my client jar as well as other necessary libs (ejb3,jboss,jasperreports, log4j, etc) were always signed, because otherwise the client isn't allowed to connect to external hosts, which is necessary to reach the jboss server.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955418#3955418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955418 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Oracle10g dialect
>From what I remember hook is at line 42. We reported bugs to Oracle bug, ... | package oracle.jdbc.driver; | | import java.sql.SQLException; | | import oracle.core.lmx.CoreException; | | // Referenced classes of package oracle.jdbc.driver: | //VarnumBinder, OraclePreparedStatement | | class DoubleBinder extends VarnumBinder | { | | DoubleBinder() | { | digits = new char[20]; | } | | void bind(OraclePreparedStatement stmt, int bindPosition, int rankInBuffer, int rank, byte bindBytes[], char bindChars[], short bindIndicators[], | int bytePitch, int charPitch, int byteoffset, int charoffset, int lenoffset, int indoffset, boolean clearPriorBindValues) | throws SQLException | { | | byte b[] = bindBytes; | int offset = byteoffset + 1; | double val = stmt.parameterDouble[rank][bindPosition]; | int len = 0; | if(val == 0.0D) | { | b[offset] = -128; | len = 1; | } else | if(val == (1.0D / 0.0D)) | { | b[offset] = -1; | b[offset + 1] = 101; | len = 2; | } else | if(val == (-1.0D / 0.0D)) | { | b[offset] = 0; | len = 1; | } else if (Double.isNaN(val)) { | b[offset] = -1; | b[offset+1] = (byte)0xf8; | len = 2; | } else | { | boolean neg = val < 0.0D; | if(neg) | val = -val; | long bits = Double.doubleToLongBits(val); | int rawExponent = (int)(bits >> 52 & 2047L); | int guess = (rawExponent <= 1023 ? 127 : 126) - (int)((double)(rawExponent - 1023) / 6.6438561897747253D); | if(guess < 0) | { | SQLException ex = new SQLException(CoreException.getMessage((byte)3) + " trying to bind " + val); | throw ex; | } | if(guess > 192) | { | SQLException ex = new SQLException(CoreException.getMessage((byte)2) + " trying to bind " + val); | throw ex; | } | if(val > factorTable[guess]) | while(guess > 0 && val > factorTable[--guess]) ; | else | for(; guess < 193 && val <= factorTable[guess + 1]; guess++); | if(val == factorTable[guess]) | { | if(guess < 65) | { | SQLException ex = new SQLException(CoreException.getMessage((byte)3) + " trying to bind " + val); | throw ex; | } | if(guess > 192) | { | SQLException ex = new SQLException(CoreException.getMessage((byte)2) + " trying to bind " + val); | throw ex; | } | if(neg) | { | b[offset] = (byte)(62 - (127 - guess)); | b[offset + 1] = 100; | b[offset + 2] = 102; | len = 3; | } else | { | b[offset] = (byte)(192 + (128 - guess)); | b[offset + 1] = 2; | len = 2; | } | } else | { | if(guess < 64) | { | SQLException ex = new SQLException(CoreException.getMessage((byte)3) + " trying to bind " + val); | throw ex; | } | if(guess > 191) | { | SQLException ex = new SQLException(CoreException.getMessage((byte)2) + " trying to bind " + val); | throw ex; | } | long dBits = neg ? bits & 0x7fffL : bits; | long fractBits = dBits & 0xfL; | int binExp = rawExponent; | char digits[] = stmt.digits; | int nSignificantBits; | if(binExp == 0) | { | while((fractBits & 0x10L) == 0L) | { | fractBits <<= 1; | binExp--; | } | nSignificantBits = 53 + binExp; | binExp++; | } else | { | fractBits |= 0x10L; | nSignificantBits = 53; | } | binExp -= 1023; | len = dtoa(b, offset, val, neg, false, digits, binExp, fractBits, nSignificantBits); | } |
[JBoss-user] [EJB 3.0] - Re: Javassist throws SecurityException on new 4.0.4GA
But you did sign the application jar (for webstart) when running with JBoss 4.0.3SP1? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955405#3955405 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955405 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Javassist Enhancement failed: java.lang.RuntimeExcepti
Thank you! I change javassist and this exception disappear. Dmitry. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955396#3955396 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955396 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Javassist throws SecurityException on new 4.0.4GA
yes it did, and i never signed the .ear files or any other file that i deployed on JBoss.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955383#3955383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955383 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ejbActivate signature error
Try removing the 'throws EJBException' on all methods. Does that work out? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955369#3955369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955369 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB3trail not working with JBossAS-4.0.4.GA (EJB3 instal
Well, I found the answer to my problem on the Beginner Forum (see the "EJB3Trail fails to start in 4.0.4GA" post) The fact was I was running an old version of the JDK. I upgraded from 1.5.0_02 to 1.5.0_07 and the EJBTrail works fine now ! Xavier. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955344#3955344 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955344 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Javassist throws SecurityException on new 4.0.4GA
Did the application work correctly in JBoss 4.0.3SP1 with webstart? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955331#3955331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955331 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: How to intercept Entity Beans in EJB3.0 using the Embedd
No, they are not. The solution is to use the following arguments: | -javaagent:jboss-aop-jdk50.jar -Djboss.aop.include=com.xyz.abc -Djboss.aop.exclude=org,net,com | if, for example, one is on Java 5. Using AOP and some annotations you can easily intercept get methods from your Entity Bean and get rid of the LazyInitializationException. /aa View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955321#3955321 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955321 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Javassist Enhancement failed: java.lang.RuntimeExcepti
see this thread: [url]http://www.jboss.com/index.html?module=bb&op=viewtopic&t=83199[\url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955295#3955295 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955295 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ManyToMany: delete causes a violation of foreign key con
doesn't anybody else have this problem? I still can not delete Entities from ManyToMany relations. what do I do wrong? any clues? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955281#3955281 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955281 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Durable Subscriber Annotations for MDB using EJB3
Well, the security problems is a different thing. (I disabled the SecurityManager and removed user and password and voilá it worked.) But we really have an issue concerning the ActivationConfigProperty name. The EJB3 core specification styates that the name must be "subscriptionDurability" but in the 4.0.4 GA EJB 3 implementation it is simply "Durability". Is there a Bug report for this? What to do to open a new one? Cheers, Patrick View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955264#3955264 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955264 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Durable Subscriber Annotations for MDB using EJB3
Ah, that's how it works... I created a Bug report for this issue: http://jira.jboss.com/jira/browse/EJBTHREE-643 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955266#3955266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955266 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: is it possible to generate EntityBeans from DB
thanks! is it possible to create tables out of EJB3 entitybeans? what do I do after I changed a entitybean or a table? is it possible to auto update the other side? thanks again View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955236#3955236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955236 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Durable Subscriber Annotations for MDB using EJB3
Hi there, I am toying around with durable subscriptions, too, and ran into the same problems. I observed the following: anonymous wrote : You can set any property that is available in org.jboss.ejb3.mdb.MDBConfig Funny though that there is no "subscriptionDurability" property in that class. I tried to set the present "durability" property and it look much better. @ActivationConfigProperty(propertyName="Durability",propertyValue="Durable") Next JBoss bothers about a missing subscription name. So here we go: @ActivationConfigProperty(propertyName="subscriptionName",propertyValue = "echoBean") This get's me a bit further, but I still fail due to security constraint: | javax.jms.JMSSecurityException: Connection not authorized to do durable subscription on topic: testMDB | at org.jboss.mq.security.ServerSecurityInterceptor.subscribe(ServerSecurityInterceptor.java:150) | at org.jboss.mq.server.TracingInterceptor.subscribe(TracingInterceptor.java:779) | at org.jboss.mq.server.JMSServerInvoker.subscribe(JMSServerInvoker.java:312) | at org.jboss.mq.il.jvm.JVMServerIL.subscribe(JVMServerIL.java:329) | at org.jboss.mq.Connection.addConsumer(Connection.java:789) | at org.jboss.mq.SpyConnectionConsumer.(SpyConnectionConsumer.java:111) | at org.jboss.mq.SpyConnection.createDurableConnectionConsumer(SpyConnection.java:196) | at org.jboss.ejb3.mdb.MDB.innerCreateTopic(MDB.java:524) | at org.jboss.ejb3.mdb.MDB.innerCreate(MDB.java:342) | at org.jboss.ejb3.mdb.MDB.innerStart(MDB.java:225) | at org.jboss.ejb3.mdb.MDB.start(MDB.java:214) | Argh. I specified a user and a password, which are definitely evaluated. But I didn't succeeded yet in hacking my own application server :(. | @ActivationConfigProperty(propertyName="Durability",propertyValue="Durable") | ,@ActivationConfigProperty(propertyName="subscriptionName",propertyValue="slowEchoBean") | ,@ActivationConfigProperty(propertyName="user",propertyValue="guest") | ,@ActivationConfigProperty(propertyName="password",propertyValue="guest") | So far up to now. Cheers, Patrick p.s.: I am using JBoss AS 4.0.4 GA with EJB3 option on. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955224#3955224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955224 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: is it possible to generate EntityBeans from DB
Have a look at http://www.jboss.com/products/seam/SeamHBTools.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955223#3955223 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955223 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Oracle10g dialect
"jc7442" wrote : An answer to my own question: | It seems that an oracle10gDialect may be usefull (see http://builder.com.com/5100-6388-5224536.html) | | It may look like: | public class Oracle10gDialect extends Oracle9Dialect { | | public Oracle10gDialect() { | | super(); | | // override properties | | registerColumnType( Types.FLOAT, "binary_float" ); | | registerColumnType( Types.DOUBLE, "binary_double" ); | | } | | } | | It does not fix the problem for the NaN. For Double.NaN, it looks like a bug in the oracle JDBC driver, a small patch in the DoubleBinder class fixes the problem. Hi there. I am dealing with a similar situation. Do you know where I might find this patch for the DoubleBinder class? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955216#3955216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955216 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJBs and Transactions
After some googling and trying random incantations, I ended up wit hthis at the top of the EJB methods which create an EntityManagerFactory: @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) | Who'd a thunk it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955204#3955204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955204 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: JNDI binding? (also: API Versions)
Sun JEE5 API, javax.ejb package Stateless annotation: | mappedName | | public abstract String mappedName | A product specific name(e.g. global JNDI name) that this session bean should be mapped to. Application servers are not required to support any particular form or type of mapped name, nor the ability to use mapped names. The mapped name is product-dependent and often installation-dependent. No use of a mapped name is portable. | | Default: | "" | Using this property does absolutely nothing in Jboss, so I guess they don't support it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955200#3955200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955200 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: MDB doesn't receive message from JMX Queue
Thanks, that worked. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955131#3955131 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955131 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJBs and Transactions
It appears to be an older version of Hibernate. What version of JBoss AS and EJB3 are you using? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955075#3955075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955075 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Ejb2 referencing ejb3
The ejb 2.1 client adaptors tutorial is here: http://docs.jboss.org/ejb3/app-server/tutorial/ejb21_client_adaptors/ejb21_client_adaptors.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955071#3955071 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955071 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Embeddable EJB3 startup problem: xidFactory (NoSuchField
Doesn't make much sense, the following line fails: 110 TransactionImpl.xidFactory = xidFactory; TransactionImpl.xidFactory has been in since the start of JBoss 4. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955070#3955070 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955070 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: JNDI binding? (also: API Versions)
Please let me know where it says so. I couldn't find it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955066#3955066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955066 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: JNDI binding? (also: API Versions)
@LocalBinding works perfectly but it's really REALLY lame that Jboss put in this annotation, while the sun EJB3.0 specification says that the mappedName property of @Stateless should do this job. Vendor specific solutions are evil and wrong! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955059#3955059 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955059 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB3StandaloneBootstrap.boot(
OK. This error is gone. But the container still isn't booted. Now I got an error related to the xidFactory. Here is a link: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85320. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955043#3955043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955043 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: MDB doesn't receive message from JMX Queue
Try adding the following to the MDB: @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/JEMOS") View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955039#3955039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955039 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: JNDI binding? (also: API Versions)
There is no definition in the specification on how to bind a bean to a specific JNDI name. The LocalBinding is in the org.jboss.annotation.ejb package (from deploy/default/ejb3.deployer/jboss-annotations-ejb3.jar), you should use that one. Please let me know if it works out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955032#3955032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955032 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Can Jboss auto-generate remote interfaces?
Yes, it is possible to generate an interface ( / remote proxy) with only the public methods expesed. But it would be nameless and leave the client clueless. You could get to the methods via introspection, but then you're shifting the complexity to the client side. It would be easy to create a tool to generate an interface before compilation. Look at Eclipse (select a class, Refactor -> Extract Interface...) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955036#3955036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955036 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB3StandaloneBootstrap.boot(
It appears to be a version conflict. I've install JBoss IDE 1.5.1 with JBoss Embeddable EJB3 ALPHA 8 patch 2. With some tweaking in Eclipse it works. The problem you have doesn't show up at all. Maybe your classpath contains conflicting jars. If you take a look at your run configuration -> Classpath it should contain: - your project - JRE System Library - hibernate-all.jar - jboss-ejb3-all.jar - thirdparty-all.jar - conf (from the embeddable dir) If it contains more, start scraping. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955024#3955024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955024 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB3StandaloneBootstrap.boot(
I have the same problem, too. Doesn't anybody know anything about this error? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954994#3954994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954994 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Ejb2 referencing ejb3
Hi Dalves.. Can u pls forward me the link for ejb21 client adapter tutorial or tell me the location coz i couldnt find it my distribution of jboss 4.0.3 Thanks Inder View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954938#3954938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954938 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Creating MBeans using EJB 3.0
Thanx for the info, but after a brainstorm the mbean must be "general" mbean which has made me create a "regular" mbean and discovering other problems: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3954895#3954895 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954896#3954896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954896 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Local and Remote interfaces - Do I really have to create
I do apologize. There was evidently an error in the interface declaration which lead to ClassCastException. An evident blunder. Could this post please be garbage collected? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954879#3954879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954879 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Creating MBeans using EJB 3.0
Thanx! I was worried for a second since it was not present in the 4.0.4 all release, but I found it in the ejb3 release... I hope it works on jboss-4.0.3SP1 all... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954878#3954878 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954878 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Hibernate Exception When Deleting OneToMany EJB3 Entity
Hi Michael, Sorry for coming back so late. The re-persisting of the kid when you try to delete it makes me think you have a cascade-type.all or, in any case, a cascade-type that includes persist. Make the cascade-type from parent to kid merge and remove only and from the kid to parent merge only (you should not really need it here) and see what happens. I had the same problem and this solved it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954870#3954870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954870 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Changing default InvokerLocator port (ejb3-deployer)
Yeah, I got the same problem. Tried with 3873 and everything works fine, with another port it doesn't. Do you know if there is a task in JIRA for this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954862#3954862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954862 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Using JBoss 4.0.3 EJB 3.0 Stateless Session Bean works f
Problem solved. garth View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954830#3954830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954830 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: How to intercept Entity Beans in EJB3.0 using the Embedd
Use basic EJB3 entity callback annotations. Or are they not enough? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954760#3954760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954760 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Creating MBeans using EJB 3.0
Try running against the latest JBossAS 4.0.4.GA. Or look hiw this diff's from last EJB3 embeddable. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954755#3954755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954755 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Creating MBeans using EJB 3.0
Sure I can make sure that I have the latest release... But HOW? My jar file is dated the 23 october 2005 (23:57 hours). How do I check if this is the latest? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954747#3954747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954747 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ActiveMQ Integration
Here is the JIRA task: http://jira.jboss.com/jira/browse/EJBTHREE-389 You should be able to use ActiveMQ, but you cannot currently create temporary queues. If you create the queue beforehand on ActiveMQ, then deploy the destination to JBoss, you should be fine. The problem only exists when we try to create a non-JBossMQ temporary queue. We are targeting all of the MDB refactoring to be completed by our next release to coincide with the release of the JBoss 5 beta - mid to late July. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954740#3954740 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954740 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user