Search:

Type: Posts; User: charles-xie; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    624

    Finally, I work it out! I missed the annotation...

    Finally, I work it out!
    I missed the annotation '@XmlType' at the JAXB class just as follow:

    @XmlType
    @XmlRootElement
    public class StartProcessRequest{
    ...
    }

    Hoo~~:cool:
  2. Replies
    2
    Views
    624

    The problem still remains even I upgrade Spring...

    The problem still remains even I upgrade Spring WS to 1.5.9 and 1.5.10. By the way I use JDK 1.6 which already includes JAXB2's API instead of standalone version, could this be the reason?:( It...
  3. Replies
    2
    Views
    624

    No adapter for endpoint. HELP!!!

    I create a Web Service with JAXB2 according to the Spring Web Services Reference. The service started successfully, but when I use soap-ui to send request, it throws the followed exception:

    ...
  4. Can someone send me the file 'spring-ws-1.5.9-with-dependencies.zip'? Thanks!

    I can't download it from http://s3.amazonaws.com/dist.springframework.org/release/SWS/spring-ws-1.5.9-with-dependencies.zip, the page can not be open.:(

    Just send to email: 25757639@qq.com, thanks...
  5. Good, you are right. It seems that I should read...

    Good, you are right. It seems that I should read the Spring Security Reference document more carefully.:)
  6. I can only get the instance of...

    I can only get the instance of DaoAuthenticationProvider from <sec:authentication-manager alias="authenticationManager"/>, but the "getPasswordEncoder()" method is protected instead of pubilc.:(
  7. How to get configuration info of security in Java code?

    How can I get configuration info such as PasswordEncoder in Java code? Is there any related API of Spring Security?

    My security configuration file is(partial):
    ...
    <sec:authentication-manager...
  8. The error occurs when I test the tx() method of...

    The error occurs when I test the tx() method of PurchaseOrderImpl, which of the printDate() method is specified in another aspect in aop-config.xml. If I remove the aspect, the test is OK. Why?
    ...
  9. I put them in one block, but the...

    I put them in one <aop:config/> block, but the same error still occurs.
  10. Here I paste the code for details.

    PurchaseOrderService:

    package com.jec.myframework.services;

    import java.util.Date;
    import java.util.List;

    import com.jec.myframework.base.BaseBizException;

    public interface...
  11. No session or session was closed when use

    Before I add a new <aop:config></aop:config>(or an aspect), the test is OK within Transaction. But after that, the test complains "no session or session was closed":(

    The tested method simply is...
  12. Replies
    3
    Views
    2,617

    I make it more clear: I change the...

    I make it more clear:
    I change the cronExpresstion from "0/5 * * * * ?" to "0/10 * * * * ?" and the nextFireTime in MC4J, but it seems that the task still run every 5 seconds.:confused:
  13. Replies
    2
    Views
    3,209

    Hi, dpfarr: spring_dm's right. You can use...

    Hi, dpfarr:
    spring_dm's right. You can use InterfaceBasedMBeanInfoAssembler instead to expose your method more flexible. By the way, did you invoked these methods you listed successfully?
    ...
  14. Another problem, JMX

    Now I want change "printScheduleTask"'s schedule without redeploy, so I export the "printScheduleTask" bean to a MBean through JMX. And the MC4J displays the very MBean's attributes and methods I...
  15. Replies
    3
    Views
    2,617

    Problem of using JMX and Quartz together

    MC4J shows each MBean I exported from normal beans, i.e. Quartz task beans and I see 2 properties: "CronExpression" and "NextFireTime" and their getter/setter.

    But it seems that MC4J doesn't make...
  16. I add declaration of the targetMethod into the...

    I add declaration of the targetMethod into the interface, the Quartz works again, yes!

    Thank you, duckbill.:D
  17. schedule-config.xml:

    schedule-config.xml:

    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
  18. And here I paste the console error and my code: ...

    And here I paste the console error and my code:

    console (partial):


    严重: Exception sending context initialized event to listener instance of class...
  19. Quartz Error when targetMethod annotated as @Transactional

    For example, I want Quartz to run "print()" in class "MyService" which defined as follow:


    public class MyService {

    @Transactional
    public void print(){
    ...
  20. Replies
    0
    Views
    1,753

    Problem of javax.mail.Session & JNDI

    My spring config is:

    <jee:jndi-lookup id="mailSession" jndi-name="mail/Session" resource-ref="true"
    lookup-on-startup="false" proxy-interface="javax.mail.Session" />

    The error is:...
  21. Replies
    0
    Views
    743

    Velocity resouce not found!

    I'm using spring with velocity to make E-mail template, and I put all *.vm files in /WEB-INF/templates/mail, not else location. VelocityEngine bean is:

    <bean id="velocityEngine"...
  22. Replies
    10
    Views
    8,950

    I think it is because of spring-ws-1.5.5-all.jar....

    I think it is because of spring-ws-1.5.5-all.jar. The bug is SWS-454.:mad:
    I have to use each jar in different modules.
  23. Replies
    10
    Views
    8,950

    ERROR about

    I gotta "cvc-complex-type.2.4.c" error from the console after Tomcat (6.x, JDK1.6) started while I'm using XML Schema-based configuration of JAXB2:

    The matching wildcard is strict, but no...
Results 1 to 23 of 23