Issue Details (XML | Word | Printable)

Key: JRA-9186
Type: Third-party issue Third-party issue
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Sam Chang [Atlassian]
Reporter: Vincent Thoulé
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA

JiraSchedulerLauncher not notified with WSAD 5.1.2

Created: 30/Jan/06 04:04 AM   Updated: 13/Feb/06 11:40 PM
Component/s: Events / Listeners, Services
Affects Version/s: None
Fix Version/s: 3.5.2

Time Tracking:
Not Specified

Environment:
WSAD 5.1.2
JDBK IBM of WTE 5.1
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
Classic VM (build 1.4.1, J2RE 1.4.1 IBM Windows 32 build cn1411-20031011 (JIT enabled: jitc))

Participants: Anton Mazkovoi [Atlassian], Sam Chang [Atlassian] and Vincent Thoulé
Since last comment: 2 years, 34 weeks, 6 days ago
Resolution Date: 13/Feb/06 11:40 PM
Labels:


 Description  « Hide
It appears that, there is a bug with com.atlassian.jira.scheduler.JiraSchedulerLauncher under WSAD/WTE 5.1.

Developping a Service in order tio have a Rol lOver Backup, it appears that it never start with WSAD, but was correctly started when deployed on WebSphere 5.0.2.0 and WebSphere 6.0.2.0.

JiraSchedulerLauncher was never not notified when Context was initialized. There was no ClassLoaderError and nothing other mentionned errors.

Concerned Classes are

public class SchedulerLauncher implements ServletContextListener {
...
}
public class JiraSchedulerLauncher extends SchedulerLauncher {
...
}

In one of my plugin, I extend JiraSchedulerLauncher as follow and replace it in web.xml

public class JiraAddOnSchedulerLauncher extends JiraSchedulerLauncher implements javax.servlet.ServletContextListener {
...
}

and strangely, the Launcher is now correclty notified.

It appears that Listener Classes have to implement explicitely the ServletContextListener interface.

Thanks Big Blue !!



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Anton Mazkovoi [Atlassian] added a comment - 12/Feb/06 05:28 PM
Yes, I have seen several problem is IBM JDK where 'inheriting' from an interface was not properly done.

Lets explicitly put the 'implements' line in.

~Sam, please reference this issue in the comment in code to explain why the explicit implement is added.

Anton