MyEclipse: EJB 3 Tutorial with JBoss

LaLiLuna - Mar 15, 2006 - 05:26 PM
Post subject: EJB 3 Tutorial with JBoss
Hello,
I have just added an free EJB 3 tutorial to my website. It shows the complete setup with MyEclipse.

The use of entity beans and a stateless beans is explained step by step.
I am going to add a Ant setup, a setup for other application server as soon as possible.

Another tutorial showing Struts and EJB 3 is nearly finished as well.

Best Regards

Sebastian
Hibernate 3 Developer Guide eBook<br>
Tutorials for JSP, JavaServer Faces, Struts, Hibernate and EJB<br>
Training and Education at reasonable prices<br>
Find out more at http://www.laliluna.de
support-rkalla - Mar 16, 2006 - 03:45 PM
Post subject:
Sebastian,
This is excellent news, a lot of our users rely on your tutorials to help them learn technologies and tools which is no small feat.

Do you have a direct link to the tutorial? I checked the English Tutorial section and didn't see one from March '06 for EJB in the EJB section, maybe I missed it?
LaLiLuna - Mar 16, 2006 - 08:06 PM
Post subject:
Hello,

here is the link.
http://www.laliluna.de/EJB-3-tutorials.html

Regards Sebastian
support-rkalla - Mar 16, 2006 - 09:04 PM
Post subject:
Great, I will make this thread sticky as I know a lot of folks have been wanting this.
bryantan - Mar 17, 2006 - 01:39 PM
Post subject:
It's great. Thank you Sebastian very much!
safiqksm - Mar 21, 2006 - 05:30 AM
Post subject:
Thank you for your contributions.It's really helpful for us to learn new technologies.
osterday - Mar 22, 2006 - 07:31 PM
Post subject:
Thanks for the tutorial! I've learned a lot from the LaLiLuna site. One recommendation I'd make is to add the import (import javax.persistence.*;) to the Book class since it says "this is our full source code now". Since I didn't download the source code at first, I was confused by the errors MyEclipse was giving me before adding the import statement.

Also, for MySQL, you can use @GeneratedValue(strategy = GenerationType.AUTO) and remove the @SequenceGenerator annotation - that worked for me.

You can get by with a lot less included libs - I couldn't find some of them, like qdox.jar, but it worked without them.

Thanks again!
osterday - Mar 31, 2006 - 03:46 PM
Post subject:
Just a little info on which libs are needed... My "EJB3" user lib only has ejb3-persistence.jar and jboss-ejb3x.jar - for Entity and Session beans, this is all I've needed so far. For my "JBoss4-Client" user lib, I've got a screenshot here: http://www.market-assist.com/~osterday/pics/screenshots/ejb3-userlibs.png.

Thanks again for the great work Sebastian! (I hope to donate soon!)

-Pat
russray - Apr 04, 2006 - 01:56 AM
Post subject:
First of all, thank you for a nice tutorial. I am sure I would have not gotten up the learning curve without your insight.

I am working through your EJB3.0 Ant Tutorial. I have been successful in getting this EJB project to deploy properly in JBOSS4.0.3SP1. In one case I had to strip out the EJB 2.1 jars and conf xml file and drop in the EJB3.0 stuff to make the server work. I know it was not part of your tutorial and JBOS gives some clear instructions on what to do. :-)

Here are some things you might want to look at when you update your tutorial.

1. Creating a Java Project vs. an EJB Project. Your instructions call for creating a Java Project, but your Screen shot shows you created an EJB Project.

2. The Book class is missing the import statments for the javax.persistence.* classes.

3. In the session bean add the unitName attribute in the annotation. I changed my around some, just to be different ;-)

Code:

         @PersistenceContext(unitName="Ejb3Demo")
       


I sure these errors are just the difference between the current code today and the code you used back when you originally created the tutorial.

Again, thank you for putting together a nice aritcle. I look forward to finishing it and moving onto others.

