|
| Apache Geronimo > Discussion Forums | User List | Dev List | Wiki | Issue Tracker |
|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Error opening the editorHi all, I get the following error when trying to open
geronimo-web.xml file: “ There was an error opening the
editor. The elements in the plan may not be qualified, do you want to try to
auto-correct this? Otherwise the default text editor will be opened.” Googling that phrase gives no love. Here’s the content of my file: <web-app
xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"> <environment> <moduleId>
<artifactId>Geronimo2</artifactId> </moduleId> </environment>
<context-root>/Geronimo2</context-root> </web-app> Tim |
|
|
Re: Error opening the editorHi Tim, I think you may be using an older version of the Geronimo Eclipse Plugin
(GEP). This was a problem in the 2.0.0 version of the GEP but has been fixed in the 2.1.0 release. If this is the case, could you try the newer version and let me know what happens ?? Tim Harsch wrote: > Hi all, > > I get the following error when trying to open > geronimo-web.xml file: > > “ There was an error opening the editor. The elements in > the plan may not be qualified, do you want to try to auto-correct this? > Otherwise the default text editor will be opened.” > > Googling that phrase gives no love. > > > > Here’s the content of my file: > > <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"> > > <environment> > > <moduleId> > > <artifactId>Geronimo2</artifactId> > > </moduleId> > > </environment> > > <context-root>/Geronimo2</context-root> > > </web-app> > > > > Tim > -- Thanks, Tim McConnell |
|
|
RE: Error opening the editorHi Tim,
I believe I installed geronimo-tomcat6-javaee5-2.1.1 server and GEP 2.1. Is there a JIRA item for the fixed problem you could point me to for background? Perhaps I can examine further... -----Original Message----- From: Tim McConnell [mailto:tim.mcconne@...] Sent: Wednesday, June 18, 2008 9:22 PM To: user@... Subject: Re: Error opening the editor Hi Tim, I think you may be using an older version of the Geronimo Eclipse Plugin (GEP). This was a problem in the 2.0.0 version of the GEP but has been fixed in the 2.1.0 release. If this is the case, could you try the newer version and let me know what happens ?? Tim Harsch wrote: > Hi all, > > I get the following error when trying to open > geronimo-web.xml file: > > " There was an error opening the editor. The elements in > the plan may not be qualified, do you want to try to auto-correct this? > Otherwise the default text editor will be opened." > > Googling that phrase gives no love. > > > > Here's the content of my file: > > <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"> > > <environment> > > <moduleId> > > <artifactId>Geronimo2</artifactId> > > </moduleId> > > </environment> > > <context-root>/Geronimo2</context-root> > > </web-app> > > > > Tim > -- Thanks, Tim McConnell |
|
|
RE: Error opening the editorI thought of another detail to add to the problem scenario. If I create a
new dynamic web project with Geronimo 2.1, and the open geronimo-web.xml file then the Web Deployment Plan editor opens. However, starting with a new Tomcat project and adding a basic geronimo-web.xml file causes the problem. -----Original Message----- From: Tim Harsch [mailto:tharsch@...] Sent: Thursday, June 19, 2008 10:09 AM To: user@... Subject: RE: Error opening the editor Hi Tim, I believe I installed geronimo-tomcat6-javaee5-2.1.1 server and GEP 2.1. Is there a JIRA item for the fixed problem you could point me to for background? Perhaps I can examine further... -----Original Message----- From: Tim McConnell [mailto:tim.mcconne@...] Sent: Wednesday, June 18, 2008 9:22 PM To: user@... Subject: Re: Error opening the editor Hi Tim, I think you may be using an older version of the Geronimo Eclipse Plugin (GEP). This was a problem in the 2.0.0 version of the GEP but has been fixed in the 2.1.0 release. If this is the case, could you try the newer version and let me know what happens ?? Tim Harsch wrote: > Hi all, > > I get the following error when trying to open > geronimo-web.xml file: > > " There was an error opening the editor. The elements in > the plan may not be qualified, do you want to try to auto-correct this? > Otherwise the default text editor will be opened." > > Googling that phrase gives no love. > > > > Here's the content of my file: > > <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"> > > <environment> > > <moduleId> > > <artifactId>Geronimo2</artifactId> > > </moduleId> > > </environment> > > <context-root>/Geronimo2</context-root> > > </web-app> > > > > Tim > -- Thanks, Tim McConnell |
|
|
Re: Error opening the editorHi again Tim, if that is the case, then I totally misunderstood the problem. If
you manually add the geronimo-web.xml yourself, just use the correct namespace as below for Geronimo 2.1 as below..... <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"> <environment> <moduleId> <artifactId>Geronimo2</artifactId> </moduleId> </environment> <context-root>/Geronimo2</context-root> </web-app> One thing we spent a lot of time on in the 2.1 release was to properly handle the current namespaces supported by the Geronimo Server. Unfortunately, it looks like we missed some cases where old namespaces can still be used. For example, when an older namespace is used in a project that is imported into the GEP we convert it on the fly. It looks like though we still need to handle older namespaces better. I think we may have a JIRA already for this problem, but if not I shall open a new one. Thanks very much for the feedback.... Tim Harsch wrote: > I thought of another detail to add to the problem scenario. If I create a > new dynamic web project with Geronimo 2.1, and the open geronimo-web.xml > file then the Web Deployment Plan editor opens. However, starting with a > new Tomcat project and adding a basic geronimo-web.xml file causes the > problem. > > -----Original Message----- > From: Tim Harsch [mailto:tharsch@...] > Sent: Thursday, June 19, 2008 10:09 AM > To: user@... > Subject: RE: Error opening the editor > > Hi Tim, > I believe I installed geronimo-tomcat6-javaee5-2.1.1 server and GEP > 2.1. Is there a JIRA item for the fixed problem you could point me to for > background? Perhaps I can examine further... > > -----Original Message----- > From: Tim McConnell [mailto:tim.mcconne@...] > Sent: Wednesday, June 18, 2008 9:22 PM > To: user@... > Subject: Re: Error opening the editor > > Hi Tim, I think you may be using an older version of the Geronimo Eclipse > Plugin > (GEP). This was a problem in the 2.0.0 version of the GEP but has been fixed > in > the 2.1.0 release. If this is the case, could you try the newer version and > let > me know what happens ?? > > Tim Harsch wrote: >> Hi all, >> >> I get the following error when trying to open >> geronimo-web.xml file: >> >> " There was an error opening the editor. The elements in >> the plan may not be qualified, do you want to try to auto-correct this? >> Otherwise the default text editor will be opened." >> >> Googling that phrase gives no love. >> >> >> >> Here's the content of my file: >> >> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"> >> >> <environment> >> >> <moduleId> >> >> <artifactId>Geronimo2</artifactId> >> >> </moduleId> >> >> </environment> >> >> <context-root>/Geronimo2</context-root> >> >> </web-app> >> >> >> >> Tim >> > -- Thanks, Tim McConnell |
|
|
RE: Error opening the editorI think I may have found the XML for the geronimo-web.xml I was using off
the web. However, correcting the namespace did not seem to make a difference... -----Original Message----- From: Tim McConnell [mailto:tim.mcconne@...] Sent: Thursday, June 19, 2008 12:17 PM To: user@... Subject: Re: Error opening the editor Hi again Tim, if that is the case, then I totally misunderstood the problem. If you manually add the geronimo-web.xml yourself, just use the correct namespace as below for Geronimo 2.1 as below..... <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"> <environment> <moduleId> <artifactId>Geronimo2</artifactId> </moduleId> </environment> <context-root>/Geronimo2</context-root> </web-app> One thing we spent a lot of time on in the 2.1 release was to properly handle the current namespaces supported by the Geronimo Server. Unfortunately, it looks like we missed some cases where old namespaces can still be used. For example, when an older namespace is used in a project that is imported into the GEP we convert it on the fly. It looks like though we still need to handle older namespaces better. I think we may have a JIRA already for this problem, but if not I shall open a new one. Thanks very much for the feedback.... Tim Harsch wrote: > I thought of another detail to add to the problem scenario. If I create a > new dynamic web project with Geronimo 2.1, and the open geronimo-web.xml > file then the Web Deployment Plan editor opens. However, starting with a > new Tomcat project and adding a basic geronimo-web.xml file causes the > problem. > > -----Original Message----- > From: Tim Harsch [mailto:tharsch@...] > Sent: Thursday, June 19, 2008 10:09 AM > To: user@... > Subject: RE: Error opening the editor > > Hi Tim, > I believe I installed geronimo-tomcat6-javaee5-2.1.1 server and GEP > 2.1. Is there a JIRA item for the fixed problem you could point me to for > background? Perhaps I can examine further... > > -----Original Message----- > From: Tim McConnell [mailto:tim.mcconne@...] > Sent: Wednesday, June 18, 2008 9:22 PM > To: user@... > Subject: Re: Error opening the editor > > Hi Tim, I think you may be using an older version of the Geronimo Eclipse > Plugin > (GEP). This was a problem in the 2.0.0 version of the GEP but has been > in > the 2.1.0 release. If this is the case, could you try the newer version and > let > me know what happens ?? > > Tim Harsch wrote: >> Hi all, >> >> I get the following error when trying to open >> geronimo-web.xml file: >> >> " There was an error opening the editor. The elements in >> the plan may not be qualified, do you want to try to auto-correct this? >> Otherwise the default text editor will be opened." >> >> Googling that phrase gives no love. >> >> >> >> Here's the content of my file: >> >> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"> >> >> <environment> >> >> <moduleId> >> >> <artifactId>Geronimo2</artifactId> >> >> </moduleId> >> >> </environment> >> >> <context-root>/Geronimo2</context-root> >> >> </web-app> >> >> >> >> Tim >> > -- Thanks, Tim McConnell |
|
|
Re: Error opening the editorOn Thu, Jun 19, 2008 at 3:16 AM, Tim Harsch <tharsch@...> wrote:
> Here's the content of my file: > > <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"> > > <environment> It's just a guess, but shouldn't environment be qualified as follows <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">? Jacek -- Jacek Laskowski Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl |
|
|
Re: Error opening the editorYes of course, Tim your plan should look something like below. I double-checked
and this one works fine for me on the trunk version of the GEP........ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <web:web-app xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2" xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"> <dep:environment> <dep:moduleId> <dep:groupId>default</dep:groupId> <dep:artifactId>Geronimo2</dep:artifactId> <dep:version>1.0</dep:version> <dep:type>car</dep:type> </dep:moduleId> </dep:environment> <web:context-root>/Geronimo2</web:context-root> </web:web-app> Jacek Laskowski wrote: > On Thu, Jun 19, 2008 at 3:16 AM, Tim Harsch <tharsch@...> wrote: > >> Here's the content of my file: >> >> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"> >> >> <environment> > > It's just a guess, but shouldn't environment be qualified as follows > <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">? > > Jacek > -- Thanks, Tim McConnell |
|
|
RE: Error opening the editorHi Tim et al,
I tried your xml verbatim. No love. Tim -----Original Message----- From: Tim McConnell [mailto:tim.mcconne@...] Sent: Thursday, June 19, 2008 2:20 PM To: user@... Subject: Re: Error opening the editor Yes of course, Tim your plan should look something like below. I double-checked and this one works fine for me on the trunk version of the GEP........ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <web:web-app xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2" xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"> <dep:environment> <dep:moduleId> <dep:groupId>default</dep:groupId> <dep:artifactId>Geronimo2</dep:artifactId> <dep:version>1.0</dep:version> <dep:type>car</dep:type> </dep:moduleId> </dep:environment> <web:context-root>/Geronimo2</web:context-root> </web:web-app> Jacek Laskowski wrote: > On Thu, Jun 19, 2008 at 3:16 AM, Tim Harsch <tharsch@...> wrote: > >> Here's the content of my file: >> >> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"> >> >> <environment> > > It's just a guess, but shouldn't environment be qualified as follows > <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">? > > Jacek > -- Thanks, Tim McConnell |
|
|
Re: Error opening the editorOn Thu, Jun 19, 2008 at 11:26 PM, Tim Harsch <tharsch@...> wrote:
> Hi Tim et al, > I tried your xml verbatim. No love. Hi, What's in <workspace>/.metadata/.log file? Clear it and run Eclipse+GEP again. Send the file as attachment to review. I'm sure there'll be more. Jacek -- Jacek Laskowski Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl |
| Free Forum Powered by Nabble | Forum Help |
