| WTP 1.0.1, built in jboss server definition file, & jboss 4.0.2 [message #163168] |
Tue, 07 March 2006 16:27  |
Eclipse User |
|
|
|
Originally posted by: david.schneider.unisys.com
Has anyone tried this combination? It doesn't work for me. When I try to
run my test client with the following code, I get a classnotfoundexception
for org.jnp.interfaces.NamingContextFactory . If I then start over and use
Wolfgang's jboss serverdefinition file, all is well. Bugzilla time?
props.put(InitialContext.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
props.put(InitialContext.PROVIDER_URL, "jnp://127.0.0.1:1099");
InitialContext initialContext = new InitialContext(props);
|
|
|
|
| Re: WTP 1.0.1, built in jboss server definition file, & jboss 4.0.2 [message #165028 is a reply to message #163422] |
Mon, 27 March 2006 09:05  |
Eclipse User |
|
|
|
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
Hi Dave !
Good to know. You could work around by adding the jar file to the classpath of
the run configuration of your app.
Did you post a bugzilla report / enhancement request ?
Best regards
Wolfgang
Dave Schneider wrote:
> I found the problem by comparing the libraries brought in with the two
> server definition files. The built in jboss server definition file with
> WTP 1.0.1 is missing: jbossall-client.jar.
>
>
> "Dave Schneider" <david.schneider@unisys.com> wrote in message
> news:duktrl$tab$1@eclipse.org...
>> Has anyone tried this combination? It doesn't work for me. When I try
>> to run my test client with the following code, I get a
>> classnotfoundexception for org.jnp.interfaces.NamingContextFactory . If
>> I then start over and use Wolfgang's jboss serverdefinition file, all is
>> well. Bugzilla time?
>>
>> props.put(InitialContext.INITIAL_CONTEXT_FACTORY,
>> "org.jnp.interfaces.NamingContextFactory");
>> props.put(InitialContext.PROVIDER_URL, "jnp://127.0.0.1:1099");
>> InitialContext initialContext = new InitialContext(props);
>>
>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04429 seconds