Search:

Type: Posts; User: tonycav; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. tc-server-6.0.20.C\conf catalina.properties...

    tc-server-6.0.20.C\conf catalina.properties contains the port
  2. where can I find the port 8080 in tc-server-6.0.20.C conf

    I need to change the port number in my tc-server-6.0.20.C, port 8080 is being used by a oracle. so I want to just change it to 8090.

    I expeced it to be in conf/Server.xml which I guess was silly...
  3. Replies
    0
    Views
    961

    Simple tc Server Developer question

    I have started my tc Server Developer and have the start up page

    http://localhost:8080/

    What I need is the name of the admin page that allows me to load an unload War files.

    I know there is...
  4. Replies
    2
    Views
    740

    My bad @Before("execution(*...

    My bad


    @Before("execution(* com.employee.service.*.setEmployee())&& args(emp)")


    should be

    @Before("execution(* com.employee.service.*.setEmployee(..))&& args(emp)")
  5. Replies
    2
    Views
    740

    I think I got my understanding wrong, it wont...

    I think I got my understanding wrong, it wont call persist since persist does not take any arguments. I have a method setEmployee which takes a employee as an argument.

    so I added the following...
  6. Replies
    2
    Views
    740

    @Before not working with arguments

    I have created a Aspect EmployeeAspect.aj



    @Aspect
    public aspect EmployeeAspect {


    @Before("execution(* com.employee.domain.*.persist(..))")
    public void doIDcheck(){
  7. How does CascadeType.All work under the covers

    I have a parent child relationship

    Parent Entity Child Entity, when I persist the child enity I wish to persist the parent.

    childEntity.persist()

    As you can guess when I call...
  8. Thanks will test for that on the next ro project.

    Thanks will test for that on the next ro project.
  9. Hi sorry never did figure what the problem was,...

    Hi sorry never did figure what the problem was, but I am in the habit of doing a clean maven build every morning before I start anything else.

    So have not come across the problem again.
    ...
  10. Hi Stefan I think I see what you mean for ...

    Hi Stefan

    I think I see what you mean

    for

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "agreement_id")
    protected Integer agreementId;
  11. Hi in my code I put AgreementEntity.java @Id ...

    Hi in my code I put AgreementEntity.java

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "agreement_id")
    protected Integer agreementId;


    In my roo_entity.aj...
  12. Thanks will try it tomorrow. And let you know the...

    Thanks will try it tomorrow. And let you know the resault. I dare say it will also solve the problem of the reverse engineered entitys, where entityA id is mapped to entityAId in entityB, but for...
  13. roo generates Column(name = "id")for a enity that maps to a table that has no id col

    I have a enity, that maps to a table that has no Column name called "id".

    When ever I start roo it automatically regenerates my _roo_entity.aj and _roo_ToString.aj files.

    and includes

    @Id ...
  14. Replies
    8
    Views
    1,555

    Its only the vars with the @id annotation that...

    Its only the vars with the @id annotation that should be protected not private
  15. Replies
    8
    Views
    1,555

    Sorry I mean change it to protected it works.

    Sorry I mean change it to protected it works.
  16. Replies
    8
    Views
    1,555

    The first var customerId. Create a new entity it...

    The first var customerId. Create a new entity it will hang, change it to private it works.


    @Entity
    @org.hibernate.annotations.Entity(dynamicUpdate = true)
    @RooJavaBean
    @RooToString...
  17. Fixed ApplicationContext ctx = new...

    Fixed


    ApplicationContext ctx = new ClassPathXmlApplicationContext("classpath*:META-INF/spring/applicationContext*.xml");
    MyService service = (MyService)ctx.getBean("myServiceProxy");
  18. java.lang.ClassCastException: $Proxy9 cannot be cast to org.springframework.remoting.

    Hi thanks for any help being banging my head over this for the whole weekend. I need to acces a remote service using HttpInvokerProxyFactoryBean but not using autowired which does work and looks...
  19. Replies
    1
    Views
    500

    Found a fix in test added @Test public...

    Found a fix in test added

    @Test
    public void testPerson(){
    ApplicationContext ctx = new ClassPathXmlApplicationContext("classpath*:META-INF/spring/applicationContext.xml");
    person =...
  20. Replies
    1
    Views
    500

    Bean dependancy injection problem

    I need a good simple tutorial on bean dependancy injection not using autowire.

    I have a simple bean

    package uk.com.domain.mybean.person;

    public class Person {
    private String firstName;...
  21. The url should be...

    The url should be http://localhost:8080/remoteApp-0.1.0-SNAPSHOT/remoting/remoteService
  22. need help in building a url to a remote service

    I keep getting a Could not access HTTP invoker remote service at
    HTTP response: status code = 404, status message = [Not Found]

    Which means it can connect to the server but cant find the...
  23. did not put the sqljdbc-1.0.jar in my...

    did not put the sqljdbc-1.0.jar in my \tc-server-6.0.20.C\lib
  24. Name jdbc is not bound in this Context :Error

    When I deploy my war file an start the server I get the following error:

    Name jdbc is not bound in this Context.

    my datasource is jdbc/EnterpriseAppDS

    I have updated the following files:
  25. I have found a workaround I have commented out...

    I have found a workaround

    I have commented out the following line in my conf/context.xml

    <Loader loaderClass="com.springsource.tcserver.ltw.TomcatAspectJWeavingClassLoader"...
Results 1 to 25 of 35
Page 1 of 2 1 2