Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!

Ravi Raghava

Greenhorn
+ Follow
since Feb 22, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ravi Raghava

I am answering my own question. Might be useful for others.

jboss-web.xml


applicationContext.xml

11 years ago
Hi,
I am migrating from WebSphere to JBoss 5.1. Can you please tell me the right configuration that I need to use in web.xml or applicationContext.xml for using JBossWorkManager. Also, please suggest if I had to make any code changes (I replaced async bean package for WebSphere with JBossWorkManager package). Furnished is the configuration that I have right now but it is throwing Exception. Your help is much appreciated.

Code in applicationContext.xml:


Code in web.xml:


009-09-18 13:25:58,382 SEVERE [org.springframework.web.context.ContextLoader] (HDScanner) Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taskExecutor' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: WorkManager not bound
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
.
.
.
Caused by: javax.naming.NameNotFoundException: WorkManager not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)


Thanks,
Ravi
12 years ago

Originally posted by Ed Burnette:
Don't give up yet! I believe all you need to do is:

1. Create a new project called, just for example, root1.a (File > New > Java > Java Project).

2. Right click the project and select New > Folder.

3. Call the new folder root1. Don't press Finish yet.

4. Select Advanced, turn on the Link to folder in the file system option, and type or browse to the location of the real root1 folder. Now press Finish.

5. Right click the project, select Properties > Java Build Path > Source. Expand the source folder and double click the Exclusion filter.

6. Select Add Multiple. Expand root1 and select all its immediate children except for a. (on Windows you do this by clicking on the first one, shift-clicking on the last one, and control-clicking on any in the middle to toggle). Then press OK a few times to get out of all the dialogs.

That's it!

The linking feature is similar to NetBeans' virtual filesystem but should be familiar to Unix users used to symbolic links. And no matter how many directories you need to exclude it's only one step to exclude them all at once.




Ed,
I was looking for a good solution for this classpath problem.. Your solution seems to be working.. Thank you..
Thanks Evelyn!! Syllabus is also kind of vast and preparation time is not enough.. This gives a breather.. Thanks a million on behalf of all the test takers..

Good Luck Friends..

Javaranch is the best resource anyone can get.. Here is the thread that can give you wealth of resources..
https://coderanch.com/forums/f-80/java-Web-Services-SCDJWS
This is the main thread.. Go through the topics you will find resources in abundance
Good Luck!!
Hi Bert,
I did take the survey when I took the SCWCD exam but didn't know that the survey time was part of the Exam time.. Lost few minutes on it. But glad to note that extra time has been added off late to ease that pressure.. Survey Time should not be a problem for SCJDWS Beta Exam :roll: .. Can you keep the survey short & sweet
I Got it yesterday!! That was in time.. Thanks ..
Good Luck folks!!
Ravi