Russ
support-scott - Apr 04, 2006 - 04:43 PM
Post subject:
Russ,

Thanks very much for the feedback; you've provided some valuable insights. We'll be sure the authors see it when we update it next.
laguiz - Apr 10, 2006 - 03:01 PM
Post subject: Problem with annotations
Hi,

I have problemes with annotations ...

I have problemes with :
Code:

@Entity
@Table(name="book")
@SequenceGenerator(name = "book_sequence", sequenceName = "book_id_seq")
public class Book implements Serializable {


Error is :
Code:
Entity cannot be resolved to a type



But I haven't with
Code:

@Override
   public String toString() {


Why ? strange ...

Can you help me ?

Thanks !!
laguiz - Apr 10, 2006 - 03:04 PM
Post subject: Mouarf ...
Lol I'm sorry for spam ...

import javax.persistence.*;

--->[- ]

thanks Sebastian ^^
laguiz - Apr 11, 2006 - 07:40 AM
Post subject:
I can't see my Bean in JNDI View

I have look source but ...

Problems with XDoclet ?
osterday - Apr 11, 2006 - 04:09 PM
Post subject:
laguiz, check your jboss log file to make sure your deployment was successful - sometimes jboss problems don't show up in the console window and you have to check the log. With ejb3, I'm pretty sure there is no need to run XDoclet.
laguiz - Apr 12, 2006 - 03:22 PM
Post subject:
I found the solution.

Log file :

Quote:

16:02:33,393 INFO [Ejb3AnnotationHandler] found EJB3: ejbName=BookTestBean, class=de.laliluna.library.BookTestBean, type=STATELESS
16:02:34,054 FATAL [PersistenceXmlLoader] FirstEjb3Tutorial JTA
16:02:34,085 INFO [Ejb3Deployment] EJB3 deployment time took: 1258
16:02:34,117 INFO [JmxKernelAbstraction] installing MBean: persistence.units:jar=FirstEJB3Tutorial.jar.jar,unitName=FirstEjb3Tutorial with dependencies:
16:02:34,117 INFO [JmxKernelAbstraction] jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
16:02:34,447 INFO [Environment] Hibernate 3.1.2
16:02:34,478 INFO [Environment] hibernate.properties not found
16:02:34,494 INFO [Environment] using CGLIB reflection optimizer
16:02:34,494 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
16:02:35,296 INFO [Ejb3Configuration] found EJB3 Entity bean: de.laliluna.library.Book
16:02:36,523 INFO [AnnotationBinder] Binding entity from annotated class: de.laliluna.library.Book
16:02:36,822 INFO [EntityBinder] Bind entity de.laliluna.library.Book on table book
16:02:37,923 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
16:02:37,939 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
16:02:37,939 INFO [SettingsFactory] RDBMS: MySQL, version: 4.1.9-nt
16:02:37,939 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.12 ( $Date: 2005-11-17 15:53:48 +0100 (Thu, 17 Nov 2005) $, $Revision$ )
16:02:38,065 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
16:02:38,112 INFO [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)
16:02:38,159 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
16:02:38,254 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
16:02:38,254 INFO [SettingsFactory] Automatic flush during beforeCompletion(): enabled
16:02:38,254 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
16:02:38,254 INFO [SettingsFactory] JDBC batch size: 15
16:02:38,254 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
16:02:38,269 INFO [SettingsFactory] Scrollable result sets: enabled
16:02:38,269 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
16:02:38,269 INFO [SettingsFactory] Connection release mode: after_statement
16:02:38,269 INFO [SettingsFactory] Maximum outer join fetch depth: 2
16:02:38,269 INFO [SettingsFactory] Default batch fetch size: 1
16:02:38,269 INFO [SettingsFactory] Generate SQL with comments: disabled
16:02:38,269 INFO [SettingsFactory] Order SQL updates by primary key: disabled
16:02:38,269 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
16:02:38,301 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
16:02:38,301 INFO [SettingsFactory] Query language substitutions: {}
16:02:38,301 INFO [SettingsFactory] Second-level cache: enabled
16:02:38,301 INFO [SettingsFactory] Query cache: disabled
16:02:38,301 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
16:02:38,317 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
16:02:38,317 INFO [SettingsFactory] Structured second-level cache entries: disabled
16:02:38,348 INFO [SettingsFactory] Statistics: disabled
16:02:38,348 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
16:02:38,364 INFO [SettingsFactory] Default entity-mode: pojo
16:02:38,553 INFO [SessionFactoryImpl] building session factory
16:02:38,710 WARN [ServiceController] Problem starting service persistence.units:jar=FirstEJB3Tutorial.jar.jar,unitName=FirstEjb3Tutorial
java.lang.reflect.InvocationTargetException
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 org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:97)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:974)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
at $Proxy41.start(Unknown Source)
at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:76)
at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:599)
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:452)
at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:139)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:974)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
at $Proxy28.start(Unknown Source)
at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:365)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:334)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:522)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:207)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:218)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:197)
Caused by: org.hibernate.MappingException: could not instantiate id generator
at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:97)
at org.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:152)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:181)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:414)
at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:575)
at org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:245)
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:108)
at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:260)
... 77 more
Caused by: org.hibernate.MappingException: Dialect does not support sequences
at org.hibernate.dialect.Dialect.getSequenceNextValString(Dialect.java:528)
at org.hibernate.id.SequenceGenerator.configure(SequenceGenerator.java:65)
at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:93)
... 85 more
16:02:38,914 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:service=EJB3,jar=FirstEJB3Tutorial.jar,name=BookTestBean with dependencies:
16:02:38,914 INFO [JmxKernelAbstraction] persistence.units:jar=FirstEJB3Tutorial.jar.jar,unitName=FirstEjb3Tutorial
16:02:38,946 INFO [EJB3Deployer] Deployed: file:/C:/Program Files/jboss-4.0.4RC1/server/default/deploy/FirstEJB3Tutorial.jar
16:02:38,946 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:jar=FirstEJB3Tutorial.jar.jar,unitName=FirstEjb3Tutorial
State: FAILED
Reason: java.lang.reflect.InvocationTargetException
I Depend On:
jboss.jca:service=ManagedConnectionFactory,name=DefaultDS
Depends On Me:
jboss.j2ee:service=EJB3,jar=FirstEJB3Tutorial.jar,name=BookTestBean

