[JBossWS] - Re: Exception client / User guide Echo sample
by valjjou
Thanks Peter for your help.
I use JBoss 4.0.5 GA and WS 1.2.
I try with saaj.jar but i always have an exception, a soap exception:
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at $Proxy15.echo(Unknown Source)
at echo.EchoClient.main(EchoClient.java:9)
Caused by: javax.xml.soap.SOAPException: Could not transmit message
at org.jboss.ws.core.soap.SOAPConnectionImpl.callInternal(SOAPConnection Impl.java:221)
at org.jboss.ws.core.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:109)
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:309)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:185)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:163)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:149)
... 2 more
This is only a part of the exception... I use wsrunclient...
Thanks for help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026188#4026188
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026188
19Â years, 1Â month
[JBoss Seam] - Re: Exadel, JBoss and Seam
by tnfink
"petemuir" wrote : "lisaanm" wrote : the team should provide a short integration guide for RichFaces-Seam
|
| AFAIK you would set up a project as if for ajax4jsf (seam-gen will do this for you :) and just drop the richfaces jar into WEB-INF/lib
we tried this. But it only worked with simple components (e.g., the separator). If we bound the suggestion box to a Seam managed bean, we encountered class loading problems. We then put the jars from richfaces, ajaf4jsf, and oscache into the root of the EAR and added them as Java-modules. This solved the problems.
We tested the suggestion box, the data table, and the panel and everything worked fine. The skins seem to be missing and the documentation is a little bit sparse.
But all in all, it is usable now and it can only become better :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026185#4026185
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026185
19Â years, 1Â month
[Beginners Corner] - JBoss JAAS DatabaseSeverLoginModule problem
by safwateleish
I have the same problem. authentication fails and i am being redirected to the error page without any log indicating the error that happened. My configurations are as follows:
I added the following entry to the login-config.xml
<application-policy name = "jbossdatabaseBilling">
<login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule"
flag = "required">
<module-option name = "unauthenticatedIdentity">guest</module-option>
<module-option name = "dsJndiName">java:/myDS</module-option>
<module-option name = "principalsQuery">SELECT PASSWORD passwd FROM USERS WHERE USERNAME=?</module-option>
<module-option name = "rolesQuery">SELECT ROLENAME userRoles, 'Roles' FROM DUMMYROLES WHERE USERNAME =?</module-option>
</login-module>
</application-policy>
By the way my database is oracle. and i jave defined myDS in oracle-ds.xml in the deploy directory of my server.
I have the jboss-web.xml in the same directory of the web.xml of my web application. It has the following entry
<security-domain>java:/jaas/jbossdatabaseBilling</security-domain>
finally in the web.xml file i added the following sections
<security-role>
<role-name>users</role-name>
</security-role>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/error.jsp</form-error-page>
</form-login-config>
</login-config>
<security-constraint>
<web-resource-collection>
<web-resource-name>whatever</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>POST</http-method>
<http-method>GET</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>users</role-name>
</auth-constraint>
</security-constraint>
<security-constraint>
-----
I am still being redirected to the error page. Any hint ? Please i need help.
I am posting this as a new post. I have corrected my typing mistake in the previous post
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026180#4026180
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026180
19Â years, 1Â month