DWR Error

Kalau anda menemukan error seperti yang saya temukan seperti ini:

12:38:51,328 FATAL [DefaultServerContextBuilder] Error initializing ServerContext because this is not a DWR thread and there is more than one DWR servlet in the current classloader.
12:38:51,328 FATAL [DefaultServerContextBuilder] This probably means that either DWR has not been properly initialized (in which case you should delay the current action until it has)
12:38:51,328 FATAL [DefaultServerContextBuilder] or that there is more than 1 DWR servlet is configured in this classloader, in which case you should provide a ServletContext to the get() yourself.
12:38:51,328 WARN [CallCenter] Random event failure

Itu disebabkan adanya dua configurasi untuk dwr. Waktu itu saya membuat sebuah website dengan server jBoss dan mendeploy website yg q buat plus dwr sample project. Saat itu dwr sample saya letakkan di folder deploy jboss dan website q deploy dari myeclipse. dan ternyata muncullah error sprti diatas, solusinya tinggal undeploy(hapus) project dwr sample atau pindahkan ke application server yg berbeda agar tidak terdeteksi dua dwr configurasi.

Tinggalkan Balasan

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Ubah )

Twitter picture

You are commenting using your Twitter account. Log Out / Ubah )

Facebook photo

You are commenting using your Facebook account. Log Out / Ubah )

Connecting to %s

Ikuti

Get every new post delivered to your Inbox.