[JBoss Web Services] - WS-Security without Spring, without WS-Policy and without the CXF annotations?
by Matt Wringe
Matt Wringe [https://community.jboss.org/people/mwringe] created the discussion
"WS-Security without Spring, without WS-Policy and without the CXF annotations?"
To view the discussion, visit: https://community.jboss.org/message/751071#751071
--------------------------------------------------------------
Is it possible to configure ws-security with JBossWS CXF Stack without using Spring, without using ws-policy, and without using the cxf annotations in the service classes?
I need to configure ws-security with wsrp, and wsrp is _not_ compatible with ws-policy (its against the spec, it may be supported in the next spec version but its not in the current one). So I can't just use ws-policy with the configuration properties to enable ws-security.
It looks like you still have the pre and post soap handlers for the CXF stack like you did with the native stack ( https://docs.jboss.org/author/display/JBWS/Predefined+client+and+endpoint... https://docs.jboss.org/author/display/JBWS/Predefined+client+and+endpoint...). But this is only for adding in soaphandlers, and cxf is configured using interceptors, which means I can't use this to add the security interceptors. Is there anyway to add in intereceptors in a similar manner?
IIts possible to use the cxf annotations on the java service classes to add in the security interceptors, but this means making our service classes dependent on cxf or having to have separate classes just for cxf. This really isn't an acceptable solution either, we need to support more than one application server.
Since the recommended way to configure CXF is to use Spring configuration files, I am confused why Spring is not the recommended manner to configure cxf in JBossWS (and Spring isn't include in AS7 either). Or is Spring the recommended manner with the cxf stack in JBossWS and I am reading the docs wrong? I would rather not have to add a spring dependency, but it looks like this might be the only real solution :/
Am I missing anything obvious on how to do this in a manner that is not dependent on spring, ws-policy or custom cxf only classes with the special cxf annotations?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/751071#751071]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 8 months
[jBPM] - [insert-error] jBPM 5.3 with MySQL
by hiroro
hiroro [https://community.jboss.org/people/hiroro] created the discussion
"[insert-error] jBPM 5.3 with MySQL"
To view the discussion, visit: https://community.jboss.org/message/751217#751217
--------------------------------------------------------------
I try jBPM not only with PostgreSQL but also MySQL.
I try Evaluation Sample with MySQL,
Following Error is occuerd internal.
22:01:51,530 ERROR [stderr] (Thread-16) Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: FUNCTION jbpm5.nextval does not exist
22:01:51,530 ERROR [stderr] (Thread-16) at sun.reflect.GeneratedConstructorAccessor37.newInstance(Unknown Source)
22:01:51,530 ERROR [stderr] (Thread-16) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
22:01:51,530 ERROR [stderr] (Thread-16) at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
22:01:51,639 ERROR [stderr] (Thread-16) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
22:01:51,639 ERROR [stderr] (Thread-16) at com.mysql.jdbc.Util.getInstance(Util.java:386)
22:01:51,639 ERROR [stderr] (Thread-16) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
22:01:51,639 ERROR [stderr] (Thread-16) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4096)
22:01:51,639 ERROR [stderr] (Thread-16) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4028)
22:01:51,639 ERROR [stderr] (Thread-16) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2490)
22:01:51,733 ERROR [stderr] (Thread-16) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2651)
22:01:51,733 ERROR [stderr] (Thread-16) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2683)
22:01:51,733 ERROR [stderr] (Thread-16) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2144)
22:01:51,733 ERROR [stderr] (Thread-16) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2310)
22:01:51,733 ERROR [stderr] (Thread-16) at org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:462)
22:01:51,842 ERROR [stderr] (Thread-16) at org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:98)
22:01:51,842 ERROR [stderr] (Thread-16) ... 17 more
Because of this Error, nothig is registered to "task" table.
So,I can regist the process,but nothing is shown task menu.(So, I can not Proceed the Task).
Why is this Error occuerd?
Please tell me how to resolve this problem.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/751217#751217]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 8 months