[JBoss Portal] - portal testsuite changes for running against differetn datab
by prabhat.jha@jboss.com
I was able to run portal testsuite against sqlserver as per Julien?s suggestion that I modify test/output/etc/datasources.xml. As expected, this required having sqlserver jdbc driver in the classpath. The easiest thing I could do was to modify /tools/etc/buildfragments/modules.ent to add my jar to jboss-portal-common-classpath or jboss-portal-test-classpath. This certainly is not a good way to do this.
Since there is a way to run testsuite against different database by adding multiple datasource test/src/etc/datasources.xml, I am guessing there should be a way to specify driver jars for these datasources as well. How has it done by portal team so far?
If it requires manually adding the jar in classpath, then I am suggesting making some changes to build.xml so that we can pass jdbc jar as a parameter to the testsuite build.
Regards,
Prabhat
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977713#3977713
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977713
19 years, 7 months
[Tomcat, HTTPD, Servlets & JSP] - Can not save cookie data
by quintenjiang
I have normal programming on cookie. It is fine to run under IIS. But it can only get Cookie value, and can not set Cookie ubder the Jboss. May i know if there are any configuration to support Cookie?
Thanks,
Quinten
JavaScript Code:
function getCookie(name) {
var cookies = document.cookie;
var start = cookies.indexOf(name + '=');
if (start == -1) return null;
var len = start + name.length + 1;
var end = cookies.indexOf(';',len);
if (end == -1) end = cookies.length;
return unescape(cookies.substring(len,end));
}
function setCookie(name, value, expires, path, domain, secure) {
value = escape(value);
expires = (expires) ? ';expires=' + expires.toGMTString() :'';
path = (path) ? ';path=' + path :'';
domain = (domain) ? ';domain=' + domain :'';
secure = (secure) ? ';secure' :'';
document.cookie =
name + '=' + value + expires + path + domain + secure;
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977711#3977711
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977711
19 years, 7 months
[JBossWS] - Re: virtually hosting a webservice
by g.tomassoni
"maeste" wrote : I think your problem will be solved in jbossws-1.0.4 resolving JBWS-1178.
Mmmh, I'm not shure that is going to solve my problem. What I'm looking for is a way to publish the JSR-181-complian EJB3 WS services (EJBs with WS annotations) packaged on an .ejb3 archive all on a specific virtual host.
I don't see a way to do this with jbossws-1.0.3 because I can't find a suitable annotations (one that lets me specify, say, a "virtualHost" attribute) and the <soap:address> element is somehow hidden to a JSR-181 EJB3 endpoint.
But an idea arises thanks to your web page: what if I'm going to "ship" with my .ear a jbossws.sar service carring a modified version of jbossws.beans/META-INF/jboss-beans.xml? Or, even better, is there any way to override the "standard" jbossws.beans/META-INF/jboss-beans.xml content from an ear or an ejb3?
Thanks,
giampaolo
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977708#3977708
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977708
19 years, 7 months