ObjectName: jboss.j2ee:service=EJB3,jar=FirstEJB3Tutorial.jar,name=BookTestBean
State: NOTYETINSTALLED
I Depend On:
persistence.units:jar=FirstEJB3Tutorial.jar.jar,unitName=FirstEjb3Tutorial

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: persistence.units:jar=FirstEJB3Tutorial.jar.jar,unitName=FirstEjb3Tutorial
State: FAILED
Reason: java.lang.reflect.InvocationTargetException
I Depend On:
jboss.jca:service=ManagedConnectionFactory,name=DefaultDS
Depends On Me:
jboss.j2ee:service=EJB3,jar=FirstEJB3Tutorial.jar,name=BookTestBean


Problem in my class :

Code:

...
@Entity
@Table(name="book")
@SequenceGenerator(name = "book_sequence", sequenceName = "book_id_seq")
public class Book implements Serializable {
...


Change :

Code:

@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "book_sequence")


by

Code:

@GeneratedValue(strategy = GenerationType.AUTO, generator = "book_sequence")


It's ok now.

I work with MySQL.
Wy we can't use GenerationType.SEQUENCE with MySQL (if probleme is MySQL) ?
isitsi - May 19, 2006 - 04:38 PM
Post subject:
Hi !!

My configuration is :
Eclipse 3.1.2
jboss-4.0.4.GA
JDK 1.5


