-
1. Re: arquillian-glassfish-remote-3.1 - can't login to server
fungin May 18, 2011 8:00 AM (in response to denis_k)I have exactly the same problem and cannot solve it with examples provided on github nor sample arquillian.xml files posted by users. I did try to provide username and password, but it still won't work. Can anyone provide a sample working arquillian.xml file for glassfish 3.1 remote? I've changed nothing in my glassfish installation apart from deleting default domain and creating custom one. How can I make arquillian work with this and pass the auth and deploy on my remote glassfish?
-
3. Re: arquillian-glassfish-remote-3.1 - can't login to server
fungin May 18, 2011 8:21 AM (in response to aslak)is there any ETA for this feature?:)
-
4. Re: arquillian-glassfish-remote-3.1 - can't login to server
aslak May 18, 2011 8:38 AM (in response to fungin)Not currently.. It's open for contribution..
https://github.com/arquillian/arquillian-container-glassfish
-
5. Re: arquillian-glassfish-remote-3.1 - can't login to server
zpaulovics May 20, 2011 10:07 AM (in response to fungin)Hi,
Had the same problem. If you have a development environment on your own desktop (by the time the username/password issue will be solved), you can have a workaround:
Using the GUI DAS console at http://your-domain:4848
Configurations -> server-config -> Security: deselect the Security Manager Enabled checkbox
This way, it works perfectly for me.
Comment: GlassFish will use the standard domain.xml of the application server. You can deploy JDBC datasource connection pool & resource descriptors by using the asadmin command line utility. Attached my datasouces.xml & persistence.xml files.
The arguillian is a fantastic tool. I enjoy using it.
Congratulation for the developer folks!!!
-
test-persistence.xml 1.8 KB
-
my_test_datasources.xml 3.5 KB
-
-
6. Re: arquillian-glassfish-remote-3.1 - can't login to server
denis_k Jun 7, 2011 5:25 AM (in response to zpaulovics)I have Security Manager deselected, but I get 403 error now Could you please attach your arquillian.xml?
-
7. Re: arquillian-glassfish-remote-3.1 - can't login to server
denis_k Jun 7, 2011 5:24 AM (in response to denis_k)It turned out that it wasn't authorization issue at all - for some reason Glassfish throws 403 when there is actually deployment failure - that was the case here. Server's log contained an explanation (ClassNotFoundException). I don't know why it results in 403 instead of something like 500 - but there is definitely no security issue here.
-
8. Re: arquillian-glassfish-remote-3.1 - can't login to server
zpaulovics Jun 30, 2011 11:15 AM (in response to denis_k)Hi,
Yes, the error messages sometimes are not too verbose:-). Anyway, please find attached my arquillian.xml you requested.
Just an information, in the next release due soon (was cheduled to 02/06/2011) you will find the correct solution of the authentication. You will be able to declare your username/password credentials.
The following new config keys will be used:
/**
* Authorised admin user in the remote glassfish admin realm
*/
private String remoteServerAdminUser;
/**
* Authorised admin user password
*/
private String remoteServerAdminPassword;
Regards,
ZoPa
-
arquillian.xml 1.1 KB
-
-
9. Re: arquillian-glassfish-remote-3.1 - can't login to server
zpaulovics Aug 26, 2011 5:12 AM (in response to zpaulovics)Hi,
The GlassFish 3.1 Remote Container integration (REST) currently has a more advanced version:
<artifactId>arquillian-glassfish-remote-3.1</artifactId> <version>1.0.0.Final-SNAPSHOT</version> The related documentation is available here: https://docs.jboss.org/author/display/ARQ/GlassFish+3.1+-+Remote
Regards,
ZoPa
-
10. Re: arquillian-glassfish-remote-3.1 - can't login to server
denis_k Aug 26, 2011 5:30 AM (in response to zpaulovics)Hello Zoltan,
Wow, that's a decent documantation. And remote login works just fine now!
Thanks!