Search:

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

Search: Search took 0.02 seconds.

  1. Are there any Spring methods.. to find if...

    Are there any Spring methods.. to find if connection is still open.
    Developer does'nt have control over DB operations...was wondering if there is a way to detect the connection..
  2. Find when connection opened/closed?

    I am using JDBCTemplate class for DB operations,using a Websphere Datasource.
    Is there a way to find out when the connection was opened and when it was closed?
  3. Yes, the connection is getting refreshed...

    Yes, the connection is getting refreshed automatically at the end of the connection timeout period.
    EJBs are deployed on a remote server and any database calls made through the EJB, are not...
  4. This is from the ImageController class : ...

    This is from the ImageController class :



    private ImageDAOImpl imageDao;
    public void setImageDAO(ImageDAOImpl imageDao) {
    this.imageDao = imageDao;
    }
  5. Too Many open connections using Websphere DataSource

    I am using Websphere Datasource for all database connections to Oracle Database.
    Although the connection timeout value is 1800 secs, but connections remain open much beyond the time set.


    Here...
  6. Replies
    7
    Views
    1,219

    I tried invoking the EJB using traditional JNDI...

    I tried invoking the EJB using traditional JNDI lookup.

    I am able to get pass through the getImgList() method, no errors on server or local.

    However it always returns null, although the EJB...
  7. Replies
    7
    Views
    1,219

    Yes, serverside logs are produced inside the EJB....

    Yes, serverside logs are produced inside the EJB.

    Works perfect from a non spring client
  8. Replies
    7
    Views
    1,219

    The imgList() retrieves images from backened. ...

    The imgList() retrieves images from backened.

    There are no errors thrown during the execution of this method and the logs show that its returning an image in the arraylist.

    The ejb is...
  9. Replies
    7
    Views
    1,219

    This is the ejb-jar.xml that I have included in...

    This is the ejb-jar.xml that I have included in Spring Project.
    Do I need to load it in code using ClassPathXmlApplicationContext ?

    Really not sure, what else can I do to get the return...
  10. Replies
    7
    Views
    1,219

    Return Value from Remote Bean

    I am invoking a Stateless Session Remote EJB to retrieve an arrayList .

    The program is successfully invoking the EJB and the ejb logs display the result returned, but the return parameter is never...
  11. Replies
    4
    Views
    776

    Its working now... my mistake was adding the EJB...

    Its working now... my mistake was adding the EJB in the build path of the spring project...
    Some error in the local EJB was preventing the compilation of classes, although I was invoking remote...
  12. Replies
    4
    Views
    776

    Here's how I am getting the EJB in the controller...

    Here's how I am getting the EJB in the controller


    ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("/WEB-INF/imgRet-servlet.xml");
    ImgInterface imgInterfaceBean =...
  13. Replies
    4
    Views
    776

    I tried to resolve the problem by creating a new...

    I tried to resolve the problem by creating a new web project. But the moment I plug in EJBs in the servlet.xml, the controllers are not getting compiled.
    I am referring to a pre-existing Remote...
  14. Replies
    4
    Views
    776

    Unable to compile Controller

    I am a newbie to Spring...
    I have developed a simple application, with a couple of jsps and controller classes.
    One of the controller, invokes a pre-existing EJB on a remote server.
    I was able to...
  15. Replies
    0
    Views
    511

    Unable to compile Controller

    I am a newbie to Spring...
    I have developed a simple application, with a couple of jsps and controller classes.
    One of the controller, invokes a pre-existing EJB on a remote server.
    I was able to...
  16. Accessing EJB 2.0 using Spring 2.0.3

    This is a pre existing remote EJB on a different JVM, that I need to access.

    Thanks,
  17. Accessing EJB 2.0 using Spring 2.0.3

    Hi All,
    Is it generally a good idea to use Spring to access preexisting EJB.

    The EJB that I need to access in my application are not built using Spring APIs and neither can they be modified.
    I...
  18. Replies
    1
    Views
    550

    Spring invoking EJB

    I need to access a Stateless Session Bean v 2.0
  19. Replies
    1
    Views
    550

    Spring invoked EJBs

    Hi All,
    Is it generally a good idea to use spring to access preexisting EJB.

    The EJB that I need to access in my application are not built using Spring APIs and neither can they be...
  20. App not working -- Using Spring 2.0.3

    I resolved this issue by moving the jsp from WEB-INF/jsp to under the WebContent directory.
    Also I renamed GetImage.jsp to Image.jsp ad made modified the servlet.xml's entry element to <entry...
  21. App not working -- Using Spring 2.0.3 with RAD6.0

    Yes, there is a GetImage.jsp in WEB-INF/jsp .

    I used getView() in the Controller class

    ModelAndView getImageView = new ModelAndView("GetImage");
    System.out.println("View Name :...
  22. App not working -- Using Spring 2.0.3 with RAD6.0

    I modified web.xml to use *.htm as the servlet mapping
    <servlet-mapping>
    <servlet-name>imageRetreiver</servlet-name>
    <url-pattern>*.htm</url-pattern>
    </servlet-mapping>

    and...
  23. App not working -- Using Spring 2.0.3 with RAD6.0

    I followed the steps of creating a Dynamic Web Project.
    Copying spring.jar,jstl.jar in lib directory of the project
    Adding commons-logging.jar in the build path.
    Adding bean information to...
Results 1 to 23 of 23