I'm experencing MyEclipse plugin for a school project. I followed the first-ejb3-ant tutorial and I dident succeded to deploy the application. this is what I get in JBOOS while running it:



Code:

17:17:46,107 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:jar=FirstEJB3Tutorial Ant.jar,unitName=FirstEjb3Tu
torial
  State: FAILED
  Reason: org.hibernate.HibernateException: Hibernate Dialect must be explicitly
 set
  I Depend On:
    jboss.jca:service=ManagedConnectionFactory,name=ejb3ExampleDS
  Depends On Me:
    jboss.j2ee:jar=FirstEJB3Tutorial Ant.jar,name=BookTestBean,service=EJB3

ObjectName: jboss.j2ee:jar=FirstEJB3Tutorial Ant.jar,name=BookTestBean,service=E
JB3
  State: NOTYETINSTALLED
  I Depend On:
    persistence.units:jar=FirstEJB3Tutorial Ant.jar,unitName=FirstEjb3Tutorial

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: persistence.units:jar=FirstEJB3Tutorial Ant.jar,unitName=FirstEjb3Tu
torial
  State: FAILED
  Reason: org.hibernate.HibernateException: Hibernate Dialect must be explicitly
 set
  I Depend On:
    jboss.jca:service=ManagedConnectionFactory,name=ejb3ExampleDS
  Depends On Me:
    jboss.j2ee:jar=FirstEJB3Tutorial Ant.jar,name=BookTestBean,service=EJB3



Anyway I tried to lunch the application but it didnt work (naturally)

Code:

C:\workspace\TestEJB\classes>java test.de.laliluna.library.FirstEJB3TutorialClie
nt
javax.naming.NoInitialContextException: Need to specify class name in environmen
t or system property, or as an applet parameter, or in an application resource f
ile:  java.naming.factory.initial
        at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
        at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
        at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at test.de.laliluna.library.FirstEJB3TutorialClient.main(Unknown Source)

Exception in thread "main" java.lang.RuntimeException: javax.naming.NoInitialCon
textException: Need to specify class name in environment or system property, or
as an applet parameter, or in an application resource file:  java.naming.factory
.initial
        at test.de.laliluna.library.FirstEJB3TutorialClient.main(Unknown Source)

Caused by: javax.naming.NoInitialContextException: Need to specify class name in
 environment or system property, or as an applet parameter, or in an application
 resource file:  java.naming.factory.initial
        at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
        at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
        at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
        at javax.naming.InitialContext.lookup(Unknown Source)
        ... 1 more

C:\workspace\TestEJB\classes>


Please help because I must make a demo this monday to my schoolmates

Thanks in advance
isitsi - May 19, 2006 - 05:42 PM
Post subject:
Hi again I resolved my problem I forgot to put the driver cause I reinstalled Jboss :oops:

I think my ejb are well deployed but I cant lanch my application this is my Error

[quote=JDK]
C:\jboss-4.0.4.GA\server\default\deploy\FirstEjb3Tutorial.jar>java test.de.lalil
una.library.FirstEJB3TutorialClient
javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf
aces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: o
rg.jnp.interfaces.NamingContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at test.de.laliluna.library.FirstEJB3TutorialClient.main(FirstEJB3Tutori
alClient.java:36)
Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFac
tory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
... 5 more
Exception in thread "main" java.lang.RuntimeException: javax.naming.NoInitialCon
textException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory
[Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingC
ontextFactory]
at test.de.laliluna.library.FirstEJB3TutorialClient.main(FirstEJB3Tutori
alClient.java:47)
Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org
.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundE
xception: org.jnp.interfaces.NamingContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at test.de.laliluna.library.FirstEJB3TutorialClient.main(FirstEJB3Tutori
alClient.java:36)
Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFac
tory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
... 5 more

C:\jboss-4.0.4.GA\server\default\deploy\FirstEjb3Tutorial.jar>
[/quote]

