WebSphere Application Server - JNDI Error, Calling Web Service from Portlet.

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > December 2005 > JNDI Error, Calling Web Service from Portlet.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author JNDI Error, Calling Web Service from Portlet.

2005-12-16, 7:50 am

I HAVE THIS PROBLEM.

javax.naming.NameNotFoundException: Name comp/env/service not found in context "java:". Application Server

I've created a web service project with WSAD 5.1.2 importing a wsdl file and generating proxy client classes, I tested, and runs OK.
I've done the same on portlet project, and I deployed on Portal Server 5, but doesn't works.

WebSphere Application Server 5.0 (Enterprise) can't recognize webserviceclient.xml, etc. in the web application's context. What can I do? Have I to do anything on Application Server? I've been looking different options of Application server, for example R
esources - Resource Enviroment Providers or on the other hand, Enviroment - Naming - Name Space Bindings. But I don't know what can I do.

Please help.

Regards.

KueikDev.

2005-12-16, 6:09 pm

Make sure when you set up your classpath in WSAD that you pick the jars/classes from the 5.0 runtime. 5.1 stuff won't run on 5.0.

Also, I would upgrade WSAD and your WAS server to at least fixpack 9 (5.0.9) if using web services.

-- Frank
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com