Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    539

    RMI as bean injected

    Am having two applications:

    Application One:



    I get myBean bean object using and pass it other service.
    If for some reason myServiceUrl fails and restarts, the above setting is able to...
  2. I have not worked on abator, but if u see the...

    I have not worked on abator, but if u see the abator configuration:


    <settings useStatementNamespaces="true"/>

    and sqlMapConfig.xml configuration


    <sqlMap namespace="LC_USER">
  3. How to configure multiple datasources for transactionManager

    <bean id="dataSource1" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"/>
    <bean id="dataSource2" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"/>
    ...
  4. Replies
    19
    Views
    3,212

    Just now I was going through this post to know...

    Just now I was going through this post to know load sequence for the .xml files
    http://forum.springframework.org/showthread.php?t=30124&highlight=ContextLoaderListener+loads
    And I think...
  5. Replies
    19
    Views
    3,212

    I got it... The file which gets loaded up before...

    I got it...
    The file which gets loaded up before ContextLoaderListener,
    in that code something like..



    /*Getting values from some interface*/
    String dbDriverClassName =...
  6. Replies
    19
    Views
    3,212

    Hey you are right, the property values are...

    Hey you are right, the property values are hard-coded for time being.



    /*Getting values from some interface*/
    String dbDriverClassName = "oracle.jdbc.driver.OracleDriver";
    String dbUrl =...
  7. Replies
    19
    Views
    3,212

    /*Just defining a bean and no property is set*/...

    /*Just defining a bean and no property is set*/
    <bean id="myDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"/>

    public void init(ServletConfig config) {
    try {...
  8. Replies
    19
    Views
    3,212

    I have done it. Just want to confirm whether I am...

    I have done it. Just want to confirm whether I am right..
    In my init() of servlet which loads on startup.



    org.apache.commons.dbcp.BasicDataSource myDataSource...
  9. Replies
    19
    Views
    3,212

    View Post

    <bean id="myDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
    <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/>
    <property...
  10. Replies
    19
    Views
    3,212

    Lets not confuse ourself and we'll solve the...

    Lets not confuse ourself and we'll solve the initial post only.
    Plz help me in that.

    In appplicationContext.xml


    <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean"> ...
  11. Replies
    19
    Views
    3,212

    View Post

    <bean id="propManager" class="com.jpmc.itrm.clm.common.util.MyPropertiesManager "/>

    <bean id="placeholderConfigConfig"...
  12. Replies
    19
    Views
    3,212

    Note:Before going ahead for resetting values for...

    Note:Before going ahead for resetting values for datasource,I am giving a try for reloading a property for my cronExpression.
    In My Servlet which loads on startup


    MyPropertiesManager obj = new...
  13. Replies
    19
    Views
    3,212

    Creating datasource at runtime

    My requirement is during the start of the application I'll be getting DBUrl/username/password
    from some external interface.[this code we are doing in servlet which loads during startup]
    These...
  14. Thanks a lot. It worked perfectely as I wanted...

    Thanks a lot.
    It worked perfectely as I wanted it...


    <bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property...
  15. You have brought me to the place where I was: If...

    You have brought me to the place where I was:
    If you see the very first post of this thread, I have used file: only.
    but if the user wants to change the file path,
    then he has to modify...
  16. After setting ignoreUnresolvablePlaceholders=true...

    After setting ignoreUnresolvablePlaceholders=true



    <bean id="MY_TRIGGER" class="org.springframework.scheduling.quartz.CronTriggerBean">
    <property name="jobDetail" ref="MY_JOB" />
    <property...
  17. Sorry to say it again but its not working. ...

    Sorry to say it again but its not working.


    <bean id="MY_TRIGGER" class="org.springframework.scheduling.quartz.CronTriggerBean">
    <property name="jobDetail" ref="MY_JOB" />
    <property...
  18. My property file is placed outside the...

    My property file is placed outside the application,so I had given



    <bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property...
  19. SYSTEM_PROPERTIES_MODE_OVERRIDE for PropertyPlaceholderConfigurer

    Going through the forum i have done this setting


    <bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property...
  20. Reading System property for PropertyPlaceholderConfigurer

    <bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="location"><value>file:D:\MyProperties.properties</value></property>...
  21. Replies
    3
    Views
    4,320

    Solved - Reschedule A Job in Quartz + Spring

    Thanks Karldmoore ,
    I was able to shed some light as to what u have replied
    and with some line of code I am able to re-run a particular job.


    import org.quartz.Scheduler;
    import...
  22. Replies
    3
    Views
    4,320

    Reschedule A Job in Quartz + Spring

    <bean name="MY_JOB" class="org.springframework.scheduling.quartz.JobDetailBean">
    <property name="jobClass" value="com.MyJob" />
    <property name="jobDataAsMap">
    <map>
    <entry key="timeout"...
  23. Spring + Quartz + GMT timezone.

    I want to set the Cron expression in GMT timezone.

    I have gone through the link:
    http://forum.springframework.org/showthread.php?t=16381&highlight=quartz+timezone

    I have done this setting, but...
  24. Using resultClass as java.util.Hashtable in iBatis

    This is actually relating to basic Java.


    <select id="executeQuery" resultClass="java.util.Hashtable">
    SELECT
    'NAME' AS NAME,
    'AGE' AS AGE,
    'WEIGHT' AS WEIGHT
    FROM DUAL
    </select>
  25. Replies
    14
    Views
    8,181

    Quartz doesn't shutdown

    Hope the above code will do the work..


    <bean id="scheduler" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
    <property name="triggers">
    <list>
    <ref bean="TRIGGER" />...
Results 1 to 25 of 30
Page 1 of 2 1 2