Thanks In Advance
support-rkalla - May 20, 2006 - 03:59 AM
Post subject:
Not sure but you may be missing something on your classpath.
hrsolutions - May 31, 2006 - 10:14 AM
Post subject:
I did not get the example working with 4.0.4 GA.

I had to add the project name in front of the jndi name:

public static final String RemoteJNDIName = "TestEJB3App/" + BookTestBean.class.getSimpleName() + "/remote";

public static final String LocalJNDIName = "TestEJB3App/" + BookTestBean.class.getSimpleName() + "/local";


Greetings,

Edwin
idtech - Aug 24, 2006 - 01:53 PM
Post subject: Problems deploying FirstEjb3Tutorial
Hi, I am an EJB3 newbie. I'm trying to deploy laliluna EJB3 tutorial but I came across problems.

Here are my settings
__
MS Win Xp pro SP2
Java 1.5.0_07
Eclipse 3.2 with JBoss Eclipse IDE 1.6.0.GA plugin installed
JBoss 4.0.4 GA installed and running
jboss-EJB-3.0_Embeddable_ALPHA_8-patch2 libraries available
MySQL DBMS 4.1.7
MySQL driver Connector/J 3.1.13 copied in the server/default/lib directory

I have not created "by hand" any tutorial database in the DBMS.
__

I created an EJB project in Eclipse and followed the FirstEjb3Tutorial notes, downloaded from the laliluna website.

My persistence.xml file is

--
<persistence>
<persistence-unit name="FirstEjb3Tutorial">
<jta-data-source>java:/ejb3ProjectDS</jta-data-source>
<properties>
<property name="hibernate.hbm2ddl.auto" value="create-drop" />
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLInnoDBDialect"/>
</properties>
</persistence-unit>
</persistence>
--

My mysql-ds.xml in the server/default/deploy dir is


--
<datasources>
<local-tx-datasource>
<jndi-name>ejb3ExampleDS</jndi-name>
<connection-url>jdbc:mysql://localhost:3306/ejb3Example</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>omissis</user-name>
<password>omissis</password>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
<!-- should only be used on drivers after 3.22.1 with "ping" support
<valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker</valid-connection-checker-class-name>
-->
<!-- sql to call when connection is created
<new-connection-sql>some arbitrary sql</new-connection-sql>
-->
<!-- sql to call on an existing pooled connection when it is obtained from pool - MySQLValidConnectionChecker is preferred for newer drivers
<check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
-->

<!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
<metadata>
<type-mapping>mySQL</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>
--

..and the ejb-jar.xml is

---
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar>
<enterprise-beans>
</enterprise-beans>
</ejb-jar>
---

When I deploy the tutorial I get the following log from JBOSS

---------------------------------------------------------------------------------------
13:49:49,293 INFO [Ejb3Deployment] EJB3 deployment time took: 532
13:49:49,324 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ja
r=FirstEjb3Tutorial.jar,unitName=FirstEjb3Tutorial with dependencies:
13:49:49,324 INFO [JmxKernelAbstraction] jboss.jca:name=ejb3ProjectDS,ser
vice=ManagedConnectionFactory
13:49:49,402 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=First
Ejb3Tutorial.jar,name=BookTestBean,service=EJB3 with dependencies:
13:49:49,402 INFO [JmxKernelAbstraction] persistence.units:jar=FirstEjb3T
utorial.jar,unitName=FirstEjb3Tutorial
13:49:49,418 INFO [EJB3Deployer] Deployed: file:/C:/Programmi/jboss-4.0.4.GA/se
rver/default/deploy/FirstEjb3Tutorial.jar
13:49:49,418 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:jar=FirstEjb3Tutorial.jar,unitName=FirstEjb3Tutorial
State: NOTYETINSTALLED
I Depend On:
jboss.jca:name=ejb3ProjectDS,service=ManagedConnectionFactory
Depends On Me:
jboss.j2ee:jar=FirstEjb3Tutorial.jar,name=BookTestBean,service=EJB3

