Search:

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

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    454

    Toplink transactions

    Hello
    I'm migrating the GlassFish EJB 3 application to Spring.

    The application contains number of entities and JPA services that load/store these entities from/to database.

    The database is...
  2. Replies
    3
    Views
    6,236

    Application configuration

    The App1 configuration:


    <bean id="mbeanServer" class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiName" value="java:comp/env/jmx/runtime" />
    </bean>

    <bean...
  3. Replies
    3
    Views
    6,236

    Problems with session scope bean

    Hello, I need help with the following design.

    I have a web application (App1) that uses spring and puts some beans in session scope using "aop:scoped-proxy".
    The application works fine, all the...
  4. persistence.xml

    Hello Raphael,

    my persistence.xml is as follows:


    <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">

    <persistence-unit name="Simple" transaction-type="JTA">
    ...
  5. I've found the problem in Weblogic deployment:...

    I've found the problem in Weblogic deployment:
    I've removed the




    <property name="loadTimeWeaver">
    <bean class="org.springframework.instrument.classloading.SimpleLoadTimeWeaver"/>...
  6. The entity class

    package com.jacada.config.data;

    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.Table;
    import javax.xml.bind.annotation.XmlRootElement;
    import...
  7. Weblogic exceptions 2

    <Feb 28, 2007 5:59:29 PM GMT+02:00> <Error> <HTTP> <BEA-101216> <Servlet: "context" failed to preload on startup in Web
    application: "ServerConfigurationDbTestWithRAmssql"....
  8. Weblogic exceptions 1

    Weblogic exceptions:


    Warning: Caught exception attempting to use SAX to load a SAX XMLReader
    Warning: Exception was: java.lang.ClassCastException: weblogic.apache.xerces.parsers.SAXParser...
  9. Websphere exception

    Websphere exception:



    org.springframework.dao.InvalidDataAccessApiUsageException: Unknown entity: com.jacada.config.data.SimpleConfigurationObject; nested exception is...
  10. Spring 2.0 JPA support with Hibernate 3.2. on Weblogic 9.2/Websphere 6.1

    Hello,

    I would like to use the Spring 2.0 JPA support with Hibernate 3.2.
    I have a standalone application which is works fine.
    Now I would like to run this application on Weblogic 9.2/Websphere...
  11. Replies
    9
    Views
    4,996

    The solution.

    Hello all,

    I know what was the problem and I think that I have a solution.

    The problem was that in the runtime there were 2 MBeanServers, and the client query was ponting to the wrong one.
    ...
  12. Replies
    9
    Views
    4,996

    Thank you David, both client and server are...

    Thank you David,

    both client and server are running on the same machine, and both of them are configured with "localhost" as hostname.
    So it probably something else.

    Victor.
  13. Replies
    9
    Views
    4,996

    JMX Server/Client implementation problems

    I've added lazy-init="false" to my beans - same result.
    I've connected with jconsole and I can not see the MBean (I see only the connector/rmi MBean which is the serverConnector).

    my new server...
  14. Replies
    9
    Views
    4,996

    JMX Server/Client implementation problems

    Than you.

    I've tried to change the url in the client so it will be the same as in the server, but I've got the same exception.

    Victor.
  15. Replies
    9
    Views
    4,996

    JMX Server/Client implementation problems

    Hello,
    I'm trying to implement JMX server side and client side.

    I have the following xml in the server side:


    <beans>
    <bean...
  16. Replies
    3
    Views
    5,626

    Webpshere 6.1 listen host and port

    Thanks you for the answer,



    in my case the code is running inside the application, so it does not need to connect to Websphere.

    I will continue to search in Websphere documentation.
  17. Replies
    3
    Views
    5,626

    Webpshere 6.1 listen host and port

    Hello,
    I'm using Spring 2.0 in my applications in Websphere 6.1.
    Now there's a requirement to calculate the host and port on which this specific instance of websphere is listenning.
    Is it possible...
  18. No, it doesn't help - the same ClassCastException

    No, it doesn't help - the same ClassCastException
  19. When I do mif.getObjectType() I get MyInterface...

    When I do mif.getObjectType() I get MyInterface which is good I guess,
    but the casting fails.
    If I do
    MyInterface mi = (MyInterface)appContext.getBean("MyServiceBean");
    instead, every thing...
  20. The line: ...

    The line:

    ConfigurableHttpInvokerProxyFactoryBean mif = (ConfigurableHttpInvokerProxyFactoryBean) appContext.getBean("&MyServiceBean");


    is OK (what is this & ), but the line:

    MyInterface...
  21. I've tried, but I don't have an instance of my...

    I've tried, but

    I don't have an instance of my HttpInvokerProxyFactoryBean but Proxy$ instead and I can not custing for my implementation.
    So I can not do it.

    My sources are:

    public class...
  22. Thanks again. But it is not usefull for me to...

    Thanks again.

    But it is not usefull for me to set the url in the invoke() method itself.
    I want to set the url from outside and the to invoke, but in order to invoke I need the instance of...
  23. Thank you for the answer, As I understand the...

    Thank you for the answer,

    As I understand the actual values of serverName, httpPort etc. are in remote.properties file,
    my requirement is to set the url on the fly during the runtime.

    Is it...
  24. HttpInvokerProxyFactoryBean set url dynamically

    Hello,

    I'm using HttpInvokerProxyFactoryBean to access my http remote object.
    my applicationContext.xml:
    <beans>
    <bean id="MyServiceBean"
    ...
  25. Replies
    2
    Views
    961

    Spring MVC and HttpInvokerServiceExporter

    Hello,

    I need to develop web application that can be easily invoked by remote users.
    I want to use Spring framework in order to wire my objects and to provide the http remoting.
    Please see below...
Results 1 to 25 of 27
Page 1 of 2 1 2