Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » WTP 1.0.1, built in jboss server definition file, & jboss 4.0.2
WTP 1.0.1, built in jboss server definition file, & jboss 4.0.2 [message #163168] Tue, 07 March 2006 16:27 Go to next message
Eclipse UserFriend
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 #163422 is a reply to message #163168] Thu, 09 March 2006 10:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: david.schneider.unisys.com

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);
>
>
>
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 Go to previous message
Eclipse UserFriend
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);
>>
>>
>>
>
>
Previous Topic:Webtools src code?
Next Topic:FormEditor
Goto Forum:
  


Current Time: Fri Nov 07 07:05:15 EST 2025

Powered by FUDForum. Page generated in 0.04429 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top