ObjectName: jboss.j2ee:jar=FirstEjb3Tutorial.jar,name=BookTestBean,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:jar=FirstEjb3Tutorial.jar,unitName=FirstEjb3Tutorial

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:name=ejb3ProjectDS,service=ManagedConnectionFactory
State: NOTYETINSTALLED
Depends On Me:
persistence.units:jar=FirstEjb3Tutorial.jar,unitName=FirstEjb3Tutorial
---------------------------------------------------------------------------------------

I can't go further in the exercise, is there anyone can help me do succeed?

thanks

G.
support-rkalla - Aug 24, 2006 - 09:19 PM
Post subject:
idtech,
Be sure to email Sebastian over at LaLiLuna and please post your findings here if you get the issue resolved (off hand I don't know what is wrong, I'm sorry)
alexeinov - Sep 07, 2006 - 12:44 PM
Post subject: Re: Problems deploying FirstEjb3Tutorial
idtech wrote:

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:name=ejb3ProjectDS,service=ManagedConnectionFactory
State: NOTYETINSTALLED


Read carefully the quoted output. It says that a deployer is missing the ejb3ProjectDS datasource. There can be two reasons for that:

1. Youre datasource is named something different. Make sure that your *-ds.xml datasource descriptor file really declares this name.
Code:
<jndi-name>ejb3ProjectDS</jndi-name>

2. The *-ds.xml file is not deployed. Copy the file to the jboss/server/default folder

Don't forget to restart jboss
deeeed - Jan 17, 2007 - 11:58 PM
Post subject: Problem with the persistance unit
Hi, i try to test the tutorial but i have a problem with the persistance unit.
I can't see the jndi name corresponding to my ejb in the web-console.
My persistance.xml file is:
Quote:
<persistence>
<persistence-unit name="FirstEjb3Tutorial">
<jta-data-source>java:/ejb3ProjectDS</jta-data-source>
<properties>
<property name="hibernate.hbm2ddl.auto"
value="create-drop"/>
</properties>
</persistence-unit>
</persistence>


I also have deployed a file mysql-ds.xml which is:
Code:
<?xml version="1.0" encoding="UTF-8"?>

<!-- $Id: mysql-ds.xml 41016 2006-02-07 14:23:00Z acoliver $ -->
<!--  Datasource config for MySQL using 3.0.9 available from:
http://www.mysql.com/downloads/api-jdbc-stable.html
-->

<datasources>
  <local-tx-datasource>
    <jndi-name>MySqlDS</jndi-name>
    <connection-url>jdbc:mysql://localhost:3306/examples</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>root</user-name>
    <password></password>
    <!-- the minimum size of the connection pool -->
    <min-pool-size>1</min-pool-size>
    <!-- The maximum connections in a pool/sub-pool -->
     <max-pool-size>4</max-pool-size>
     
    <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
    <!-- should only be used on drivers after 3.22.1 with "ping" support
    <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker</valid-connection-checker-class-name>
    -->
    <!-- sql to call when connection is created
    <new-connection-sql>some arbitrary sql</new-connection-sql>
      -->
    <!-- sql to call on an existing pooled connection when it is obtained from pool - MySQLValidConnectionChecker is preferred for newer drivers
    <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
      -->

    <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
    <metadata>
       <type-mapping>mySQL</type-mapping>
    </metadata>
  </local-tx-datasource>
</datasources>



When i start my jboss server i have the following erros:


I tried to edit my persistance.xml but i always have erros.
Do you know where is the problem with my persistance unit ?
fulgutza - Apr 04, 2007 - 11:54 AM
Post subject:
Hm.. I have the same error when trying to deploy the example. The persistence.xml file seems to be ok...
jeromy - Jun 09, 2007 - 05:09 AM
Post subject: How to fix the example
The example at http://www.laliluna.de/ejb-3-tutorial-jboss.html does not work if you copy-and-paste the code because the datasource name in persistence.xml is "ejb3ProjectDS" but the datasource name in myFavouriteName-ds.xml is "ejb3ExampleDS".

