For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 7 replies, 2 voices, and was last updated 18 years, 10 months ago by
Riyad Kalla.
-
AuthorPosts
-
VaccanoMemberHi,
First post for me on this forum. I just downloaded myEclipse today. My company is moving to an java SOA and I am looking for a good tool to recommend for that development. We are currently using the free JBoss IDE.
I would like to note that the files and project that were the source of this error report all work fine in the JBoss IDE. It has an Entity bean, Session bean and uses Seam and JSF to show a web iterface to my EJB code. I have tested it and it all works great. (We use Jboss 4.0.5.GA and seam 1.2.1.GA and JDK 1.5)
Because my company is set on using EJB 3.0 (and it is not supported well in the current “stable” version of myEclipse) I downloaded the latest dev version (5.5 Milestone 2) and it looked good. But one of the two main features I wanted to see did not work. (That feature was to see a graphical view of faces-config.xml) Here are the step I did:
1. I unpacked and fresh download of eclipse (latest version)
2. Downloaded 5.5 Milestone 2
3. I had to start myEclipse with -clean to get it to not lock up with the eval notice
4. Copied my workspace (that I created using JBoss IDE 1.6) and loaded up myEclipse on the copied workspace
5. Did a few things with jsp files (that worked quite good).
6. Double clicked on my faces-config.xml file
RESULT: I got the following error.A stack overflow has occured. You are recommended to exit the workbench. Subsequent errors may happen and may terminated the work bence without warning. See the .log file for more details.Do you want to exit the work bench. ([Yes], [No])
I even tried deleting my faces-config file and creating a new one, but I still got the error. This was the contents of the new one:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd"> <faces-config />One item that may be important, when I was creating the new one, the wizard told me that my project was not a JSF-enabled project. I don’t know how to make my project “JSF-enabled” but I would like to.
One final note, I know that I was using a Dev version and that bugs are expected. If this cannot be fixed I understand. Likely though this is misuse by someone who is new to this tool (me). I would like to know how I can get this working so I can recommend it to my supervisor for my team.
Vaccano
Below is the stuff that the “Read before you post” post said to include.
*** Date:
Tuesday, May 1, 2007 5:00:02 PM MDT** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_05*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.5.0 Milestone 2
Build id: 20070409-5.5.0-Milestone2*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.5.0 Milestone 2
Build id: 20070409-5.5.0-Milestone2Eclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20070212-1330Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Program Files\Eclipse\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
32c_7c
-product
com.genuitec.myeclipse.product.ide
-vm
C:\WINDOWS\system32\javaw.exeMay 1, 2007 at 9:34 pm #269625
Riyad KallaMemberThank you for trying out MYEclipse, to get up and running as fast as possible, please redownload the 5.5M2 release, but this time grab the “All In One” installer. Affter it’s downloaded, install it to a brand new directory and open your copied workspace. Don’t forget to add JSF Capabilities to your JSF project, so MYEclipse knows what it is. Then you should be all set.
May 2, 2007 at 12:30 pm #269650
VaccanoMemberThank you for the response.
I downloaded the all in one version, uninstalled the plugin version and installed the all in one version. After doing this the stack overflow error still happens. (Only when I open it as a MyEclipse JSF Config editor. If I use XML it opens fine.)
I have looked to see how I can add JSF Capabilities and I don’t see it, but I will keep looking. (I thought it would be in the right click MyEclipse->Add […] Capabilities section, but there is no JSF option there.)
Vaccano
May 2, 2007 at 12:42 pm #269651
Riyad KallaMemberI downloaded the all in one version, uninstalled the plugin version and installed the all in one version.
Did you make sure to install it to a brand new directory and not the old MyEclipse directory or an existing directory?
Getting a stack overflow on something like this has got to be an installation issue, normally it will just tell you that it cannot open until you add JSF capabilities, but if you add JSF caps it will open without incident.
If you aren’t seeing JSF caps, check your project properties, go to the MyEclipse node and check which icons are “lit up”
May 2, 2007 at 1:13 pm #269656
VaccanoMemberI had not installed in a new location, so I installed the MyEclipse all in one again in a new spot. I tried to open the faces-config.xml file and it gave me the same error. As another clue to this, after the stack overflow, I have 99 open windows. Most of them say “MyEclipse JSF Config Editor” as the window name.
I clicked on the MyEclipse node (with my project selected) and the Add JSF Capabilities option is there but it is disabled. I have tried to find a way to enable it, but I have not had any success so far. I did create a new web project and I was able to add JSF Capabilities to that, but I can’t add JSF Capabilities to my existing (working) project.
Could it be that the way I have made my project has confused MyEclipse? My project very closely mirrors the SEAM registration example from JBoss. (It is not very complicated.)
Normally I would just recreate my project using MyEclipse. But for my company to use MyEclipse, it would have to be able to allow projects that were not created using it. (Meaning, if I recommend MyEclipse many may get it, but not everyone.)
Vaccano
May 2, 2007 at 1:20 pm #269658
Riyad KallaMemberVaccano,
MyEclipse may not understand that your project is a web project, try and right-click and add Web Capabilities first, then try JSF.May 2, 2007 at 1:52 pm #269663
VaccanoMemberThank you for your help, that got me around the error.
Vaccano
May 2, 2007 at 1:56 pm #269664
Riyad KallaMemberAhh very good, thanks for hanging in there, sorry for the confusion.
-
AuthorPosts
