Guest User

Untitled

a guest
Jun 22nd, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. java.lang.ClassCastException: org.xnio.SingleOption cannot be cast to org.xnio.Option
  2.  
  3. remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=true
  4. remote.connectionprovider.create.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
  5. remote.connections=default
  6. remote.connection.default.host=some.server
  7. remote.connection.default.port=4647
  8. remote.connection.default.connect.options.org.xnio.Options.SSL_ENABLED=true
  9. remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
  10. remote.clusters=ejbremote.cluster.ejb.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
  11. remote.cluster.ejb.connect.options.org.xnio.Options.SSL_ENABLED=true
  12. remote.connection.default.username=user
  13. remote.connection.default.password=password
  14. org.jboss.ejb.client.scoped.context=true
  15. java.naming.factory.url.pkgs=org.jboss.ejb.client.naming
  16.  
  17. <dependency>
  18. <groupId>org.jboss.as</groupId>
  19. <artifactId>jboss-as-ejb-client-bom</artifactId>
  20. <version>7.2.0.Final</version>
  21. <type>pom</type>
  22. </dependency>
  23.  
  24. Context ctx = new InitialContext(properties);
  25. Service service = (Service) ctx.lookup(Service.JNDI_PATH);
  26.  
  27. <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
  28. <deployment>
  29. <dependencies>
  30. <module name="org.jboss.xnio"></module>
  31. </dependencies>
  32. </deployment>
  33. </jboss-deployment-structure>
Add Comment
Please, Sign In to add comment