The mismatch will cause the error:

Code:
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:name=ejb3ProjectDS,service=ManagedConnectionFactory
State: NOTYETINSTALLED


because ejb3ProjectDS is not defined.

To fix it ensure the datasource name in your persistence.xml file matches the jndi name of the datasource in your *-ds.xml file. Use any name you like.

- Jeromy
ghosh007 - Aug 23, 2007 - 05:18 AM
Post subject:
I am getting the following error. Can someone please tell me which jar file has this NamingContextFactory class?
Thanks
Andy
javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at com.andy.ejb3.AdviceClient.main(AdviceClient.java:20)
Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
Mr.Purple - Feb 11, 2008 - 12:02 PM
Post subject:
Thanks, Jeromy, that was exactly the problem I encountered. You saved my day. This will probably happen to many many people...
amir55 - Feb 12, 2008 - 07:58 AM
Post subject: ejb3 myeclipse session bean
hi all

I am on the full subscription of MyEclipse IDe with the latest one is 6

so I rely more on the help search for tutorial of project called SampleEJBProject . The one now is ejb3. I followed all the steps .but only difference that I use Jboss.so Please read the error I get. in numbers.

1 - last four lines of deploying

10:12:24,171 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
10:12:24,187 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=SampleEJBProject.jar,name=MyBean,service=EJB3 with dependencies:
10:12:25,046 INFO [EJBContainer] STARTED EJB: com.myeclipseide.ejb3.MyBean ejbName: MyBean
10:12:25,656 INFO [EJB3Deployer] Deployed: file:/D:/Jboss_Group/jboss-4.2.1.GA/server/default/deploy/SampleEJBProject.jar/

2 - error message
avax.naming.NameNotFoundException: com.myeclipseide.ejb3.MyBeanRemote not bound

3 - source of error here

InitialContext ctx = new InitialContext();
MyBeanRemote bean = (MyBeanRemote) ctx.lookup("com.myeclipseide.ejb3.MyBeanRemote");

4 - I use MyEclipse 6, Jboss 4.2 windos 2000

I have error too in Mr Sabastian's tutorial but he uses entity which I like to get a seesoin only to work first also I use mysql which needs different annotaions that I do not know where to palce too. moreover I like Myeclipse help tutorials more

please guide to the problem of if any good guy would email me the working code zipped or I send hih/her mine to very slightly amendment or JBoss slight setting.

my email alhakim55@yahoo.com or PM.

kinds to all
Amir





I
sachin6870 - Feb 26, 2008 - 11:42 AM
Post subject: javax.naming.NameNotFoundException: BookTestBean not bound
I am trying to deploy this sample application to jboss ejb container.
jmx console is not showing BookTestBean deployed, but I can see datasource ejb3ExampleDS.

Also I am not getting any error message on system console and jboss log.

log message:
2008-02-26 16:54:39,703 DEBUG [org.jboss.ejb.EjbModule] Started jboss.j2ee:service=EjbModule,module=FirstEJB3Tutorial.jar

I am totally new to ejbs, I have never tried provious version of ejb.
am I missing anything?
any pointer will be greatly appreciated...

Thanks

Sachin.
tuhucon - Feb 27, 2008 - 04:13 AM
Post subject:
hello,
thanks for your post. can you post a EJB 3 tutorial with glassfish ???
kendenil - Mar 11, 2008 - 12:49 PM
Post subject:
good
ozanyurt - May 10, 2009 - 10:59 AM
Post subject:
thanks alexeinov You saved my weekend. This will probably happen to many many people
fastex - Oct 30, 2009 - 08:53 AM
Post subject:
Hello,
i need help for my problem
When i run jboss 4.2.3.GA

in JBOSS i found error
Quote:


