facebook

Can not start Glassfish server v3.0 Final

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #311626 Reply

    Bojan Kaurin
    Member

    I set up and enabled Glassfish server in MyEclipse>Servers>Glassfish>Glassfish v3 Final.

    But when i hit start server i got exception.

    java.lang.NoClassDefFoundError: Files\glassfishv3\glassfish/modules/glassfish/jar
    Caused by: java.lang.ClassNotFoundException: Files\glassfishv3\glassfish.modules.glassfish.jar
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    Exception in thread "main" 

    I’m using MyEclise 8.6 and here is my glassfish setup:

    Home directory: \Program Files\glassfishv3\glassfish
    Configuration directory: Program Files\glassfishv3\glassfish\config
    Server name: server
    Domain name: domain1
    Domain directory: Program Files\glassfishv3\glassfish\domains\domain1
    Telnet ip: 127.0.0.1
    Telnet port 6666
    Telnet maximum connections: 1
    Felix file install poll: 5000

    Am i missing something?

    #311668 Reply

    Brian Fernandes
    Moderator

    bojankaurin,

    Unfortunately there seems to be a silly problem where the connector does not work if GF is installed in a location that has a space in it’s path i.e. “Program Files”.

    We will be attempting to fix this in the upcoming 9.0M1 release. In the meanwhile, can you reinstall GF to a location that does not have a space in the path?

    Apologize for the inconvenience caused and thank you for reporting this.

    #311669 Reply

    Bojan Kaurin
    Member

    Brian,

    Thanks for quick reply. This is silly problem indeed :-). Of course i can reinstall GF to location that does not have a space in the path.

    I’m trying to get some info about upcoming 9.0M1 release, i posted few posts, and even created new topic for this, but so far no one is answering, so if you are able to talk about upcoming release, i’ll appreciate some info about following:
    when 9.0M1 release is coming(i saw post that release date is 9/30)?
    and does 9.0M1 release support any of the following(we need to start a new project that use these technologies bellow, and unfortunately current ME does not support these features):
    Java EE 6
    JSF 2.0
    JPA 2.0

    Eclipse 3.6 have it all, and since new MyEclipse 9.0M1 is based on this eclipse, i’m hoping that MyEclipse 9.0M1 will support these features as well.

    Thanks!

    #311715 Reply

    Brian Fernandes
    Moderator

    bojankaurin,

    The GF issue has been fixed and a fix will be available in 9.0M1. Due to some integration issues, this release is now due at the end of this week.

    Unfortunately due to these same issues, 9.0M1 will not have complete support for Java EE 6 in M1, however, it is on the cards for M2 due in a month from now. Besides JSF 2 and JPA 2, could you tell me what specific features of Java EE 6 you need support for?

    Thanks,
    Brian.

    #311748 Reply

    Bojan Kaurin
    Member

    Brian,

    First, I want to say, we are going to use MyEclipse anyway. We are testing IDEs currently(but now it is clear what we are going to use :-)), we need to start big enterprise project, and MyEclipse satisfy every aspect of our needs. Of course, currently there is no support for Java EE 6, JSF 2 and JPA 2, but we will have to do it manually until 9.0 final release. MyEclipse IDE product and support that you are providing to users just worth much more than $63.55/year(for professional edition).

    Now little about features.
    At this point our need is mostly at JPA 2, and JSF 2., and some parts that Java EE 6 brings along(nothing special to mention at this point of our project(still in planning phase)), just Java EE 6 project, and that will include all needed stuff(for now)).
    But also latter on, as project moves forward, i’m sure we will be able to tell you some specific details about what would be nice to have in IDE, but for now, it’s all already there(except things i metioned above).

    But, it would be nice to have support for EJB 3.1, as well as updated web services to JAX-RS 1.1, JAX-WS 2.2, of course, we can do a job without updates on these technologies, but it is nice to be up to date with newest technologies, and they bring new features that make life easier to all of us.
    I’m sure you will be bringing new wizards(about technologies and stuff metioned) and stuff to make developers and programmers life easier, so i didn’t metioned these.

    And yes, there is one more thing that i talked about in some another topic on the forum. It is about JPA table generation from entities. This is really useful thing. When you install eclipse, and JBoss Tools plugin, you get option in menu “Generate tables from entities”, and thats great. In order to generate tables in MyEclipse, i need to run project and do something with the database(save object to database, or something else), but usually people separates model from view, in our case web project, and then, there is no project to start to do something with database, we can add main method, or reference project from web project and then do that, but sometimes we do modeling first, and all we have is classes(ususaly POJOs, add JPA and then we have entities), and in such cases it would be nice to have some option in menu to generate database, to be able to check database, to see relations beetwen tables, just to see if everything is ok.
    Although, this table generation is not must have(because we need to have some runnable project to test database and stuff) it would be nice to have.

    Thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Can not start Glassfish server v3.0 Final

You must be logged in to post in the forum log in