-
1. Re: Error when deploying JBossESB SmooksAction to server
dennyxu Dec 10, 2009 12:33 AM (in response to bbuzzard)Did you get the "smooks-graphics-ext.xsd can not be located" error from server console or from project deployment ui?
-
2. Re: Error when deploying JBossESB SmooksAction to server
dartpeng Dec 10, 2009 2:17 AM (in response to bbuzzard)Hi bbuzzard:
If you removed the "smooks-graphics-ext.xsd" namespace uri from the smooks config file , the Smooks editor can open it also, but some input informations will lose.
Are you sure that you have removed all XML elements associated the "smooks-graphics-ext.xsd" namespace ? -
3. Re: Error when deploying JBossESB SmooksAction to server
bbuzzard Dec 11, 2009 11:35 AM (in response to bbuzzard)When I open my smooks-config.xml file for the first time in my Eclipse IDE 3.4.0 using JBossTools 3.1 it inserts two lines into the file. The first line is:
<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd" xmlns:csv="http://www.milyn.org/xsd/smooks/csv-1.1.xsd" xmlns:ds="http://www.milyn.org/xsd/smooks/datasource-1.1.xsd" xmlns:ftl="http://www.milyn.org/xsd/smooks/freemarker-1.1.xsd" xmlns:graph="http://www.jboss.org/jbosstools/smooks/smooks-graphics-ext.xsd" xmlns:jb="http://www.milyn.org/xsd/smooks/javabean-1.1.xsd">
And the second line is:<graph:smooks-graphics-ext inputType="csv" platformVersion="1.1"/>
I'm debugging my JBossESB 4.5.GA server from within the IDE. When I select ADD/REMOVE to add my smooks ESB to the server I get an error stating that the the XSD "smooks-graphics-ext.xsd" can not be found.
I'm guessing that I have something incorrectly set in my IDE that's causing the IDE to reinsert the two lines listed above, but I don't know what it is.
Do I need a particular version of JBossESB server for the graph lines to work? What do I need to do to stop the two lines from being added to the ESB? Or, do I need to modify my existing server to tfix the problem? -
4. Re: Error when deploying JBossESB SmooksAction to server
bbuzzard Dec 15, 2009 8:31 PM (in response to dennyxu)I see the error in the server console after I add the ESB project to a running JBossESB server.
At work I'm using: Eclipse IDE Build id: 20090920-1017 and JBoss Tools 3.1.0.v200910281724M-H247-M4.
At home I'm using: Eclipse IDE Build id:20090621-0832 and JBoss Tools 3.1.0.v200909110340M-H277-M3.
When I create a smooks-config.xml file at home a second file called smooks-config.xml.ext is create and it contains the following:
<?xml version="1.0" encoding="UTF-8"?>
<smooks-graphics-ext xmlns="http://www.jboss.org/jbosstools/smooks/smooks-graphics-ext.xsd"/>
and this does not cause any problems when I deploy it to the server.
But when I create a smooks-config.xml file at work the second file is not created. The smooks-graphics-ext stuff is insert into the smooks-config.xml file and when it is deploy I get the error.
Either there's a bug in the newest release of the Tools or I do not have something set up correctly. Any thoughts?
I really need to move past this and it is a really pain to have to go in and remove those lines from the smooks-config.xml file at work everything I click on that file in the project explorer.
-
5. Re: Error when deploying JBossESB SmooksAction to server
dartpeng Dec 16, 2009 2:04 AM (in response to bbuzzard)The smooks tools need some extended informations to record the input file , input type to help it open the config file , so we use the "smooks-graphics-ext" to be the extended xsd.
In 3.1m3 version , the extended informations was recorded in a *.graph file , so when you use the 3.1m3 , you can find that when you open a smooks config file , there is a new *.graph will be generated and placed in the same folder.
But in 3.1m4 version , we merge the extended informations into the smooks config file , it means when you open the config file , the smooks tool didn't generate the *.graph file anymore and insert the extended data into the config file.
When you deploy the smooks config file which was opened with 3.1m4 smooks editor , the ESB can't local the "smooks-graph-ext" xsd via the uri.
So I suggest you try to use the Smooks tools vCR1 :
http://download.jboss.org/jbosstools/builds/nightly/3.1.0.RC1/200912141523/
The new smooks tool removed all extended informations.
-
6. Re: Error when deploying JBossESB SmooksAction to server
bbuzzard Dec 17, 2009 8:34 AM (in response to dartpeng)Bad news. I just updated to http://download.jboss.org/jbosstools/builds/nightly/3.1.0.RC1/200912141523/. Now I get an error dialog when I try to open the smooks-config.xml file with the Smooks Editor. Either this RC has a problem or I didn't prepare Eclipse properly before installing the update. I don't know if this makes any difference, but I used the Update Site. -
7. Re: Error when deploying JBossESB SmooksAction to server
maxandersen Dec 17, 2009 9:18 AM (in response to bbuzzard)Report in jira please. Attach the file that is causing the problems and info about what error you get. Thanks!