--- MBeans waiting for other MBeans ---
ObjectName: jboss.j2ee:jar=EODEJB.jar,name=beanBuku,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:unitName=ejbpersistence

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: persistence.units:unitName=ejbpersistence
State: NOTYETINSTALLED
Depends On Me:
jboss.j2ee:jar=EODEJB.jar,name=beanBuku,service=EJB3


please helpme to solving the problem..

Thanks..
amira88 - Dec 03, 2009 - 12:03 AM
Post subject:
Hi ,
I followed the tutorial and it's very clear. i just change Book to Hotel:
but when i try to run the "FirstEJB3TutorialClient " class i have this errors ,i tried many times but without a good result and this is the errors :
Code:

18:51:28,365 DEBUG TimedSocketFactory:87 - createSocket, hostAddr: localhost/127.0.0.1, port: 1099, localAddr: null, localPort: 0, timeout: 0
javax.naming.NameNotFoundException:BookTestBean not bound
   at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
   at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
   at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
   at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
   at sun.rmi.transport.Transport$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.rmi.transport.Transport.serviceCall(Unknown Source)
   at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
   at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
   at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
   at sun.rmi.server.UnicastRef.invoke(Unknown Source)
   at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
   at javax.naming.InitialContext.lookup(Unknown Source)
   at ClientBeans.ClientA.main(ClientA.java:39)
Exception in thread "main" java.lang.RuntimeException: javax.naming.NameNotFoundException: BookTestBean not bound
   at ClientBeans.FirstEJB3TutorialClient.main(ClFirstEJB3TutorialClient.java:49)
Caused by: javax.naming.NameNotFoundException: BookTestBean not bound
   at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
   at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
   at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
   at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
   at sun.rmi.transport.Transport$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.rmi.transport.Transport.serviceCall(Unknown Source)
   at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
   at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
   at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
   at sun.rmi.server.UnicastRef.invoke(Unknown Source)
   at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
   at javax.naming.InitialContext.lookup(Unknown Source)
   at ClientBeans.FirstEJB3TutorialClient.main(ClientA.java:39)

Thank u for help it's very urgent i have to finish it for saturday
amira88 - Dec 05, 2009 - 08:04 PM
Post subject:
I'm using the lalliluna tutorial step by step But when i have to check the application depolyment i can't find the folder FirstEjb3Tutorial.jar and the other folders, is the deploy of application generated automaticly or i have to do it by my self!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
shivaily - Feb 28, 2010 - 09:52 PM
Post subject:
Can any one post how to do ejb3.0 with weblogic 10 or higher versions...
I will be greatfull if any one can help me in doing ejb3.0 with weblogic 10 or higher version....
brucesanders63 - Mar 12, 2012 - 12:52 AM
Post subject: EJB2 tutorial with JBOSS
Sorry to hijack EJB3 tutorial but this is the closest I could find to post my question.

I'm try to run setup my EJB2 project from http://www.myeclipseide.com/documentation/quickstarts/firstejb/.

My problem is w/XDoclet. I'm using JBOSS 4.3.2.GA and the message I get from the compiler is this:
C:\Documents and Settings\LL808187\Workspaces\MyEclipse 9\firstEJB\.xdoclet-build.tmp.xml:33: 4.2.3.GA is not a legal value for this attribute

This is the version I need to run as we are on JDK 1.4. Below is the installation summary.


*** Date:
Sunday, March 11, 2012 6:47:21 PM CDT

** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_13


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 9.1
Build id: 9.1-20110701


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 9.1
Build id: 9.1-20110701






Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\MyEclipse\MyEclipse 9\myeclipse.exe
-name
Myeclipse
--launcher.library
C:\Program Files\MyEclipse\MyEclipse 9\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
-startup
C:\Program Files\MyEclipse\MyEclipse 9\../Common/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-install
C:\Program Files\MyEclipse\MyEclipse 9
-configuration
C:\Program Files\MyEclipse\MyEclipse 9\configuration
-vm
C:\Program Files\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits