[JBoss Tools (users)] - Re: Migration from JBossIDE 1.6.0 to JBossTools 2.0.0.cr1 &
by Achillix
Max thanx a lot for your response and for the JIRA entry as well!
here is my .packaging
| <?xml version="1.0" encoding="UTF-8"?>
| <configurations>
| <archive destination="" exploded="false" name="SMA_SERVER_SIDE.jar" used="true">
| <folder excludes="" includes="com/gatewaynet/misc/*.class,com/gatewaynet/web/util/TMSA_Utils.class,com/gatewaynet/web/util/GPSException.class,com/gatewaynet/web/util/GPSUtils.class,com/gatewaynet/web/util/CrewUtils.class" location="bin" name="bin" prefix="" project="" projectLocation="bin" used="true"/>
| </archive>
| <archive destination="" exploded="false" name="SMA_COMMON.jar" used="true">
| <folder excludes="" includes="com/gatewaynet/graphs/*.class" location="bin" name="bin" prefix="" project="" projectLocation="bin" used="true"/>
| <file location="/usr/local/misc/packages/jcommon-0.6.4.jar" name="jcommon-0.6.4.jar" prefix="" used="true"/>
| <file location="/usr/local/misc/packages/jfreechart-0.9.2.jar" name="jfreechart-0.9.2.jar" prefix="" used="true"/>
| <file location="/usr/local/misc/packages/jfreechart-1.0.5/lib/jfreechart-1.0.5.jar" name="jfreechart-1.0.5.jar" prefix="" used="true"/>
| <file location="/usr/local/misc/packages/jfreechart-1.0.5/lib/jcommon-1.0.9.jar" name="jcommon-1.0.9.jar" prefix="" used="true"/>
| </archive>
| <archive destination="" exploded="false" name="SMA_EJBs.jar" used="true">
| <folder excludes="" includes="com/gatewaynet/ejbs/*.class,com/gatewaynet/ifs/*.class" location="bin" name="bin" prefix="" project="" projectLocation="bin" used="true"/>
| <file location="src/META-INF/ejb-jar.xml" name="ejb-jar.xml" prefix="META-INF" project="" projectLocation="src/META-INF/ejb-jar.xml" used="true"/>
| <file location="src/META-INF/jboss.xml" name="jboss.xml" prefix="META-INF" project="" projectLocation="src/META-INF/jboss.xml" used="true"/>
| <file location="SMA_SERVER_SIDE.jar" name="SMA_SERVER_SIDE.jar" prefix="" project="" projectLocation="SMA_SERVER_SIDE.jar" used="true"/>
| <file location="SMA_COMMON.jar" name="SMA_COMMON.jar" prefix="" project="" projectLocation="SMA_COMMON.jar" used="true"/>
| </archive>
| <archive destination="" exploded="false" name="SMA_EJBs-Client.jar" used="true">
| <folder excludes="" includes="com/gatewaynet/ifs/*.class" location="bin" name="bin" prefix="" project="" projectLocation="bin" used="true"/>
| </archive>
| <archive destination="" exploded="false" name="SMA_APPLETS.jar" used="false">
| <folder excludes="" includes="com/gatewaynet/web/applets/*" location="bin" name="bin" prefix="" project="" projectLocation="bin" used="true"/>
| </archive>
| <archive destination="" exploded="false" name="SMA_WEB.war" used="true">
| <folder excludes="" includes="com/gatewaynet/web/*.class,com/gatewaynet/web/util/*.class,com/gatewaynet/pdf/*.class,com/gatewaynet/web/util/xml/*.class" location="bin" name="bin" prefix="WEB-INF/classes" project="" projectLocation="bin" used="true"/>
| <file location="src/WEB-INF/jboss-web.xml" name="jboss-web.xml" prefix="WEB-INF" project="" projectLocation="src/WEB-INF/jboss-web.xml" used="true"/>
| <file location="src/WEB-INF/web.xml" name="web.xml" prefix="WEB-INF" project="" projectLocation="src/WEB-INF/web.xml" used="true"/>
| <file location="SMA_EJBs-Client.jar" name="SMA_EJBs-Client.jar" prefix="WEB-INF/lib" project="" projectLocation="SMA_EJBs-Client.jar" used="true"/>
| <folder excludes="" includes="" location="docroot" name="docroot" prefix="" project="" projectLocation="docroot" used="true"/>
| <folder excludes="" includes="" location="src/WEB-CONF/taglibs" name="taglibs" prefix="WEB-INF" project="" projectLocation="src/WEB-CONF/taglibs" used="true"/>
| <folder excludes="" includes="" location="src/WEB-CONF/taglibs-jars" name="taglibs-jars" prefix="WEB-INF/lib" project="" projectLocation="src/WEB-CONF/taglibs-jars" used="true"/>
| <file location="SMA_COMMON.jar" name="SMA_COMMON.jar" prefix="WEB-INF/lib" project="" projectLocation="SMA_COMMON.jar" used="true"/>
| <file location="/usr/local/misc/packages/itext-1.3.jar" name="itext-1.3.jar" prefix="WEB-INF/lib" used="true"/>
| <file location="/usr/local/misc/packages/jep212.jar" name="jep212.jar" prefix="WEB-INF/lib" used="true"/>
| <file location="/usr/local/misc/packages/jakarta-poi-1.8.0-dev-20020919.jar" name="jakarta-poi-1.8.0-dev-20020919.jar" prefix="WEB-INF/lib" used="true"/>
| <file location="SMA_APPLETS.jar" name="SMA_APPLETS.jar" prefix="" project="" projectLocation="SMA_APPLETS.jar" used="true"/>
| <file location="/usr/local/misc/packages/commons-codec-1.3/commons-codec-1.3.jar" name="commons-codec-1.3.jar" prefix="" used="true"/>
| <file location="/usr/local/misc/packages/commons-fileupload-1.1.1/commons-fileupload-1.1.1.jar" name="commons-fileupload-1.1.1.jar" prefix="WEB-INF/lib" used="true"/>
| <file location="/usr/local/misc/packages/commons-logging-1.0.4/commons-logging.jar" name="commons-logging.jar" prefix="" used="true"/>
| <file location="commons-httpclient-2.0.2.jar" name="commons-httpclient-2.0.2.jar" prefix="" project="" projectLocation="commons-httpclient-2.0.2.jar" used="true"/>
| <file location="/usr/local/misc/packages/AjaxTAGS/ajaxtags-1.2-beta2/dist/ajaxtags-1.2-beta2.jar" name="ajaxtags-1.2-beta2.jar" prefix="WEB-INF/lib" used="true"/>
| <file location="/usr/local/misc/packages/AjaxTAGS/ajaxtags-1.2-beta2/lib/jstl-1.0.6.jar" name="jstl-1.0.6.jar" prefix="WEB-INF/lib" used="true"/>
| <file location="/usr/local/misc/packages/AjaxTAGS/ajaxtags-1.2-beta2/lib/standard-1.0.6.jar" name="standard-1.0.6.jar" prefix="WEB-INF/lib" used="true"/>
| <file location="/usr/local/misc/packages/AjaxTAGS/ajaxtags-1.2-beta2/lib/commons-lang-2.1.jar" name="commons-lang-2.1.jar" prefix="WEB-INF/lib" used="true"/>
| <file location="/usr/local/misc/packages/commons-httpclient-2.0.2/commons-httpclient-2.0.2.jar" name="commons-httpclient-2.0.2.jar" prefix="WEB-INF/lib" used="true"/>
| <file location="/usr/local/misc/packages/commons-logging-1.0.4/commons-logging.jar" name="commons-logging.jar" prefix="WEB-INF/lib" used="true"/>
| <file location="/usr/local/misc/packages/dwr/be_telio.jar" name="be_telio.jar" prefix="WEB-INF/lib" used="true"/>
| <file location="/usr/local/misc/packages/dwr/commons-io-1.1.jar" name="commons-io-1.1.jar" prefix="WEB-INF/lib" used="true"/>
| <file location="/usr/local/misc/packages/dwr/dwr.jar" name="dwr.jar" prefix="WEB-INF/lib" used="true"/>
| <file location="src/WEB-CONF/dwr.xml" name="dwr.xml" prefix="WEB-INF/" project="" projectLocation="src/WEB-CONF/dwr.xml" used="true"/>
| <file location="/usr/local/misc/packages/jfreechart-1.0.5/lib/jcommon-1.0.9.jar" name="jcommon-1.0.9.jar" prefix="WEB-INF/lib" used="true"/>
| <file location="/usr/local/misc/packages/jfreechart-1.0.5/lib/jfreechart-1.0.5.jar" name="jfreechart-1.0.5.jar" prefix="WEB-INF/lib" used="true"/>
| </archive>
| <archive destination="" exploded="false" name="SMA.ear" used="true">
| <file location="src/META-INF/application.xml" name="application.xml" prefix="META-INF" project="" projectLocation="src/META-INF/application.xml" used="true"/>
| <file location="SMA_EJBs.jar" name="SMA_EJBs.jar" prefix="" project="" projectLocation="SMA_EJBs.jar" used="true"/>
| <file location="SMA_WEB.war" name="SMA_WEB.war" prefix="" project="" projectLocation="SMA_WEB.war" used="true"/>
| </archive>
| <archive destination="" exploded="false" name="SMA_PER.jar" used="true">
| <folder excludes="" includes="com/gatewaynet/periodic/*.class,com/gatewaynet/ifs/StatusRem.class,com/gatewaynet/ifs/StatusRemHome.class,com/gatewaynet/web/util/xml/*.class" location="bin" name="bin" prefix="" project="" projectLocation="bin" used="true"/>
| </archive>
| <archive destination="" exploded="false" name="SMA_UTIL.jar" used="true">
| <folder excludes="" includes="com/gatewaynet/util/*.class,com/gatewaynet/web/util/*.class" location="bin" name="bin" prefix="" project="" projectLocation="bin" used="true"/>
| </archive>
| </configurations>
|
Again, thanx a lot for your help, lets hope someone deals with this upgradearchiving program.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109201#4109201
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109201
18 years, 4 months
[JBossWS] - MTOM interop issue with WSE 3.0
by jmaenen
Hello,
I'm trying to create an MTOM client ( .net 2.0 ) within C# and WSE 3.0 for the XOP webservices provided by the jbossws 2.0.2 samples.
It looks like the server respons wel to the request but the client has an issue with the result :
Client found response content type of 'multipart/related;
MTOM enable on the client
Off course this is an MS issue but i wonder if more people did encounter this issue and did found an workaround ?
regards
below the SOAP repsons
{"Client found response content type of 'multipart/related;
type=\"application/xop+xml\"; start=\"<rootpart(a)ws.jboss.org>\";
\tstart-info=\"text/xml\";
\tboundary=\"----=_Part_48_22086523.1196410132767\"', but expected 'text/xml'.\r\n
The request failed with the error message:\r\n--\r\n\r\n
------=_Part_48_22086523.1196410132767\r\n
Content-Type: application/xop+xml; type=\"text/xml\"\r\n
Content-Transfer-Encoding: 8bit\r\n
Content-ID: <rootpart(a)ws.jboss.org>\r\n\r\n
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header></env:Header>
<env:Body>
<ns1:returnDataHandlerResponse xmlns:ns1=\"http://org.jboss.ws/xop/doclit\">
<xop:Include xmlns:xop=\"http://www.w3.org/2004/08/xop/include\" href=\"cid:dataHandler-4b229661-864f-4a53-9f84-2ca8fa4ab06@ws.jboss.org\"/>
</ns1:returnDataHandlerResponse>
</env:Body>
</env:Envelope>\r\n
------=_Part_48_22086523.1196410132767\r\n
Content-Type: text/plain\r\n
Content-Transfer-Encoding: binary\r\n
Content-Id: <dataHandler-4b229661-864f-4a53-9f84-2ca8fa4ab06(a)ws.jboss.org>\r\n\r\n
Server data\r\n
------=_Part_48_22086523.1196410132767--\r\n\r\n--."}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109200#4109200
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109200
18 years, 4 months
[JBoss Seam] - Re: Exception with basic authentication
by lowecg2004
I had a look at the code for AuthenticationFilter.processBasicAuth(). It actually looks like Identity is not being found in the context:
private void processBasicAuth(HttpServletRequest request,
| HttpServletResponse response, FilterChain chain)
| throws IOException, ServletException
| {
| Context ctx = new SessionContext( new ServletRequestSessionMap(request) );
| Identity identity = (Identity) ctx.get(Identity.class);
|
| // identity is null
| }
For what it's worth, here is the HTTP request:
GET /MisuraServices/auth/authenticate.seam HTTP/1.0
| Host: localhost:8080
| User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.10) Gecko/20071115 Firefox/2.0.0.10
| Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
| Accept-Language: en-us,en;q=0.5
| Accept-Encoding: gzip,deflate
| Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
| Keep-Alive: 300
| Cookie: sys_testCookie=True; JSESSIONID=65C3BE650E56D7F8506901B811CC6B97
Cheers,
C.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109195#4109195
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109195
18 years, 4 months
[JBoss Seam] - Re: generating forms programatically
by jcruise
The renderers are just the metadata-driven generic form templates. I chose to use facelets to generate the forms rather than building custom jsf controls because it has such great composition functionality. I considered writing a jsf control for a custom grid or panel that was driven by my metadata model components. However, that seemed like hard, error prone work and it would be difficult to keep up with the state of the art in JSF gui's. In essence I didn't want to be building yet another JSF GUI lib. So I use facelets to dynamically build the higher level UI abstractions on top of the component set du jour.
The form templates (renderers) basically just loop over metadata using c:forEach to insert fields components into the page. I use facelets source tags for the "master" field component (to make the parameter passing nice), and within that I use ui:include with an expression for the src attribute to dynamically include correct jsf tags for the particular field type.
The essence of this approach is that the c: tags are processed before the rest of the jsf lifecycle processing, so they effectively act as a component tree generator.
Hope this helps.
Cheers
J
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109191#4109191
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109191
18 years, 4 months