tc-server-6.0.20.C\conf catalina.properties contains the port
Type: Posts; User: tonycav; Keyword(s):
tc-server-6.0.20.C\conf catalina.properties contains the port
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...
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...
My bad
@Before("execution(* com.employee.service.*.setEmployee())&& args(emp)")
should be
@Before("execution(* com.employee.service.*.setEmployee(..))&& args(emp)")
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...
I have created a Aspect EmployeeAspect.aj
@Aspect
public aspect EmployeeAspect {
@Before("execution(* com.employee.domain.*.persist(..))")
public void doIDcheck(){
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...
Thanks will test for that on the next ro project.
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.
...
Hi Stefan
I think I see what you mean
for
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "agreement_id")
protected Integer agreementId;
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...
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...
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 ...
Its only the vars with the @id annotation that should be protected not private
Sorry I mean change it to protected it works.
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...
Fixed
ApplicationContext ctx = new ClassPathXmlApplicationContext("classpath*:META-INF/spring/applicationContext*.xml");
MyService service = (MyService)ctx.getBean("myServiceProxy");
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...
Found a fix in test added
@Test
public void testPerson(){
ApplicationContext ctx = new ClassPathXmlApplicationContext("classpath*:META-INF/spring/applicationContext.xml");
person =...
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;...
The url should be http://localhost:8080/remoteApp-0.1.0-SNAPSHOT/remoting/remoteService
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...
did not put the sqljdbc-1.0.jar in my \tc-server-6.0.20.C\lib
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:
I have found a workaround
I have commented out the following line in my conf/context.xml
<Loader loaderClass="com.springsource.tcserver.ltw.TomcatAspectJWeavingClassLoader"...