[EJB/JBoss] - Not enable JavaEE5
by badhikary81
Hi!
I am Basudev.I am a new user.I have a problem that I can't solve the
problem. Please help me.
I want to create a enterprise application using Jboss-4.2.2-GA Server.
Then create the problem.If I create a enterprise application then Java EE
Version don't show JavaEE 5.Always show J2EE 1.4 Version.I want to use
annotation. How to enable JavaEE 5 as a Java EE Version?I have used
jdk1.6.0 and Netbean IDE6.0.1.
If I create a EJB Module then show JavaEE 5 as a Java EE Version.
But Sir I have to create a enterprise application using Jboss-4.2.2-GA
and JavaEE 5.
How to solve this problem?
plaease tell me Sir where is my fault.
Please Sir help me.I need help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146079#4146079
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146079
18 years
[EJB 3.0] - Not enable JavaEE5
by badhikary81
Hi!
I am Basudev.I am a new user.I have a problem that I can't solve the
problem. Please help me.
I want to create a enterprise application using Jboss-4.2.2-GA Server.
Then create the problem.If I create a enterprise application then Java EE
Version don't show JavaEE 5.Always show J2EE 1.4 Version.I want to use
annotation. How to enable JavaEE 5 as a Java EE Version?I have used
jdk1.6.0 and Netbean IDE6.0.1.
If I create a EJB Module then show JavaEE 5 as a Java EE Version.
But Sir I have to create a enterprise application using Jboss-4.2.2-GA
and JavaEE 5.
How to solve this problem?
plaease tell me Sir where is my fault.
Please Sir help me.I need help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146078#4146078
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146078
18 years
[EJB 3.0] - Re: complete and working ejb3 hello world session bean examp
by jaikiran
"nickleus" wrote :
| i went to that "trailblazer" page and talk about "plug", there you have to click through tons of pages to get the information you need. crap like that is designed to get page views. i made everything on one page, with no crap bla bla bla introduction text. that's how all my tutorials are. you don't have to read through crap to get the information you're looking for.
|
|
I wouldn't call the trailblazer crap. Honestly, i was very impressed with the trailer blazer, when i was looking for EJB3 related stuff. It had enough (and to the point) information. With each section having its own page, it also helped in digesting things easily. I visited the page that you pointed to and from what i can see, you provide the details to "configure and run" EJB3 whereas the trailblazer provides information on the "new features" in EJB3. Two different topics all together :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146077#4146077
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146077
18 years
[EJB 3.0] - Problem with Quartz Scheduler Integration (JBoss AS 4.2.2)
by aisrael
Hi, all.
I've been trying to follow the example in the docs here:
http://www.jboss.org/jbossejb3/docs/tutorial/jca/inflow/quartz/quartz.html
But am getting an exception when I deploy my EJB (JAR):
2008-04-23 16:15:34,694 DEBUG [org.jboss.ejb3.mdb.MdbDelegateWrapper] Starting failed jboss.j2ee:jar=ese-engine.jar,name=SyncBatch,service=EJB3
| org.jboss.deployment.DeploymentException: MessagingType 'org.quartz.StatefulJob' not found in resource deployment jboss.jca:service=RARDeployment,name='jms-ra.rar'
| at org.jboss.resource.deployment.RARDeployment.createActivationSpec(RARDeployment.java:252)
| at org.jboss.resource.deployment.RARDeployment.internalInvoke(RARDeployment.java:218)
| at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:44)
| at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:285)
| at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:189)
| at org.jboss.ejb3.mdb.MessagingContainer.startProxies(MessagingContainer.java:190)
| at org.jboss.ejb3.mdb.MessagingContainer.start(MessagingContainer.java:156)
| at org.jboss.ejb3.mdb.MDB.start(MDB.java:126)
|
Later on in the logs it also says:2008-04-23 16:15:34,699 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.j2ee:jar=myejb.jar,name=MyJob,service=EJB3
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: MessagingType 'org.quartz.StatefulJob' not found in resource deployment jboss.jca:service=RARDeployment,name='jms-ra.rar'
I've tried using both org.quartz.Job and org.quartz.StatefulJob to the same effect.
I haven't changed anything in my JBoss installation: quartz-ra.rar is there in server/default/deploy.
I don't know if it matters but I'm building and deploying my project using Eclipse, and I'm compiling against Quartz 1.6.0 (whereas the Quartz version bundled with JBoss AS is 1.5.2 I believe).
Wondering if anyone else has either a) encountered the same problem, or better yet, b) been able to make the JBoss Quartz scheduler integration work.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146076#4146076
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146076
18 years
[Remoting] - Re: Received version 254
by ron.sigal@jboss.com
Hi Alexey,
The fact that the client side of a connection is seeing a 254 byte means that the ServerThread on the other side of the connection has closed its socket and returned itself to the threadpool. For example, it might have experienced a TimeoutException. It follows that creating a new connection is inevitable once the 254 byte shows up.
If the client invoker sees the 254 byte *before* it attempts to use the connection, then it will immediately close the connection and get another connection, which is somewhat faster. The latter optimization may or may not be possible, depending on the timing of the transmission of the 254 byte. I don't think there's much you can do about that.
If the ServerThread is closing the connection because of a SocketTimeoutException, then you could try increasing the timeout vaue.
By the way, this message hasn't been logged at INFO level for quite a while. You must be using a fairly old version of Remoting.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146068#4146068
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146068
18 years
[JBossWS] - Re: JbossWS 2.0.3GA installation fails on JBoss AS 4.2.1.GA
by joshua.dev
Installation failed again with the same result. I re-downloaded JBoss AS 4.2.1.GA to make sure it's the right one, downloaded http://www.jboss.org/downloading/?projectId=jbossws&url=/jbossws/download... , modified ant.properties, run "ant deploy-jboss421" and got errors as before. It starts with:
2008-04-23 09:40:44,725 DEBUG [org.jboss.kernel.KernelFactory] Completed JBoss Kernel construction. Duration: 14 milliseconds
| 2008-04-23 09:40:44,741 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Described: name=WSServerConfig state=Not Installed mode=Manual requiredState=Create
| java.lang.NoClassDefFoundError: org/jboss/wsf/common/management/AbstractServerConfigMBean
and ends with:
| 09:41:00,497 ERROR [MainDeployer] Could not create deployment: file:/home/joshua/java/jboss-4.2.1.GA/server/default/deploy/jbossws.sar/
| org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.wsf.container.jboss42.DeployerInterceptorJSE; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.wsf.container.jboss42.DeployerInterceptorJSE)
I'm using Ubuntu 7.10 (x86, 32 bit) with Java 1.5.0_15 from Sun.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146065#4146065
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146065
18 years
[Management, JMX/JBoss] - Re: Remote RMI JMX listner
by minixman
By using the following
MBeanServerConnection mbsc = (MBeanServerConnection) ctx.lookup("jmx/invoker/RMIAdaptor");
//
ObjectName serverInfo = new ObjectName("jboss.system:type=ServerInfo");
mbsc.addNotificationListener(serverInfo, this, null, null);
And then placing the following listner in my class
| public void handleNotification(Notification notification, Object handback) {
|
| System.out.println("\nReceived notification:");
| System.out.println("\tClassName: " + notification.getClass().getName());
| System.out.println("\tSource: " + notification.getSource());
| System.out.println("\tType: " + notification.getType());
| System.out.println("\tMessage: " + notification.getMessage());
| if (notification instanceof AttributeChangeNotification) {
| AttributeChangeNotification acn =
| (AttributeChangeNotification) notification;
| System.out.println("\tAttributeName: " + acn.getAttributeName());
| System.out.println("\tAttributeType: " + acn.getAttributeType());
| System.out.println("\tNewValue: " + acn.getNewValue());
| System.out.println("\tOldValue: " + acn.getOldValue());
| }
|
| }
|
I don't get any events come through on the attributes, can you subscirbe to attribute changes
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146064#4146064
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146064
18 years