ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » monitor xml failedd to import(Urgent)

Post new topic  Reply to topic
 monitor xml failedd to import(Urgent) « View previous topic :: View next topic » 
Author Message
kaki
PostPosted: Fri May 05, 2006 5:51 am    Post subject: monitor xml failedd to import(Urgent) Reply with quote

Newbie

Joined: 04 May 2006
Posts: 5

Hi all,
I am getting the following error while i am importing the xml in to monitor.

Error due to: java.rmi.RemoteException:; nested exception is: org.jdom.IllegalNameException: The name "Processes" is not legal for JDOM/XML elements: Element names cannot contain colons.

Any one please help me to sort out this issue.

Environment: woorkflow 3.6,
monitor: 4.2.4,fixpack 3
os:AIX 5.
Thanks.
Back to top
View user's profile Send private message
awouda
PostPosted: Mon May 29, 2006 4:18 am    Post subject: Reply with quote

Newbie

Joined: 29 May 2006
Posts: 1

Hi,

did you find a solution for this problem?
We encountered the exact same error message for an Element wich name is defined as a static final String (with of course no colon in it), and still the error message...

Our environment is somewhat different:
Websphere Application server 5.1
Windows 2000 / Windows 2003
Websphere MQ series.

We have the following situation:

The piece of code:

Code:

private static final String ROOT_ELEMENT_NAME = "HGRQ";
......
org.jdom.Element rootElement = new Element(ROOT_ELEMENT_NAME);
org.jdom.Document doc = new Document(rootElement);


The implementation from Jdom:

Code:

    public Element(String name)
    {
        this(name, ((Namespace) (null)));
    }

    public Element(String name, Namespace namespace)
    {
        setName(name);
        setNamespace(namespace);
    }

    public Element setName(String name)
    {
        String reason;
        if((reason = Verifier.checkElementName(name)) != null)
        {
            throw new IllegalNameException(name, "element", reason);
        } else
        {
            this.name = name;
            return this;
        }
    }


The Verifier code from Jdom:
Code:
  public static final String checkElementName(String name)
    {
        String reason;
        if((reason = checkXMLName(name)) != null)
            return reason;
        if(name.indexOf(":") != -1)
            return "Element names cannot contain colons";
        else
            return null;
    }


The error:

Code:
The name "HGRQ" is not legal for JDOM/XML elements: Element names cannot contain colons


The stacktrace:
Code:

org.jdom.IllegalNameException: The name "HGRQ" is not legal for JDOM/XML elements: Element names cannot contain colons.
   at org.jdom.Element.setName(Element.java(Inlined Compiled Code))
   at org.jdom.Element.<init>(Element.java(Inlined Compiled Code))
   at org.jdom.Element.<init>(Element.java(Inlined Compiled Code))
   at nl.spaarbeleg.connection.mq.MQMessageDefinitionABA.<init>(MQMessageDefinitionABA.java(Inlined Compiled Code))


We we're tinking of some codepage problem but shouldn't there be a colon in the error message like

Code:

The name "HG:Q"  is not legal etc. etc.


Could it be some JVM bug or something? I.e. the jvm points to an address where a colon is in the string?

The thing is, our application is deployed, test scripts are run and several XML messages are build, a couple of 100. And then at some point the XML is not build correctly anymore because of the error "colon-issue".

[/code]
Back to top
View user's profile Send private message
kaki
PostPosted: Thu Jun 08, 2006 11:05 am    Post subject: element contains Colons(:) Reply with quote

Newbie

Joined: 04 May 2006
Posts: 5

we solved the issue.
The problem is with JVM only. you can fix the problem with JVM 1.4.2
Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » monitor xml failedd to import(Urgent)
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.